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 Professional Discussion / A question about my capturing of inputs

Author
Message
Sledger721
14
Years of Service
User Offline
Joined: 21st Feb 2012
Location:
Posted: 1st Mar 2012 00:37
Hey guys, Sledger721 again. I'm working on a small roguelike, and I was making the collision when I encountered a problem with the if statements.
I have pointed out where the problem is with comments, but when I run the game (so far) it keeps on blowing me back to the top left.
Thanks guys .
- Sledger721



If you fail to plan for the epic then you plan to epic fail.
- Infinitus developers. (me ).
SoftMotion3D
AGK Developer
20
Years of Service
User Offline
Joined: 24th Aug 2005
Location: Calgary,Alberta
Posted: 1st Mar 2012 03:53 Edited at: 1st Mar 2012 03:54
first thing i notice....

This program probably works until your first collision..

bCol needs to be reset back to 0 each loop or it will always say theres a collision once the initial trigger occures.

Login to post a reply

Server time is: 2026-07-10 10:21:08
Your offset time is: 2026-07-10 10:21:08