I'm working on a new puzzle game, titled, "A Series of Tubes". (Reference: Ytmnd)
Lol. So this game isn't gonna be something to just dump stuff on. It's "A Series of Tubes". I've begun developement, and here's a screeny.The goal is to connect the box labeled "P1" to the box labeled "GOAL" in as little time as possible. It's going okay, but I'm trying to get the tubes to glow blueish when connected. If someone has a suggestion, please let me know. I'd be very grateful.In other news, tomorrow is the last full day of school. (The rest are half days.) I'm glad the year is almost over. I'm sick of school.In other, other news, my birthday was last Wednsday. I got a shiny new Cobalt/Black Nintendo DS Lite. I also got Nintendogs. =D I have 3 doggies.I guess that's about it… CRAP! Almost forgot my Random Link!
I'd make this game without objects for the pipes, just drawing functions. It should run faster that way, and would be easier to pull information from the pipes. I'd use a 2D array rather then ds_map, and store 0,1,2,3 for each direction. Then using a nested loop draw a sprite or rectangles to make it up. Using image_blend or draw_set_color() in the nested loop will work for the blue coloring you want, although it does add an extra check for every iteration through the loop.
Thanks for the tip, Squarewheel, but I still don't have a clue about arrays.
How about checking for collisions when you place or change the pipe, set the variables (up=1 down=0, etc..) and then in the draw event,you check whether up=1, and so on - then draw the pipe with draw_sprite_ext! (That way, you can make it glow blue)
:3:3
…and that why sk8m8trix is banned from this site.