Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 02 Sep 2012
Offline Last Active Sep 10 2012 09:37 PM

Topics I've Started

Player Acceleration

09 September 2012 - 08:48 PM

I've been trying to implement a simple acceleration for a character you can control, but for the life of me I cannot quite grasp it. :/

I know the equation, acceleration = velocity/time, gravity = -9.8m/s^2 but how can you implement time?

for vertical movement

int playerY;
int playerYvelocity= gravity * time?
int gravity = -10;

public void update(){
playerY += playerYvelocity;

Hmmmmm. Hmmmmm.Posted Image

Simple Sidescrolling Platformer Game

02 September 2012 - 06:38 PM

I wanted to have somewhere that I can log my progress and get some feedback.

Protagonist walks along a path, encounters a boss who's subsequently killed. Victory for all.

Ok, I will get on it. :D