Scrolling Game Development Kit Forum
SGDK Version 1 => Projects => Topic started by: SmartBoy16 on 2007-08-27, 08:56:07 AM
-
here is a project i made in my spare time. i'm still having problems steering and shooting
anybody know what's wrong ???
-
I don't see a problem! :D
-
if you go too fast to the right or the left it won't move. plus the bullets only shoot where the current mouse position is
-
Why not make it aim at the current mouse position instead of just turning when the mouse moves? What's the point of using the mouse if you're just going to use it like a joystick?
-
for a game i will make using this method, it will be alot easier to steer the sprite rather than move the sprite to the location. plus i've many other games that use this method (pressing W to move and left and right to steer) and it seems a lot easier to use.
-
That doesn't seem like a mouse-oriented task. I'd suggest using a keyboard or game controller for that kind of thing instead. The problem is the mouse coordinates you're getting are limited to a 640x480 pixel area, and once the mouse reaches the edge of the screen, it can't move any more. Other controls don't have this problem.