Tag Info

New answers tagged

0

For any basicgame or gamestate that you write in Slick2D, you have to override the render method and so you always have control of what renders and when. You can build in logic to only render if something has been changed by a user at that point. Alternatively, the call to render() in each loop is done from within the AppGameContainer (which extends ...


1

The Mario64 effect is done by moving vertices. You need a grid for fluid quantity (a water level height value) represented by the black dots height. And a grid of direction & speed of transfer between the former grid's cells which simulates water's inertia (the red arrows). Every simulation tick each height cell tries to return to 0 by pushing out or ...



Top 50 recent answers are included