Page 1 of 1

Rotate on myself

PostPosted: Wed Mar 03, 2004 11:49 am
by ingsan
Maybe it's easy and that i'm going to find out the solution soon, but how can i make an actor Rotate 360 degree on itself and a forever looping of this rotation too ?
Thanx :wink:

PostPosted: Wed Mar 03, 2004 12:15 pm
by makslane
You must use an image editor application to make 360 animation.
Look the shipNormal*.bmp in the asteroids demo

PostPosted: Wed Mar 03, 2004 12:54 pm
by ingsan
So i should do the rotation with "ChangeActor".
Ok, Thanx Maxeslane.

PostPosted: Wed Mar 03, 2004 5:43 pm
by makslane
You must change the animpos var

PostPosted: Wed Mar 03, 2004 5:50 pm
by ingsan
Yeah ! Yeah ! :D That's exactly what i was thinking of ! :o

but i should say that i'm very very New to C language. i've been browsing the web to look out for some informations and exact description of animpos and i gave up :oops:

Can u help me deal this lackness of mine ? :cry:

PostPosted: Wed Mar 03, 2004 9:50 pm
by jazz_e_bob
"animpos" is not a standard C function. It belongs only to Game Editor.

You might normally add an animation that consists of a single picture. A spaceship facing east for example.

If you want that space ship to rotate you will need pictures of the ship at EVERY stage of rotation.

For example:

ship000.bmp 0 degrees rotation
ship010.bmp 10 degrees rotation
ship020.bmp 20 degrees rotation
etc
etc

Once you have all your ship bitmaps Add Animation, Select ship000.bmp and then Multiple Files.

In game mode, by default, the actor will play through the entire animation and loop. You can now stop, start, reverse or even jump to any frame within this single animation. Cool huh? 8)

GE ANIMATION FEATURES

EVENTS
Animation Finish

ACTIONS
Change Animation
Change Animation Direction

VARIABLES
animpos
animindex
nframes

PS
Creating multiple bitmaps for a rotation is a long painful process. If you have Photoshop 5 or above I can give you an action script that does it automatically...

Game Maker

PostPosted: Mon Feb 06, 2006 1:19 am
by <Endoid>
Before I started using Game-Editor I was using gamemaker. One of the functions on the sprite maker is a rotation thing. You can just do one image, then do the rotation thing and set the slides for 360.

PostPosted: Mon Feb 06, 2006 2:09 am
by cs6505
makslane, would you mind sending me that photoshop script you mentioned above? Thanks.

cs6505

PostPosted: Mon Feb 06, 2006 3:56 am
by makslane
Sorry, I don't have this script.
Try send a PM to jazz_e_bob

PostPosted: Mon Feb 06, 2006 8:15 am
by unigamer
The script can be found here

http://game-editor.com/forum/viewtopic.php?t=660

As mentioned before Game Maker can rotate sprites but I've found that the GIFs it produces don't seem to go into Game Editor. My way around this was ot save the file again in Photoshop Elements.

Game Maker specifically states that it's Graphic Editor is not designed to be something you make graphics for in other programs.

PostPosted: Mon Feb 06, 2006 9:24 pm
by Game A Gogo
makslane wrote:Try send a PM to jazz_e_bob

dos Jazz even still on these forum, it been a will i dint saw him.

PostPosted: Mon Feb 06, 2006 11:41 pm
by willg101
Hey guys! Before anything similar is said about me, I'm still here, but I am soo incredibly busy!! Sorry I didn't get my network thing up, I wil still I do my best but GE is (sadly) a low priority right now!

PostPosted: Tue Feb 07, 2006 10:14 pm
by Game A Gogo
willg101 wrote:Hey guys! Before anything similar is said about me, I'm still here, but I am soo incredibly busy!! Sorry I didn't get my network thing up, I wil still I do my best but GE is (sadly) a low priority right now!


I understand, maybe its the same with jazz, maybe hes busy whit his work and famely

PostPosted: Fri Jun 02, 2006 6:04 pm
by <Endoid>
As mentioned before Game Maker can rotate sprites but I've found that the GIFs it produces don't seem to go into Game Editor. My way around this was ot save the file again in Photoshop Elements.

I think you could also export the image frome Game Maker as a strip, but I'm still not sure if Game - Editor would read it.

PostPosted: Sun Jun 04, 2006 2:59 pm
by Game A Gogo
<Endoid> wrote:
As mentioned before Game Maker can rotate sprites but I've found that the GIFs it produces don't seem to go into Game Editor. My way around this was ot save the file again in Photoshop Elements.

I think you could also export the image frome Game Maker as a strip, but I'm still not sure if Game - Editor would read it.

But you would have to buy GM!