help with rotating actors

Game Editor comments and discussion.

help with rotating actors

Postby mr-game » Mon Jul 02, 2007 3:16 pm

kk i did get the hang of this but then i forgot it could someone tlel em how to do it again but i need it in depth

i need one that will make it rotate 360 as the palyer walks around in ( a game where u are looking down)

one that will make the person turn around as the player goes either side of the enimy ( side scroller)

and maby say a looking straight down game type thing one say i click above him he will face that way the go there and then i click to the left of him he faces that way. i can make him go there its jsut the turn around part

ty anyone who helps
erm hi
mr-game
 
Posts: 28
Joined: Mon Jan 29, 2007 10:32 pm
Location: my computer
Score: 1 Give a positive score

Postby Sgt. Sparky » Mon Jul 02, 2007 4:11 pm

you cannot rotate an animation in Game, you must make the rotated frames then set the animation position with the animpos varaible. :D
example,
Code: Select all
animpos = direction(x, y, getclone("enemy.0")->x, getclone("enemy.0")->y);

:D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby mr-game » Mon Jul 02, 2007 4:40 pm

how do i edit that code to put my peps in then?
erm hi
mr-game
 
Posts: 28
Joined: Mon Jan 29, 2007 10:32 pm
Location: my computer
Score: 1 Give a positive score

Postby Oman » Mon Jul 02, 2007 8:43 pm

"Beyond a wholesome discipline, be gentle with yourself." - Max Ehrmann
User avatar
Oman
 
Posts: 268
Joined: Tue Oct 31, 2006 4:00 am
Location: Somewhere out there...
Score: 6 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron