hwoarang69 11 Newbie Poster

hi, i just started learing 2d game programming. so far i can make my character go right, left and check for collisions. But i cant find out how to make him jump. any thing will be helpfull.

i now i will have something like

while (LoopGDK())
if(dbUpKey() == 1)
{
..
}
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.