Tag Info

New answers tagged

0

Bug #1: You are passing the x-position of the player-character (at this point at least 700) to the Enemy.move method. In that method you subtract the argument from the x-position of the enemy (player position + 200). That means on the first frame, the enemy position will be reduced to about 200, and on the next frame into negative. You likely want to ...


0

I'm using nifty 1.3.2 and I had the same issue. Whenever I use a state based implementation, I got the error described above. This seems definitely to be a bug in nifty. Their examples does not implement slicks state-based implementations... I could make it running by manipulating the source and build my own jar file of nifty-slick-renderer-1.3.2 I know ...



Top 50 recent answers are included