Home | Rules and Guide | Sign In/Create Account | Write a Post | Donate | #ludumdare on irc.afternet.org (Info)

Ludum Dare 23 — April 20th-23rd, 2012 — 10 Year Anniversary!

Ludum Dare 22 :: December 16th-19th, 2011 :: Theme: Alone

[ Results: Top 50 Compo, Jam | Top 25 Categories | View My Entry ]

[ View All (Compo, Jam) | Warmup ]


Posts Tagged ‘flashdevel’

Post-mortem – MoveOut

Posted by
Tuesday, August 23rd, 2011 4:34 pm

Day 1

This weekend I started with a game where you had to escape from jail by warping around, teleporting, picking up keys, and by avoiding or killing guards. That game almost worked except for the guard part (click), and I had added particles that where being moved by a fractal noise. worked most of the Saturday on that game but than i decided that it wasn’t good. And i came up with  a better idea. In this game you had to get to the other side of the game. But there were walls, lots of walls that are in your way. So to get to the other side of the room you need to move those walls. Sounds very simple. So i made a level loader first (click) and added some graphics. Next thing what i did was let the player move and detect the walls. Dit a simple check on my 18×18 level bitmap if the pixel was white. If that was true you could go there. I got that to work pretty fast (click). But than I had to move the walls. I’m not very good with math… So that was a problem. how could i ever select those walls. I’ve tried some scripts where it checks the first pixel you click and than checks up/left/right/down and so fort. but that didnt work. The rest of the day i only hurt my brain more and i played some games.

Day 2

I came up with the idea that I could select them by color. So I build that. And it works. It checks every 18×18 pixels and if the color is the same as the clicked one it would be stored in an Vector. Than i made something to move those blocks and check if there are no blocks in the way. I did that a little bit too fast. now you can only move 1 block at a time. and it goes very buggy. Sandly toke too much time to fix before end of LD21.  And than. a error from the compiler: Not_Found. that was all, nothing more.. 30 minutes of searching… a Compiler bug. added one line non-related code to a function and it worked again, pfew.

What i used:

  • haXe
  • FlashDevelop
  • A modified Autotracker-C
  • SFXR
  • Paint.NET
  • Photoshop (but nothing of that is used in the final product :P )

Still i’m happy that i finished this game. It works good except for the movement and it looks nice too. Just bought a domain. pixelhead.org time to make myself to a Indie game developper.

See you all next LD

 

Corné


All posts, images, and comments are owned by their creators.

[fcache: storing page]