UPDATE:
Fixed the World Generator so that it almost smoothly connects the chunks.
One step closer to Infinite Terrains
Example
Chunks are 32x32 and World size is 1024x1024
UPDATE:
Fixed the World Generator so that it almost smoothly connects the chunks.
One step closer to Infinite Terrains
Example
Chunks are 32x32 and World size is 1024x1024
I have only one question: how you managed to get that transition from grass to sand and sand to water? Are you using a sprite for every type of transition (i.e. every tile to every other tile and every position (N S W E)) ?
I have 4 tiles which I rotate to all angles.
Look at the top right tiles here:
https://random-rpg.googlecode.com/svn/src/res/tiles.png
Source Code:
Resources.java
I first draw grass and then the transition tile over it.
UPDATE:
Fixed the World Generator so that it almost smoothly connects the chunks.
One step closer to Infinite Terrains
Example
Chunks are 32x32 and World size is 1024x1024
I have only one question: how you managed to get that transition from grass to sand and sand to water? Are you using a sprite for every type of transition (i.e. every tile to every other tile and every position (N S W E)) ?
I have 4 tiles which I rotate to all angles.
Look at the top right tiles here:
https://random-rpg.googlecode.com/svn/src/res/tiles.png
Source Code:
Resources.java
I first draw grass and then the transition tile over it.
I think another cool idea would to have 4 textures for the grass-sand-water border thing that all tile with eachother, and then have them all randomly loaded in the games code, so it doesn’t look repetitive.
If you really want to get fancy, try Wang Tiles. But really, the tufts look fine for now, I’d work on the riverbank/coast tiles next. You can always sprinkle decorations on top of the grass later.
I think another cool idea would to have 4 textures for the grass-sand-water border thing that all tile with eachother, and then have them all randomly loaded in the games code, so it doesn’t look repetitive.
If you really want to get fancy, try Wang Tiles. But really, the tufts look fine for now, I’d work on the riverbank/coast tiles next. You can always sprinkle decorations on top of the grass later.
Regarding the graphics, I am not going to worry about them just yet.
Currently I only create/draw new tiles or edit old ones when I need to(for example when adding new features, like the transition tiles).
NEW FEATURE:
I have implemented a map(pressing ‘M’).
Example:
(Black areas are chunks not generated/discovered)
Regarding the graphics, I am not going to worry about them just yet.
Currently I only create/draw new tiles or edit old ones when I need to(for example when adding new features, like the transition tiles).
NEW FEATURE:
I have implemented a map(pressing ‘M’).
Example:
(Black areas are chunks not generated/discovered)