N
N
Nikita K2019-12-15 15:47:48
Java
Nikita K, 2019-12-15 15:47:48

In a java swing game, the animation itself does not work. why?

I am writing a simple swing game, I am learning it, so to speak, the essence of the matter is:
my animation only works if I somehow expand or vice versa reduce the window frame. otherwise nothing happens, what to do?
https://github.com/DeadSidert/myGame

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita K, 2019-12-15
@yung_filosof

I forgot to call repaint() in move();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question