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.

2D All the way! / 2d Sprite Jumping

Author
Message
leanep
22
Years of Service
User Offline
Joined: 17th Apr 2004
Location:
Posted: 29th Apr 2004 04:35
Hi guys, im using DBClassic and im writing a small 2d sidescroller ninja game, and ive got it so he moves back and forth, from left to right, (i intentionally left out moving up and down as its not a top down scroller), and ive got the hit detection in, but im having trouble on the jump command, i tried to write it in as a function but DBC was bullying me and telling me "Runtime error at line 24: Program ran into a function declaration" maybe some of u smarties could help me thanks in advance |code attached|

yay
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 29th Apr 2004 11:21
Well you have the function in the middle of your program. You are supposed to put it at the end of your program and call it with Jump. Jump is now like a DB command.

Login to post a reply

Server time is: 2026-06-09 13:56:02
Your offset time is: 2026-06-09 13:56:02