<- previous index next ->
You do not have to memorize your physics text book, yet you should be able to look up basic equations. If all else fails, check my WEB page here. My crude cut at "frogger" with mouse action at various speeds. Note logs coming out of waterfall. Water some day. No 'gators yet. Not choice of mouse click on where frog is to jump. Thus, can test if on log or in water, take different actions. frogger.c More physics and dynamics in various "spring" files. This was a prototype for an education module for High School physics. Note drawing of spring used prior "curves and surfaces" F = k * x for spring (note heuristics) a = F/m see "physics" in code v = v + a * dt x = x + v * dt dt is delta time, the time step for each frame Note buttons show what will happen if you click. The text changes after you click. Note heavy objects should look heavier. Stronger springs should look stronger. Give the user good visual clues in your GUI. springgl.c spring2gl.c spring3gl.c Spring.java Around the track, the physics and geometry of a race track. Note incline on curves. (See code in "build_track") Note navigation around curves. (See code in "drive")racegl.c
<- previous index next ->