Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / [LOCKED] HUGE PROBLEM

Author
Message
Mitchell
20
Years of Service
User Offline
Joined: 1st Mar 2004
Location: The Netherlands
Posted: 6th Aug 2004 02:35
hi. I've just finished my first 3d game, and everything is in seperate .dba files.. I made the levels in 1 file like this:

do
if spacekey()=1 then level=1
loop

if level=1
level code
if endoflevel then level=2:exit
endif

if level=2

etc...

This works for when I want to go to a higher level, but going to a lower level, it simply ends the program. like,

if level=1 then level=2 : exit `works
if level=2 then level=1 : exit `doesn't work

what am I doing wrong?
thanks in advance, mitch

PS: This game is for the Acoders compo, and that deadline is 2 days from now. I need to know fast so I posted here, since I think this is the most frequently viewed forum. I know it's the wrong place, but I really need to get my game together, and send it to the compo thing. Sorry.

"A delayed game is eventually good, a bad game is bad forever"
- Shigeru Miyamoto
Mr Underhill
21
Years of Service
User Offline
Joined: 23rd Apr 2003
Location: The Forgotten Worlds...
Posted: 6th Aug 2004 04:56
uhh...wrong forum. Try DB Pro/Classic Discussion.

"You don't need a reason to help people."-Zidane (FFIX)
Jade Phoenix Software is on the way! Get ready for the rebirth of gaming!
Mitchell
20
Years of Service
User Offline
Joined: 1st Mar 2004
Location: The Netherlands
Posted: 6th Aug 2004 05:30
please read.. please..

"A delayed game is eventually good, a bad game is bad forever"
- Shigeru Miyamoto
IanM
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 6th Aug 2004 06:32
As was already said - wrong forum.

*** Coming soon - Network Plug-in - Check my site for info ***
For free Plug-ins, source and the Interface library for Visual C++ 6, .NET and now for Dev-C++ http://www.matrix1.demon.co.uk

Login to post a reply

Server time is: 2024-05-20 11:23:16
Your offset time is: 2024-05-20 11:23:16