questions from a newbie

Non-platform specific questions.

questions from a newbie

Postby dIlLiN » Thu Apr 19, 2012 12:00 am

How do I do an animation of walking with left legs and right legs in front alternating?
How do I shoot diagonal?
How do I do animation of jumping along with gravitational effect?
dIlLiN
 
Posts: 2
Joined: Tue Apr 17, 2012 9:05 pm
Score: 0 Give a positive score

Re: questions from a newbie

Postby skydereign » Thu Apr 19, 2012 12:33 am

dIlLiN wrote:How do I do an animation of walking with left legs and right legs in front alternating?

You create an image composed of multiple equal sized frames that show the animation.

dIlLiN wrote:How do I shoot diagonal?

All you need to do is make the bullet move in the direction you want. You can do it through angle, or xvelocity/yvelocity.
bullet -> Create Actor -> Script Editor
Code: Select all
angle=45;
directional_velocity=20;

or
Code: Select all
xvelocity=10;
yvelocity=10;

dIlLiN wrote:How do I do animation of jumping along with gravitational effect?

You can do this through animation effect, or you could just implement gravity.
player -> Draw Actor -> Script Editor
Code: Select all
yvelocity++;

That way when you jump, you set yvelocity equal to -15 or similar and the player will arc as if influenced by gravity.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: questions from a newbie

Postby NightOfHorror » Thu Apr 19, 2012 12:55 am

very useful for me later on. Well, hi my friend, glad you joined. :D
viewtopic.php?f=2&t=12136
"I have not failed. I just found 10,000 ways that wont work." quoted by Thomas Edison.
Over the year, I decided my motto for me is I am knowledgeable, but not practical.
User avatar
NightOfHorror
 
Posts: 1823
Joined: Fri Aug 27, 2010 2:50 am
Location: Cedar Hill, MO, of the USA
Score: 51 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron