match 3000

Published July 01, 2007
Advertisement
Well, I added the match 3 mode and its working pretty good. I do a flood fill remove the pipes if more then 2 are connected and do a pretty scaled explosion sprite over each one. Turned out that was the easy part.

There was the problem of moving the pipes down to fill the empty voids you created when removing the connected pipes. The problem is my entire map is draw based on an array of tiles in layers. I came up with an evil genius way to get around that. I made an array of floats that will be used to offset the pipes from their "real" location, and once they move past one tile in pixels I teleport their tile location and set the offset back to 0. There is some overdraw as the tiles move, but they move so quickly you can barley notice it.


I made my first pipe mania video preview if anyone wants to look at a REAL puzzle game :D. The career mode is the match 3 prototype thats going to be used for the real gameplay. Of course I am only doing a flood fill only when I rotate a pipe, so thats why you can see alot of connected pipes that are magically staying on the map.
">
Previous Entry flowcharts!
Next Entry not done yet...wtf
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement

Latest Entries

Jonk, Inc

5382 views

13 Years later

2802 views

shadowers

1085 views

screwing around

1074 views

minimalistic cpu

1211 views

been a while

1058 views

ridin on bumps

1435 views

ms3dness

893 views
Advertisement