Demo - tile, cell based world (with collision)

Show off your games, demos and other (playable) creations.
User avatar
Ensayia
Party member
Posts: 399
Joined: Sat Jun 12, 2010 7:57 pm

Re: Demo - tile, cell based world (with collision)

Post by Ensayia »

A minimap wouldn't be all that hard to pull off with a framebuffer (canvas?). Get to it Taehl! :crazy:
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Demo - tile, cell based world (with collision)

Post by Taehl »

How would a minimap work in a world that doesn't obey the laws of space? The only reason it works on-screen is because you can only see a small area of it. But if I made the minimap that size, then what's the point of having a map which doesn't show beyond your screen?
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
User avatar
clickrush
Citizen
Posts: 83
Joined: Tue Dec 13, 2011 12:50 am

Re: Demo - tile, cell based world (with collision)

Post by clickrush »

Taehl wrote:How would a minimap work in a world that doesn't obey the laws of space?(...)
Well I actually didn't even think of that. Well It would be an even more interesting thing then. :D
The following question would be: What could you and would you show on the minimap that isn't on the screen?
Sry about my english.
User avatar
Taehl
Dreaming in associative arrays
Posts: 1025
Joined: Mon Jan 11, 2010 5:07 am
Location: CA, USA
Contact:

Re: Demo - tile, cell based world (with collision)

Post by Taehl »

I couldn't show anything reliably since each time you change cells, there's a chance that any/all neighboring cells could change into difference cells. And extending past the first nearest neighboring cell leads possibly to crazy problems with different cells being in the same "place".
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest