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.

DarkBASIC Discussion / tron help please

Author
Message
Wyrmslayer
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 20th Jan 2004 17:15
im having problems with this any help would be grately appriciated. its supposed to make 1 player oir the other work and the AI doesnt work right at all. please help if any ideas.

As a supervillian i swear to never gloat before killing the Hero.
VishalC
21
Years of Service
User Offline
Joined: 14th Jan 2004
Location:
Posted: 20th Jan 2004 21:26
i don't understand your code, but what i can tell you is that you have got spaghetti code. GET RID OF THOSE GOTO statements. restructure the code so that you don't need them. you shouldn't uses goto unless you really have no other option.

If it wasn't for the last minute, nothing would get done!
Wyrmslayer
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 21st Jan 2004 16:35 Edited at: 21st Jan 2004 16:39
ok now how do i do that im still new to DB. its supposed to be a tron lightcycle game and go to a playerlost segment if a dot is hit but i cant get it to work properly but the out of bounds part works fine. the second players AI doesnt work hardly at all and he checks for the dots at the wrong places and kill himself and until i can get player2's map system working i wont know how make player1's work at all. Any help on this would help greatly in this project and any suggestions on how to make it more effeciant would help also.

As a supervillian i swear to never gloat before killing the Hero.
GameKit
22
Years of Service
User Offline
Joined: 6th Mar 2003
Location: USA, Staring Blankly at a Computer
Posted: 22nd Jan 2004 04:43
Here is the code for an old "Tron LightCycles" game of mine that i programmed in 2 hours... It's for DBC... I think it might help you with the general concepts and the AI of this type of game... Well... I hope it helps and good luck with your game...

Do not thwart the way of the dragon. For thou tasteth like chicken.
Wyrmslayer
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 22nd Jan 2004 16:40
thanx im looking at it now which part exactly is the AI ?

As a supervillian i swear to never gloat before killing the Hero.

Login to post a reply

Server time is: 2025-05-22 18:42:40
Your offset time is: 2025-05-22 18:42:40