I thought I'd learned enough of the Verge code to actually get started.
I was wrong.
I created a rudementary map with a single scripted event. What I would like to know is how to display a text message and then load that map. The method eludes me.
I tried to make it simple and understandable, my pardon if i underestimate your ability.
in system.vc:
//load a font into the memory
int font=loadFont("myfont.png");
//the very fist thing verge calls after being run
void autoexec()
{
//display text onto the screen using the font declaired above
printstring(0,0,screen, font, "message");
//update the montior
showpage();
//wait for the user to hit enter before proceeding
while(!key[SCAN_ENTER])
{
//updates keys, without this verge wont recognize input
updatecontrols();
}
//switch maps
map("mymap.map");
}
Posted on 2004-05-14 00:03:59 (last edited on 2004-05-14 00:05:19)
Oh, Sully's great, don't get me wrong - but if you're wanting to put your OWN game together, rather than use the v1 emulation library... or if you're just trying to get a very very basic stub v3 stub up and running...
Seriously, look at the code from Sully from the point of view of a newbie, and they'll go running screaming. There's a lot of things going on that are difficult to grasp.
Sully is what I usually look at for inspriration when I'm trying to do something a bit more complicated than simply put an entity on screen and pop up a textbox.
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.