My rotate and anim problem

Talk about making games.

My rotate and anim problem

Postby Novice » Thu Sep 01, 2005 5:33 pm

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. :?:
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score

Postby BeyondtheTech » Thu Sep 01, 2005 5:50 pm

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.
User avatar
BeyondtheTech
 
Posts: 270
Joined: Wed Mar 30, 2005 6:34 am
Location: Edison, NJ
Score: 4 Give a positive score

Postby Novice » Thu Sep 01, 2005 6:08 pm

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
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score

Postby Game A Gogo » Thu Sep 01, 2005 8:25 pm

[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
Programming games is an art,
    Respect it.
User avatar
Game A Gogo
 
Posts: 3466
Joined: Wed Jun 29, 2005 10:49 pm
Location: French Canada *laughs*
Score: 181 Give a positive score

Postby ondy1985 » Thu Sep 01, 2005 8:36 pm

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...
Image

Motto: "I never let my schooling interfere with my education" --- Mark Twain
User avatar
ondy1985
 
Posts: 99
Joined: Thu May 05, 2005 7:43 pm
Location: Slovakia
Score: 1 Give a positive score

Postby makslane » Thu Sep 01, 2005 10:01 pm

Novice wrote:Will rotation be possible in the next versions of GE?


Sure. Will be possible in future versions.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Novice » Thu Sep 01, 2005 10:17 pm

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.
Why do i always get stuck?
User avatar
Novice
 
Posts: 399
Joined: Mon Aug 29, 2005 10:54 am
Location: Relative
Score: 5 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest