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.

Newcomers DBPro Corner / DBC - Rotating Sprites

Author
Message
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 15th Oct 2005 18:56 Edited at: 16th Oct 2005 16:30
Is it possible to rotate sprites in DBC?

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 16th Oct 2005 00:22
Only if you take an image, rotate it in a drawing program and resave it.
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 16th Oct 2005 01:01 Edited at: 16th Oct 2005 16:31
What do you mean drawing program?

NanoBrain
19
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Portland, OR
Posted: 16th Oct 2005 07:41 Edited at: 16th Oct 2005 07:42
UFO,

Well, there is an unspecified command in DBC, which can accually be rather useful in some situations. ROTATE SPRITE Sprite Number,Degrees. However, the degrees value can only be either 0,90,180 or 270.

It works well to create a 3D plain faced the same direction as the camera, and rotate it on that axis. This is your only other option in DBC.



+NanoBrain+
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 16th Oct 2005 08:10
Quote: "What do you mean drawing program?"


2D art programs like Paint Shop Pro and Adobe Photoshop.
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 16th Oct 2005 16:01 Edited at: 16th Oct 2005 16:32
So there isn't any way to do that besides makeing seperate images for each direction? I don't want to be involved in 3d yet because I am not good enough at it yet.

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 17th Oct 2005 00:14
Quote: "So there isn't any way to do that besides makeing seperate images for each direction? I don't want to be involved in 3d yet because I am not good enough at it yet."


Yup... or you can buy Darkbasic Pro.
UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 17th Oct 2005 00:52 Edited at: 22nd Jul 2006 18:22
Oh well.

Antidote
19
Years of Service
User Offline
Joined: 18th Mar 2005
Location: San Francisco, CA
Posted: 18th Oct 2005 19:06
Quote: "I don't want to be involved in 3d yet because I am not good enough at it yet.
"


I really sugguest moving on to 3D pretty soon. DB is not designed to do spectacular 2d games. Your better off doing some basic programming principles in 3d and using the 2d for things like menus and stat bars.

UFO
18
Years of Service
User Offline
Joined: 11th Oct 2005
Location:
Posted: 19th Oct 2005 02:06 Edited at: 22nd Jul 2006 18:22
Since I started with Qbasic, I am good at 2d games and it is alot harder to grasp 3d stuff. I will once I get good enough.

Login to post a reply

Server time is: 2024-09-24 07:30:30
Your offset time is: 2024-09-24 07:30:30