1,426 reputation
513
bio website http://-
location Switzerland
age 29
visits member for 2 years, 5 months
seen 2 days ago

i like turtles... and music, games, coding... and dungeons and dragons XD


Jul
19
comment Map tile terrain transitions with 3-4 different types
Like I said, I will add the output as soon as I'm finnished... Though I added a small schematic image, that explains how I tackle the multi terrain problem. I hope it makes things a bit clearer. But the output itself strongly depend on the graphic assets (and as I am no 2d artist, my demo won't look as professional, as you could achieve with this technique).
Jul
19
revised Map tile terrain transitions with 3-4 different types
added schematic gfx and explanation for the rendering
Jul
19
comment Map tile terrain transitions with 3-4 different types
The professional look depends on point of view. I find it quiet appealing, but it looks kind of retro. But the "unprofessional" look you mentioned is because of the assets and maybe the transitions, and not because of the technique that was used. If you have a very talented gfx guy (or girl), the output can be very nice.
Jul
19
comment Map tile terrain transitions with 3-4 different types
Yeah, I would like to do that, but currently I'm in the middle of the refactoring and I wiped all outputs I made before, so I would need to create the output by hand in paint.net or something similar. I think I should find the time this weekend, to complete my refactoring. Then I can add some screens (and maybe also a video) showing what exactly happens in my implementation.
Jul
19
answered Map tile terrain transitions with 3-4 different types
Jul
18
comment How do I get level design practice?
Removed the unnessesary clutter and added 2 examples for casual / puzzle games
Jul
18
revised How do I get level design practice?
Removed unnessesary part
Jul
18
awarded  Commentator
Jul
18
comment How do I get level design practice?
Ah sorry... Must be blind ;) I'll update the list (though the two from casual would fall in this category, if you rate elastomania as puzzle).
Jul
18
answered How do I get level design practice?
Jul
13
answered What would make a good cursor movement sound effect?
Jul
12
answered Collision Detection/Map Management in RPG
Jul
12
comment Shaky Camera Effect 2D
See in the link in the comment for the possible duplicate if you want a more advanced (but harder to implement) solution. Basically the principle of keeping a logical and actual viewport would be the same, but the generation of movement is not liniear but more organical, because its based on a noise. But it looks quiet advanced to implement, so if you are a beginner, I would stay with a simpler solution at first.
Jul
12
comment Managing text-maps in a 2D array on to be painted on HTML5 Canvas
the code seems to work fine... basically you could cache those values (keep track of changes in the viewport and when the viewport was changed, when rendering, recalculate them). I just keep them in my render method, as you only need those values for rendering.
Jul
11
comment Managing text-maps in a 2D array on to be painted on HTML5 Canvas
Yep, this will also work.
Jul
11
comment Java - Tile engine changing number in array not changing texture
I'm not entirely sure, but try to adapt my proposed changes to the code. In render you use map[y][x], in load you use map[x][y] etc. Get the code straight and edit your post (include the changed code). If it still won't change the tiles, maybe something is wrong with the tilesets. Try to render only the textures and see if they are loaded correctly.
Jul
11
comment Managing text-maps in a 2D array on to be painted on HTML5 Canvas
Yeah, you just have to make a js based viewport class (or you could just create 4 variables x, y, w and h). Also you have to make sure to floor (Math.floor) those calculations, that are assigned to the int values. I added a code example, how the viewport class would look like. Just make sure, that you put the declaration before the usage.
Jul
11
revised Managing text-maps in a 2D array on to be painted on HTML5 Canvas
added js version of viewport
Jul
10
awarded  Supporter
Jul
10
comment Java - Tile engine changing number in array not changing texture
I added some clarification in the answer.