Re: Handling building blocks in games?

2016-09-01 Thread AudioGames . net Forum — Developers room : Dino via Audiogames-reflector
Re: Handling building blocks in games? The way I'm currently making my maps (for an entirely different type of game) is to define 'block' types in a dictionary, then reference the dictionary using an array. For example: key = {0 : 'air', 1 : 'brick', 2

Re: Handling building blocks in games?

2016-08-29 Thread AudioGames . net Forum — Developers room : craigdavid11111 via Audiogames-reflector
Re: Handling building blocks in games? CAE_Jones wrote:Dictionaries, maybe? So you'd know if an area is empty because there is no entry for that position.If the building blocks are only for fragmenting, You could also set up your maps to use solid objects, and when an object is dest

Re: Handling building blocks in games?

2016-04-06 Thread AudioGames . net Forum — Developers room : CAE_Jones via Audiogames-reflector
Re: Handling building blocks in games? Dictionaries, maybe? So you'd know if an area is empty because there is no entry for that position.If the building blocks are only for fragmenting, You could also set up your maps to use solid objects, and when an object is destroyed, use nested

Handling building blocks in games?

2016-04-06 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector
Handling building blocks in games? Hi all,I may be going at this wrong. Who knows. But in my game, I'd like to make blocks. These blocks would be made up of building material, each of them taking up just one unit. For example, a building material placed at 10, 10, 10, would only ta

Handling building blocks in games?

2016-04-06 Thread AudioGames . net Forum — Developers room : severestormsteve1 via Audiogames-reflector
Handling building blocks in games? Hi all,I may be going at this wrong. Who knows. But in my game, I'd like to make blocks. These blocks would be made up of building material, each of them taking up just one unit. For example, a building material placed at 10, 10, 10, would only ta