Smooth fast move and repaint()

后端 未结 2 786
天涯浪人
天涯浪人 2021-01-15 10:52

I\'m writing easy space invaders and have a problem with moving ship. Basically I change position of ship and then repaint(). If the change is big it is more li

2条回答
  •  无人及你
    2021-01-15 11:45

    The Space Invaders - 2D Rendering in Java tutorial may be helpful as an example using an explicit BufferStrategy.

提交回复
热议问题