Thanks for all your help, i tried using intergers as suggested and that sorted that out ,i'll get ther eeventually, i've got another problem now and was wondering if you could help (pwetty please)
my code for the file that gets the error is as follows:
void autoexec()
{
Int SetAppName;
SetAppName =("El Timo rules!");
Int Map;
Map=("tutorial.map");
}
When i run verge i get this error message:
tutorial vc: SetAppName is already defined. Please choose a unique name
If i change it to something like this:
void autoexec()
{
Int el_timo;
el_timo=("El Timo rules!");
Int Map;
Map=("tutorial.map");
}
pthaloearth: I agree with everything but the moving map specific functions to the system.vc. MapInit() should be under tutorial.vc, since it's different for every map. Anything that is different for every map should be in the map's vc. Everything that's used in more than one place identically should be in the system vc files.
Why, you may ask? Well, what happens if you have another map and you want the player to start somewhere else other than (5, 5)? What if the one map has a special cutscene? You can't call MapInit() now, and you can't declare a MapInit() in your map since it's already in the system vc. I think this is a bad move. Though, if MapInit() was a function that did commonly required hooks and initilializations not specific to a map, and was called by a map's Start() in order to accomodate extra introduction stuff, then go ahead.
eltimo: If you read this and had your brain implode a bit, just keep your MapInit() thing in the tutorial.vc file. It's a good thing to do.
I'm aware of that I just figured for simplicities sake that I'd say what I did since it seems there having problems with what I though was an extreemly simply tutorial. Of course I've done programming for awhile so that helped me.
It worked!!!!!!!!!!!!!!!!!!
I ran my first ever verge game wooooooooooooo!!!!!!!!!!!!!!!!!!!!!!!!!!
yyeeeeeeehhhh!!!!!!!!!!!!
soz that sounds very noobish but to me thats very good.
Thanks for all your help you guys rule
Posted on 2005-12-07 14:33:13 (last edited on 2005-12-07 14:58:30)
Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.