Scripting

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
Halifax

Scripting

Post by Halifax »

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?
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

:) Items, Weapons, world devices (Transportation, horses, ect, if you want to go that far), special effects.. choices are there.. :wink:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
Z!re
Veteran
Posts: 887
Joined: Wed Aug 04, 2004 11:15 am

Post by Z!re »

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.
I have left this dump.
User avatar
Halifax
Coder
Posts: 21
Joined: Thu Apr 07, 2005 4:20 pm
Location: utah

uses for scripts

Post by Halifax »

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.
And you will come to find that we are all one mind, capable of all that's imagined and all conceivable - Maynard
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Pleasae post you engine!!!

HAHAHAAHAHA!!!
I beet you all!

welcome to the forums!
Image
User avatar
Halifax
Coder
Posts: 21
Joined: Thu Apr 07, 2005 4:20 pm
Location: utah

Post by Halifax »

i have no scripting engine as yet. unless you mean my tile engine...
And you will come to find that we are all one mind, capable of all that's imagined and all conceivable - Maynard
Post Reply