Ground Tiles & Transitions
Ground Tiles & Transitions
I finally created the ground tiles for P1SIM. From top to bottom: Snow, rock, jungle ground, grass, soil, sand, shallow water, deep water.
The transitions will be created by using alpha masks. I created edgy ones (i.e. grass <> jungle ground) and smooth ones (i.e. sand <> shallow water) as well as chamfered (i.e. i have no idea for what i created those^^) and rounded ones (for every corner transition).
Do you miss any ground type?
The transitions will be created by using alpha masks. I created edgy ones (i.e. grass <> jungle ground) and smooth ones (i.e. sand <> shallow water) as well as chamfered (i.e. i have no idea for what i created those^^) and rounded ones (for every corner transition).
Do you miss any ground type?
Last edited by smallfly on 11 Aug 2012 09:10, edited 1 time in total.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
- SwissFan91
- Tycoon
- Posts: 2395
- Joined: 08 Feb 2009 18:36
- Location: Alberta, Canada
Re: Ground Tiles And Transitions
All I can think of is perhaps 'ice', which could be used for glaciers. This would add a certain amount of 'can't build there' to the game.
-
- Tycoon
- Posts: 1283
- Joined: 23 Oct 2009 19:35
- Location: Here and there, sometime or another
Re: Ground Tiles And Transitions
Different grass types too.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---
--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
Re: Ground Tiles And Transitions
Maybe make the rock more rocky and less concrete-y.
-
- Chairman
- Posts: 845
- Joined: 26 Nov 2005 16:21
- Location: Dresden (formerly Ruhr Area)
- Contact:
Re: Ground Tiles And Transitions
I think it'd be fine to have only one more, maybe dried up grass tile for drier regions. Less is more in this case (in my opinion).oberhümer wrote:Different grass types too.
Same here.Zainy521 wrote:Maybe make the rock more rocky and less concrete-y.
- SwissFan91
- Tycoon
- Posts: 2395
- Joined: 08 Feb 2009 18:36
- Location: Alberta, Canada
Re: Ground Tiles And Transitions
Also - I think the 'jungle grass' tile looks like normal grass, and the 'grass' tile looks like savannah or something.
Re: Ground Tiles And Transitions
Good points so far. I will implement your suggestions as soon as the alpha-channel based ground transition works fine.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
Re: Ground Tiles And Transitions
They look good, and very fitting with the rest of the 2D style. Have you thought about transitions over multiple tiles though? Some transitions, e.g. grass to rock, might look better if there was a sharp (but irregularly shaped) transition rather than a smooth blend.
Re: Ground Tiles And Transitions
As soon as the transition works I will post all combinations of transitions and then you can rate the look. (But yeah, you are probably right with the sharp but irregularily shaped transitions. They are indeed needed, but technically they arent very challenging When the smooth transitions work, I can easily implement the sharp ones.Zephyris wrote:They look good, and very fitting with the rest of the 2D style. Have you thought about transitions over multiple tiles though? Some transitions, e.g. grass to rock, might look better if there was a sharp (but irregularly shaped) transition rather than a smooth blend.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
Re: Ground Tiles And Transitions
That's what I like to hear; modable and/or extensible already in mindsmallfly wrote:When the smooth transitions work, I can easily implement the sharp ones.
Re: Ground Tiles And Transitions
About 90% of my coding time is spent on code optimization (simplifying). Only 10% is spent on new features. I want the game code to be as flexible as possible
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
Re: Ground Tiles And Transitions
but its not the final look- Attachments
-
- 2012-05-17T21-54-05.png (604.56 KiB) Viewed 12127 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
Re: Ground Tiles And Transitions
I implemented a realistic height map generator as well as transitions. The transitions work very different to the first transition implementation. The main benefit is a nicer look and much less memory consumption.
(By the way: I also implemented submenus and invested about 8 hours to rewrite major parts of the gui system.)
(larger version attached)
(By the way: I also implemented submenus and invested about 8 hours to rewrite major parts of the gui system.)
(larger version attached)
- Attachments
-
- 2012-05-20T23-52-07.png (728.47 KiB) Viewed 12127 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
Re: Ground Tiles And Transitions
You have done a lot of great work in the last couple of days! Looks good
Hazzard
Hazzard
Re: Ground Tiles And Transitions
I like the terrain itself, but it's not too clear to see what goes up and what goes down. I assume the desert is the lowest, but it could also be the highest...
Maybe you can do something with shading of the slopes, but either way it will be very difficult to make the slope direction clear from a top-view.
A different option could be this:
Say you have 10 height levels; generate sprites for each terrain type in a slightly darker colour for each height level, then high terrain can be lighter than low terrain. That way you have some sort of a heightmap, like the terrain view in Google Maps or indeed TTD's map window.
Maybe you can do something with shading of the slopes, but either way it will be very difficult to make the slope direction clear from a top-view.
A different option could be this:
Say you have 10 height levels; generate sprites for each terrain type in a slightly darker colour for each height level, then high terrain can be lighter than low terrain. That way you have some sort of a heightmap, like the terrain view in Google Maps or indeed TTD's map window.
Re: Ground Tiles And Transitions
In the meantime I changed the terrain generation in a way that there is only one height level marked as grass. (see screenshot) There is also one for sand height level and one soil height level. Different brightness levels for water makes less sense. So your suggestion refers to rock and snow levels now (?). Using different brightness levels sounds interesting and simple. I think I will give it a try.FooBar wrote:I like the terrain itself, but it's not too clear to see what goes up and what goes down. I assume the desert is the lowest, but it could also be the highest...
Maybe you can do something with shading of the slopes, but either way it will be very difficult to make the slope direction clear from a top-view.
A different option could be this:
Say you have 10 height levels; generate sprites for each terrain type in a slightly darker colour for each height level, then high terrain can be lighter than low terrain. That way you have some sort of a heightmap, like the terrain view in Google Maps or indeed TTD's map window.
- Attachments
-
- 2012-05-23T18-30-28.png (218.11 KiB) Viewed 12127 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
Re: Ground Tiles And Transitions
Is the top-down view game going to feature different height level? Or is this just eye candy?
If there is going to be a functional impact of slopes then it would make sense to shade the ground tile as if it were 3D (ie with directional lighting on it) rather than giving different height levels different textures or colours. For vehicle movement it is the slope rather than the height which impacts movement. It is much easier to estimate slope from the shading of a single tile (where the shading can be strong) than working it out from the textures of the neighbouring tiles where the dynamic range of shading is limited by the number of height levels.
If there is going to be a functional impact of slopes then it would make sense to shade the ground tile as if it were 3D (ie with directional lighting on it) rather than giving different height levels different textures or colours. For vehicle movement it is the slope rather than the height which impacts movement. It is much easier to estimate slope from the shading of a single tile (where the shading can be strong) than working it out from the textures of the neighbouring tiles where the dynamic range of shading is limited by the number of height levels.
Re: Ground Tiles And Transitions
Its not only eye-candy. But at the moment I'm not sure about allowing the user to build ramps and switch to higher/lower height levels. Since all grass tiles have the same height level now, I could think of restricting the user to build on grass only. Additionally I want to allow the user to build tunnels for crossing soil level. (rock and snow is always above the soil level) "In the tunnels" the user could build roads and rails (even crossings, switches, signals). But this point is not clear at the moment. I was planning an isometric game. Now I have to find solutions for a top-down game first...Zephyris wrote:Is the top-down view game going to feature different height level? Or is this just eye candy?
If there is going to be a functional impact of slopes then it would make sense to shade the ground tile as if it were 3D (ie with directional lighting on it) rather than giving different height levels different textures or colours. For vehicle movement it is the slope rather than the height which impacts movement. It is much easier to estimate slope from the shading of a single tile (where the shading can be strong) than working it out from the textures of the neighbouring tiles where the dynamic range of shading is limited by the number of height levels.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
- Loconoob
- Engineer
- Posts: 120
- Joined: 24 Nov 2011 02:04
- Location: Phoenix, AZ... Soon Honolulu, Hawaii!!!
Re: Ground Tiles And Transitions
maybe the tiles could be shaded by the level, IE four shades per level, although with this I think the soil level throws it off because of the darkness of brown
- Attachments
-
- Map.PNG (16.89 KiB) Viewed 26692 times
Re: Ground Tiles And Transitions
I will try to implement this.Loconoob wrote:maybe the tiles could be shaded by the level, IE four shades per level, although with this I think the soil level throws it off because of the darkness of brown
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
Join the discussions here on tt-forums.net!
Who is online
Users browsing this forum: No registered users and 0 guests