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 .NET / Sprite RotationAngle issue

Author
Message
Argon Knight
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 9th Aug 2010 19:14
Is there a issue with DarkGDK Sprite.RotationAngle and the Move methods? I made a test app. When I run it, certain angles stop the sprite from moving, other's stop the sprite from wrapping around the screen, and other's work normally. What am I doing wrong? (Besides using the DarkGDK.Net)

Attachments

Login to view attachments
Argon Knight
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 9th Aug 2010 23:08
Same thing happens when I use CdarkGDK.

Argon Knight
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 9th Aug 2010 23:32
ok, it does the same thing if I use straight dbp code. Still, is it my code or the engine?

Argon Knight
21
Years of Service
User Offline
Joined: 29th Aug 2002
Location: Gastonia, NC, USA
Posted: 11th Aug 2010 04:29
I figured it out finally. If I set the velocity to any value between 1 and 1.4, then the move commands behaves badly. If I set the velocity to 2 or higher, then it acts "normal", or "as expected".

I posted a this behaviour in the bug report.

Same thing happens in both dbp u75 and with dgdk.net 1.2
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 12th Aug 2010 21:10
Thanks Argon for the report.

Paul.

Login to post a reply

Server time is: 2024-04-25 14:01:43
Your offset time is: 2024-04-25 14:01:43