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 / dbRotateImage doesn't work !

Author
Message
JulienCpp
16
Years of Service
User Offline
Joined: 13th May 2008
Location:
Posted: 25th Jun 2008 12:52
try it !


If there is an error in this code, tell me but on my screen there is just a rectangle which doesn't rotate.
Do you get the solution ? Please!
Mahoney
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: The Interwebs
Posted: 25th Jun 2008 18:04
What's with the ::?
JulienCpp
16
Years of Service
User Offline
Joined: 13th May 2008
Location:
Posted: 25th Jun 2008 18:07
It's just an operator, access to the global namespace
dark coder
21
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Japan
Posted: 25th Jun 2008 18:11 Edited at: 25th Jun 2008 18:11
Maybe he hasn't discovered Ctrl + space yet? Also, I didn't run the code because dbGetImage() kept breaking for me and I'm too lazy to find an image. However I can guess that it doesn't work because sprites aren't images(in the GDK sense), rotating an image, pasting it and what not will in no way affect the sprite, short of deleting it. If you want your sprite to rotate, then rotate that instead, if not, use dbPasteImage().

JulienCpp
16
Years of Service
User Offline
Joined: 13th May 2008
Location:
Posted: 25th Jun 2008 18:42
no i didn't know Ctrl+Space .
More simply,
even if i use dbPasteImage, it doesn't work
JulienCpp
16
Years of Service
User Offline
Joined: 13th May 2008
Location:
Posted: 26th Jun 2008 16:12
In fact, There had a simple solution : use dbOffsetSprite and then dbRotateSprite
but i continue to say that dbRotateImage doesn't work...

Login to post a reply

Server time is: 2024-09-30 01:39:39
Your offset time is: 2024-09-30 01:39:39