<@U8LBKF6AJ> you need to specify a finite cyclecou...
# tornadofx
c
@ianbrandt you need to specify a finite cyclecount. your loop will never finish (it's indefinite)
i
Hi @carlw, Thanks for the reply. I stepped away from the computer, but I’ll give a finite cyclecount a try. My intent is to make a 2D game, so I was actually hoping the handler would be called indefinitely as my render loop. Perhaps there’s a better way to approach that? I’m new to TornadoFX and JavaFX.
r
If you're trying to make a game loop,
AnimationTimer
is what you want to use
☝️ 1
👍 1