Rotate on myself

Game Editor comments and discussion.

Rotate on myself

Postby ingsan » Wed Mar 03, 2004 11:49 am

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:
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby makslane » Wed Mar 03, 2004 12:15 pm

You must use an image editor application to make 360 animation.
Look the shipNormal*.bmp in the asteroids demo
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby ingsan » Wed Mar 03, 2004 12:54 pm

So i should do the rotation with "ChangeActor".
Ok, Thanx Maxeslane.
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby makslane » Wed Mar 03, 2004 5:43 pm

You must change the animpos var
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby ingsan » Wed Mar 03, 2004 5:50 pm

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:
User avatar
ingsan
 
Posts: 580
Joined: Mon Nov 17, 2003 4:02 pm
Location: Maurician LADY in FRANCE
Score: 6 Give a positive score

Postby jazz_e_bob » Wed Mar 03, 2004 9:50 pm

"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...
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Game Maker

Postby <Endoid> » Mon Feb 06, 2006 1:19 am

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.
<Endoid>
 
Posts: 11
Joined: Mon Feb 06, 2006 12:45 am
Score: 0 Give a positive score

Postby cs6505 » Mon Feb 06, 2006 2:09 am

makslane, would you mind sending me that photoshop script you mentioned above? Thanks.

cs6505
cs6505
 
Posts: 7
Joined: Sun Oct 23, 2005 8:30 pm
Score: 0 Give a positive score

Postby makslane » Mon Feb 06, 2006 3:56 am

Sorry, I don't have this script.
Try send a PM to jazz_e_bob
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby unigamer » Mon Feb 06, 2006 8:15 am

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.
unigamer
 
Posts: 12
Joined: Sat Jan 28, 2006 6:59 pm
Score: 0 Give a positive score

Postby Game A Gogo » Mon Feb 06, 2006 9:24 pm

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.
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 willg101 » Mon Feb 06, 2006 11:41 pm

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!
http://www.wish-games.com
Old betas now available!!
User avatar
willg101
 
Posts: 473
Joined: Thu Dec 16, 2004 12:08 am
Location: West Michigan
Score: 5 Give a positive score

Postby Game A Gogo » Tue Feb 07, 2006 10:14 pm

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
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 <Endoid> » Fri Jun 02, 2006 6:04 pm

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.
<Endoid>
 
Posts: 11
Joined: Mon Feb 06, 2006 12:45 am
Score: 0 Give a positive score

Postby Game A Gogo » Sun Jun 04, 2006 2:59 pm

<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!
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


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest