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 / Problem with explosion in 2d game

Author
Message
UFO
20
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 23rd Nov 2005 14:50 Edited at: 25th Nov 2005 15:04
Here is the code:

The explosions don't work. Some debug stuff is printed at the top of the screen when the game is running.

media
UFO
20
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 24th Nov 2005 22:40 Edited at: 24th Nov 2005 22:41
*bump*

Please help.
JerBil
22
Years of Service
User Offline
Joined: 8th May 2004
Location: Somewhere along the Z axis...
Posted: 25th Nov 2005 02:58
You seem to have a sprite number error at line 372, and there may
be other errors.

-JerBil

Ad Astra Per Asper
UFO
20
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 25th Nov 2005 15:01 Edited at: 25th Nov 2005 15:36
Oh...It never had an error when I ran it...I wrote it in DBC.(I just ran it just in case and it ran fine)

Sorry I didn't explain it very well . The explosions don't show up at all. I marked the areas in the code that is related to the explosions.

Edit: Just marked the explosion stuff.

Edit(again): never mind. Someone from a different forum figured out the problem, and I redid the explosion code and it works now.

Login to post a reply

Server time is: 2026-07-08 01:31:00
Your offset time is: 2026-07-08 01:31:00