New answers tagged

1 vote
Accepted

How will I make my character jump only when it is pressed once

Your code is missing the concept of velocity and inertia. This is what keeps the character rising in the air after the initial thrust of their jump, and what allows them to come to a gradual stop at ...
  • 117k
0 votes

Tiling perlin noise seamlessly, but without repeating to generate an infinite 3D world

I know this is super old, but the underlying implementations of both perlin noise and value noise are just grids that interpolate value fields between cells, so there are two possible options for ...
1 vote
Accepted

Invalid maximum heap size: -XX:MaxHeapSize=4096m

It looks like you are using a 32 bit version of Java (because if it was a 64 bit version it would explicitly say so). The problem is that the 32 bit version doesn't support heaps larger than 2GB. You ...
  • 9,334

Top 50 recent answers are included