Reputation
1,466
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
6 13
Newest
 Yearling
Impact
~54k people reached

Jul
10
awarded  Supporter
Jul
10
comment Java - Tile engine changing number in array not changing texture
I added some clarification in the answer.
Jul
10
revised Java - Tile engine changing number in array not changing texture
Added some explanation for a comment
Jul
10
comment Managing text-maps in a 2D array on to be painted on HTML5 Canvas
If you mean that the position of the camera is 531 then yes. I added some comments to the code above.
Jul
10
revised Managing text-maps in a 2D array on to be painted on HTML5 Canvas
Updated answer
Jul
10
answered Big level objects collision system for 2d game
Jul
10
comment Shaky Camera Effect 2D
Just noticed that I forgot to set the actual screen position in the applyScreenShake method... I corrected the code example...
Jul
10
revised Shaky Camera Effect 2D
corrected code example
Jul
10
awarded  Teacher
Jul
10
revised Managing text-maps in a 2D array on to be painted on HTML5 Canvas
fixed typo
Jul
10
revised Managing text-maps in a 2D array on to be painted on HTML5 Canvas
fixed typo
Jul
10
comment Java - Tile engine changing number in array not changing texture
Ah, just saw something. You load the level inverted, but in the render loop you switched y and x positions in the array. You should be careful with that things. As soon as width and height of the level differ, you could run into problems. Try to apply the change in the loading i suggested above and change the rendering code from tile[y][x] to tile[x][y]...
Jul
10
awarded  Editor
Jul
10
revised Shaky Camera Effect 2D
i hate typos
Jul
10
answered Shaky Camera Effect 2D
Jul
10
answered How to create my first game?
Jul
10
answered Java - Tile engine changing number in array not changing texture
Jul
10
answered Managing text-maps in a 2D array on to be painted on HTML5 Canvas