Scrolling Game Development Kit Forum

SGDK Version 1 => Projects => Topic started by: SmartBoy16 on 2007-08-27, 08:56:07 AM

Title: randomly named project that uses a mouse
Post 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 ???
Title: Re: randomly named project that uses a mouse
Post by: tprime on 2007-08-27, 09:31:35 PM
I don't see a problem! :D
Title: Re: randomly named project that uses a mouse
Post by: SmartBoy16 on 2007-08-28, 08:59:02 PM
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
Title: Re: randomly named project that uses a mouse
Post by: bluemonkmn on 2007-09-02, 10:39:16 AM
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?
Title: Re: randomly named project that uses a mouse
Post by: SmartBoy16 on 2007-09-03, 01:51:07 PM
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.
Title: Re: randomly named project that uses a mouse
Post by: bluemonkmn on 2007-09-03, 04:19:53 PM
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.