TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Andariel Sharp
NA
19
4.5k
XNA how can i insert the jumping in my character?
Jul 31 2015 11:44 PM
ks = Keyboard.GetState();
if (ks.IsKeyDown(Keys.Right) && position.X <= 680)
{
position.X += 2f;
currentAnim = forwardWalk;
Animate(gameTime);
}
else if (ks.IsKeyDown(Keys.Left) && position.X >= 0)
{
position.X -= 2f;
currentAnim = backWalk;
Animate(gameTime);
}
How can i make Up key for jump?
Reply
Answers (
0
)
save the smilies
C# Regular Expression to validate phone number