PDA

View Full Version : help with "Block It!" project.


xZerox
02-24-2008, 09:20 PM
I am planning on making a game called "Block It!" where you
have to draw what it shows on one screen exactly how it is with blocks.
Here is a example on what I think it should look like:
http://img402.imageshack.us/img402/2452/blockitexamplevectorizeob8.png
I want it so when you press B a block appears and you move it where you want with the arrow keys. Each level a different image will appear and you have to match the picture with the blocks.
Can anyone help me with ActionScript for this?
I am new to AS and flash and need the code for it to work.
I could also need a few level examples.....
And as menu. Can anyone help?

rrh
02-26-2008, 06:56 PM
as2 or as3?

One tricky part will be matching the shape, even if the position of the shape is different. You'll have to compare the shapes using something like the left-most square in the highest row as the starting point, and check every block's position relative to that.

For as2, learn how to use attachMovieClip, addListener for key events, startDrag and stopDrag.