Window.update
. Maybe it was possible with older versions, but drawing code needs to be in Window.draw
@bullets.each do |bullet|
bullet.update
bullet.draw
end
def draw
in GameWindow
def update
accelerate_forwards
move
end
Bullet.update
look. They are only accelerating in your code
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill