Simple physics-based movement

后端 未结 6 1940
眼角桃花
眼角桃花 2020-12-12 13:20

I\'m working on a 2D game where I\'m trying to accelerate an object to a top speed using some basic physics code.

Here\'s the pseudocode for it:


con         


        
6条回答
  •  误落风尘
    2020-12-12 13:38

    If you want to see what can be done with very simple physics models using very simple maths, take a look at some of the Scratch projects at http://scratch.mit.edu/ - you may get some useful ideas & you'll certainly have fun.

提交回复
热议问题