Scripting
Scripting
I have a tile based rpg that i made from scratch. it doesnt use any asm or anything but the tile map is pretty fast. Now, im starting on my scripting engine. however, i can only think of one use for it! NPC dialouge is the only real use i can see. what other reasons would there be?
-
- Veteran
- Posts: 1055
- Joined: Sun Jan 02, 2005 2:11 pm
- Location: At my computer
- Contact:
It decreases the size of your exe, and makes the game more easily managed.
Say you want to add a weapon, all you do it edit the apropriate script to include the new weapon.
Instead of having to recode the engine to handle another weapon.
It takes a while longer to code than a static engine, but in the end it's worth it as you can add stuff easily.
Say you want to add a weapon, all you do it edit the apropriate script to include the new weapon.
Instead of having to recode the engine to handle another weapon.
It takes a while longer to code than a static engine, but in the end it's worth it as you can add stuff easily.
I have left this dump.
uses for scripts
okay. so id make a script called something like Items.txt.
then, at each entry id specify the type, "Weapon", "Item", "Enemy"
that would tell the scripter how to enter the data.
i can see how that would shrink the size of the file. it would also make it easier to change the amount or type of variables associated with items, etc.
well, as soon as i make some items, weapons, or enemies ill do that.
thanks.
then, at each entry id specify the type, "Weapon", "Item", "Enemy"
that would tell the scripter how to enter the data.
i can see how that would shrink the size of the file. it would also make it easier to change the amount or type of variables associated with items, etc.
well, as soon as i make some items, weapons, or enemies ill do that.
thanks.
And you will come to find that we are all one mind, capable of all that's imagined and all conceivable - Maynard