Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Events vs. Script

Which do you think is best?

  • Scripts (More freedom & possibilities.)

    Votes: 22 32.8%
  • Events (Options make it easier.)

    Votes: 16 23.9%
  • I can't choose. I use both.

    Votes: 29 43.3%

  • Total voters
    67
Seriously, this topic is not only pointless but each post manages to pull some sort of redundancy from a previous post in the thread.

Can we let it die? Its been said before and it'll be said again. Some people use events, some people use scripts, there are advantages and disadvantages to each, and that's just about that. End of story!
 
Wyatt":2aon1wl6 said:
The way I see it, there are hardly any systems that can be done with just one or the other.

Most event-based battle systems and menu systems in XP tend to have some sort of call script command, whether it is just a small part or not.

And then a lot of scripts have events in them. For example, Near's ABS uses both scripting and events- but effectively.

It is near impossible to make a game with just one or the other, somewhere you will have a script or an event. (Think about it, even if you have no custom scripts, you will still have all the default ones).

Untrue. ALL systems CAN be done with just scripts. The only reason systems like Near's ABS use events as well are to make them easier for the script-illiterate to use and edit.

Prexus":2aon1wl6 said:
Seriously, this topic is not only pointless but each post manages to pull some sort of redundancy from a previous post in the thread.

Can we let it die? Its been said before and it'll be said again. Some people use events, some people use scripts, there are advantages and disadvantages to each, and that's just about that. End of story!

Yeah seriously.
 

Ter13

Member

I use the method of choosing which features I need to recycle, versus the features I want to just call all over the place. For a CMS, I use scripts, for battle systems, I use scripts, for story elements, I use events, and for complex recyclable behaviour, I use scripts.

For instance, in my recent project, set in the early 20th century, I have a dark, occult-based plot, and there is a demonic heirloom posessed by the damned (The protagonists... If you can call them that... It's really all a matter of opinion and motivation, if you look at it), a ring, contains the power to corrupt the souls of it's posessor in exchange for unholy power... Essentially, I have something I could use either an event or a script for.

It's a simple battle animation, but a bit more complex. I call a battle animation from a script directly. The use of the power makes a white "pulse" around the user, which fades in the place the ring was used after about 1 second. It's something like a puff of smoke, really, but with the image of the user. It scales to 125% over time, and then fades.

The ring can increase speed, strength, cause objects to explode, fly, or even just take control of an NPC or player. Basically, instead of calling a common event, and making a bunch of pulses while it is in use, I used a script. It was easier, and left room for more common events, as the events are called every tick, while my function sleeps until the next command needs to be executed.

I just found it easier that way.
 
The thing is, the two aren't really in direct competition. They do different things. Scripting the entire game would be very impractical, and so would making a battle system with event commands. I use both, and I don't say either is any better than the other. However, once the scripts are in place, events are the building blocks of the RPG.
 
~Voiceless said:
However, once the scripts are in place, events are the building blocks of the RPG.
No, everything is a script. Without scripts, there wouldn't be anything. Scripts are the building blocks.
 
I don't get why you are still on this.. What you can do With events, you can do better/faster with scripts.So if you want by power/speed, scripts would win by far.
This is pointless.
 
They must co-exist at any given rate, but truth is THERE IS NO DIFFERENCE all events are simple RGSS commands ran through the interpreter. Punkid stop being a dumbass with this damn Event vs RGSS bull. It's OLD.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top