Page 1 of 1

My rotate and anim problem

PostPosted: Thu Sep 01, 2005 5:33 pm
by Novice
Hi, im wondering if it is possible to rotate characters without the 360 degree animation. It really doubles my work, im trying to make a simple hack&slash (view is from above) and if i can't rotate my actor il have to make multiple animations (like stand rotate and move&rotate) not to mention moving and swinging a sword. I tried searching the forum and the docs but i have found nothing that indicates that this is possible. I would be very gratefoul if someone could shed some light on this problem or point me to the right tutorials or tell me of a better solution. Any help is greatly apriciated. Thanks in advance. :?:

PostPosted: Thu Sep 01, 2005 5:50 pm
by BeyondtheTech
Rotation has to be done outside of Game Editor as individual image files.

My game (see my signature), I have a "Battlestar" actor with one animation that consists of 36 images of a ship rotated every 10 degrees. I use the Create Actor event to stop the automatic animation, then in the Draw Actor event, I select the animation frame by the number of degrees divided by 10.

Does that make sense to you?

Depending if you're making the game more arcade-like, you could only have to worry about the 8 different directions (N, NE, E, SE, S, SW, W, NW) instead of 360 or 36.

PostPosted: Thu Sep 01, 2005 6:08 pm
by Novice
Thanks, it makes sense (i am i fallout fan so i know what you are saying) but i was hoping that i could do a little smother and easier, i tought of that but i just wanted to know. Thanks for the help and the quick answer. (This forum is realy usefull)

Question for Makslane: Will rotation be possible in the next versions of GE?

P.S. Il give a link to my first game "Carrot Pacifier" (Reg. Tra.) :wink: as soon as i finish it and hook it on the net. Hope you like it.

P.S.S. BeyondtheTech ur game is cool

PostPosted: Thu Sep 01, 2005 8:25 pm
by Game A Gogo
[quote=Novice]Question for Makslane: Will rotation be possible in the next versions of GE?[/quote]

I dont tink so, cause its take a lot of CPU power also 200Khz and PPC It will take a LOT cpu.

Maybe it will happen, Im not the one ho Created GE

PostPosted: Thu Sep 01, 2005 8:36 pm
by ondy1985
Software rotating (also scaling) is very CPU consuming. I don't know which API Game-Editor uses. I would guess OpenGL in Windows and Linux, because it's cross-platform, but PocketPC uses GameAPI (?) which is not hardware accelerated (afaik ;) ). Maybe I'm totally wrong. I don't know much about PocketPCs...

PostPosted: Thu Sep 01, 2005 10:01 pm
by makslane
Novice wrote:Will rotation be possible in the next versions of GE?


Sure. Will be possible in future versions.

PostPosted: Thu Sep 01, 2005 10:17 pm
by Novice
Thats what i wanted to know thanks. Im not interested in poket pc, so hardware is not an issue with me. :twisted: So i need scaling and rotating, because it gives much more freedom when i work.