Home
last modified time | relevance | path

Searched refs:ballspeed (Results 1 – 5 of 5) sorted by relevance

/dports/graphics/glfw2/glfw-2.7.9/examples/
H A Dpong3d.c386 double ballspeed; in BallControl() local
389 ballspeed = BALL_SPEED * (1.0 + 0.02*(thistime-starttime)); in BallControl()
390 ball.xspeed = ball.xspeed > 0 ? ballspeed : -ballspeed; in BallControl()
391 ball.yspeed = ball.yspeed > 0 ? ballspeed : -ballspeed; in BallControl()
/dports/graphics/glfw2/glfw-2.7.9/support/d/examples/
H A Dpong3d.d381 double ballspeed; in BallControl() local
384 ballspeed = BALL_SPEED * (1.0 + 0.02*(thistime-starttime)); in BallControl()
385 ball.xspeed = ball.xspeed > 0 ? ballspeed : -ballspeed; in BallControl()
386 ball.yspeed = ball.yspeed > 0 ? ballspeed : -ballspeed; in BallControl()
/dports/games/golly/golly-3.3-src/Scripts/Lua/
H A Dbreakout.lua1810 local ballspeed = speeddef
1857 local stepx = ((balldx * ballspeed * ball.size) / speeddiv) / ball.numsteps
1858 local stepy = ((balldy * ballspeed * ball.size) / speeddiv) / ball.numsteps
1877 ballspeed = ballspeed + speedinc / 2
1878 if ballspeed > maxspeed then
1879 ballspeed = maxspeed
1894 ballspeed = speeddef
1979 ballspeed = ballspeed + speedinc
1980 if ballspeed > maxspeed then
1981 ballspeed = maxspeed
/dports/games/tong/tong/
H A Doption.cpp1333 float ballspeed; in GetSpeedBall() local
1336 ballspeed=48; in GetSpeedBall()
1339 ballspeed=64; in GetSpeedBall()
1343 ballspeed=96; in GetSpeedBall()
1346 return ballspeed;; in GetSpeedBall()
/dports/games/sdl-ball/SDL-Ball_src/
H A Dmain.cpp167 GLfloat ballspeed[3]; member
2130 b[i].setspeed(difficulty.ballspeed[player.difficulty]); in powerup()
2139 b[i].setspeed(difficulty.ballspeed[player.difficulty]); in powerup()
3414 …speed[player.difficulty] - difficulty.ballspeed[player.difficulty]) * (var.averageBallSpeed - diff… in draw()
3739 static_difficulty.ballspeed[EASY] = 0.7f; in main()
3740 static_difficulty.ballspeed[NORMAL] = 1.3f; in main()
3741 static_difficulty.ballspeed[HARD] = 1.6f; in main()
4290 …bMan.spawn(p,1,paddle.width,difficulty.ballspeed[player.difficulty],1.57100000f); //Not exactly 90… in main()