Is using scripts easy for beginner?

Status
Not open for further replies.

Borkjh

Active member
I'm trying to making openbor game. But if I making games like newest games, maybe I have to learn how to use scripts. Can I learn using scripts?
 
I'm trying to making openbor game. But if I making games like newest games, maybe I have to learn how to use scripts. Can I learn using scripts?

It's like anything else. You get out of it what you put into it, simple as that. Personalty, I find script easier than the native functions in a lot of ways, because the native functions are rote memorization. Scripts are based on C, meaning they have rules and syntax developed over decades by people much smarter than any of us. This in turn make scripts somewhat self documenting.

What often goes forgotten is that code is not for computers. Code is for HUMANS. It's the only way to tell a machine what you want with any sort of coherence and human readable consistency.

DC
 
I'm trying to making openbor game. But if I making games like newest games, maybe I have to learn how to use scripts. Can I learn using scripts?
You don’t have learn that, I didn’t…. I started using A.I. to make my scripts…. Sometimes you have to go in there and correct some things, but for the most part, A.I. gets it right. Some of the scripting is too hard to read, and most guys don’t have the time to walk you through it. But if you do want to understand it, I would start looking at scripts from other guy’s mods. Just by looking at those scripts, you can understand where things are supposed to go.
 
It's like anything else. You get out of it what you put into it, simple as that. Personalty, I find script easier than the native functions in a lot of ways, because the native functions are rote memorization. Scripts are based on C, meaning they have rules and syntax developed over decades by people much smarter than any of us. This in turn make scripts somewhat self documenting.

What often goes forgotten is that code is not for computers. Code is for HUMANS. It's the only way to tell a machine what you want with any sort of coherence and human readable consistency.

DC
Hey there!

On a separate note (as a beginner). I'm tweaking some behavior on the Double Dragon Reloaded alternate fork I am working on.

I'm a fan of the OG Double Dragon, which is pretty smart IMO for its age. Often the enemy will duck when attacked, or fall forward so that you can't simply push them off a cliff (it seems as the enemy nears death only THEN can you push them off with a well time kick or punch, etc.)

So, what I am asking is: are they any pointers or even scripts out there that I could use to smarten up the enemies on the DDra game? I've boosted their aggression by a lot, and that seems to help a bit. They are more vicious and intense, like DD1arcade and DD2arcade. But it feels like there is more I can do (i.e.I've tweaked the speed of some of these guys a bit here and there, and that also helped).

Would like to make them more defensive (i.e. that behavior from the arcade where they are prone to duck more when attacked with a cheap blow, etc. etc)

Thanks for your time and I appreciate any thoughts you have!
 
are they any pointers or even scripts out there that I could use to smarten up the enemies on the DDra game?

There might be some scripts for your purpose but you should be more specific: what are the conditions or situations in which enemies should react better? and what should they do?

For instance, you could use ondoattackscript to make enemy dodge running attacks. A boss from Sailor Moon demo has such script.
That script could be modified to make enemies duck when player performs jumpattack.
 
  • Love
Reactions: L K
There might be some scripts for your purpose but you should be more specific: what are the conditions or situations in which enemies should react better? and what should they do?

For instance, you could use ondoattackscript to make enemy dodge running attacks. A boss from Sailor Moon demo has such script.
That script could be modified to make enemies duck when player performs jumpattack.
That would be great!

I think it would be great to have the enemies dodge “running attacks”, and it would be even better for them to also dodge “jump attacks” too (in Double Dragon 1978 the enemies would dodge both ruthlessly).

Um, could you help me? haha
 
You don’t have learn that, I didn’t…. I started using A.I. to make my scripts….
I don't intend to offend you or diminish your work, but from my experience, I'd say that's terrible advice.

I'm not against AI assistance – I use it to help me with my real-life work, like writing, art, and programming. But the word is: assistance.

Vibe coding without understanding what you're doing is a recipe for disaster. Recently, we had an episode here in Brazil where someone claimed the same thing, that they didn't need to learn about programming and that they were making a SaaS using AI and that "programmers were afraid of losing their jobs."

When he put the system online, in literally 2 minutes all the data of all his clients had already been exposed, and due to the data protection law here, he could have to pay a huge fine.

We had an example of AI usage here on the forum – again, without diminishing the person's work – but in about 5 minutes I found a bunch of errors.

I haven't tested your project yet, but when I read your comment, I understood why your project is 2GB in size, when much larger projects don't even reach half that size, or why you're having problems with errors that appear when you create a .pak file.

My advice is: Yes, you MUST learn about scripting.

@DCurrent can add more details here about his experience – he has a lot of knowledge in both areas (coding and AI). I remember him commenting on the errors the AI made and how it wanted to explain how the engine worked... precisely to the person who leads the team that maintains it :)
 
Not to offend.... But I don't care.... It is a tool to be used and I use it. Not only that, you learn it as it explains it. I haven't had any issues getting it to work for things the engine doesn't do.
 
Not to offend.... But I don't care.... It is a tool to be used and I use it. Not only that, you learn it as it explains it. I haven't had any issues getting it to work for things the engine doesn't do.

Not to offend YOU, but I don't care if you don't care. Bad advice is bad advice, and it makes a problem for the rest of us. Stop giving it.

DC
 
It's not bad advice it works!

Pumping lithium grease into your car's oil supply works too. It will run beautifully, smoother than anything you ever imagined - for about 500 kilometers. Then it will never run again. That's pretty much vibe coding in a nutshell.

AI is a tool. You are using it as a crutch. You WILL hit a wall.

This thread is already getting hostile, and WAY derailed, so I'm calling it and locking.

DC
 
Status
Not open for further replies.
Back
Top Bottom