Getting Started
Displaying 1-8 of 8 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
will_the_great

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.

Help will, once again, be rewarded with cookies.

Posted on 2004-05-13 22:34:21

RageCage

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)

ThinIce

Quote:Originally posted by will the
Help will, once again, be rewarded with cookies.


You tell lies! You retain no cookies!

Posted on 2004-05-14 00:49:20

Overkill


I'll close your <b> and <i> tag for you. Also:

Quote:Originally posted by ThinIce

Quote:Originally posted by will the
Help will, once again, be rewarded with cookies.


You tell lies! You retain no cookies!


Maybe, some sort of digitized evil form of cookie that makes "[edit as admin]" appear under my reply menu...?

Posted on 2004-05-14 02:59:13 (last edited on 2004-05-14 03:00:48)

rpgking

Quote:Originally posted by ThinIce

Quote:Originally posted by will the
Help will, once again, be rewarded with cookies.


You tell lies! You retain no cookies!


Check your Temporary Internet Files. Maybe he left a cookie there? ^_^

Posted on 2004-05-14 20:04:10 (last edited on 2004-05-14 20:04:51)

resident

Actually, might I suggest you pull apart Crefts HOV entry? I found it to be most instructive in remembering how to get started.

Posted on 2004-05-15 10:43:09

mcgrue

I usually reference Sully, personally.

Posted on 2004-05-15 16:04:25

resident

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.

Posted on 2004-05-15 16:35:51


Displaying 1-8 of 8 total.
1
 
Newest messages

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.