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.

Dark GDK / need help

Author
Message
nadir
16
Years of Service
User Offline
Joined: 18th May 2008
Location:
Posted: 25th May 2008 22:43
hello.
i am really new here and i get stuck with my 2D game project
i want the sprite to move with the mouse but ...
i was looking in the tutorial and dont found something
here is the code :
Lilith
16
Years of Service
User Offline
Joined: 12th Feb 2008
Location: Dallas, TX
Posted: 26th May 2008 02:57


Try dropping the function calls for the mouse coordinates and used them to replace MouseX and MouseY in your call dbSprite



Lilith, Night Butterfly
I'm not a programmer but I play one in the office
nadir
16
Years of Service
User Offline
Joined: 18th May 2008
Location:
Posted: 26th May 2008 16:54
thank you very much but in the mean time i decided that a sprite-control by arrow-keys would be better for this kind of 2D - Game... it should be like breakout

and the key controls dont make me problems
i think the game will be finished in a month or max. 2 month because it is my first game-project

Login to post a reply

Server time is: 2024-11-20 11:37:07
Your offset time is: 2024-11-20 11:37:07