sdwdd
03-03-2006, 09:00 PM
Hello, I'm going to develop somekind of a "block game".
I have an experience in programming, but I'm new to ActionScript.
So, the task is:
1. On the beggining of the game there is one block in the center of the screen.
2. Users must be able to build a new block near it.
3. They will choose block's width and height.
4. The new block must touch the base-block at least by one side.
5. After the user choose the possition of his block, its builded there. So we will have larger base-block(combined of the 2 blocks).
6. User will be moving the mouse pointer and the possible blocks possitions will show up.
So, when the mouse pointer will move, the proposed block possition will change according to the mouse movement(eg if the user is moving the pointer up, the block goes up until it reaches the base-block top, so it can't touch the surface by its side 100%).
The major rule is that at least one side of the new block must 100% touch the base block.
And the block must follow the surface of the base-block, that will become more and more complicated when the base-block enlarges.
Please, send any of your ideas.
Thank you.
P.S. sorry for my english ;)
I have an experience in programming, but I'm new to ActionScript.
So, the task is:
1. On the beggining of the game there is one block in the center of the screen.
2. Users must be able to build a new block near it.
3. They will choose block's width and height.
4. The new block must touch the base-block at least by one side.
5. After the user choose the possition of his block, its builded there. So we will have larger base-block(combined of the 2 blocks).
6. User will be moving the mouse pointer and the possible blocks possitions will show up.
So, when the mouse pointer will move, the proposed block possition will change according to the mouse movement(eg if the user is moving the pointer up, the block goes up until it reaches the base-block top, so it can't touch the surface by its side 100%).
The major rule is that at least one side of the new block must 100% touch the base block.
And the block must follow the surface of the base-block, that will become more and more complicated when the base-block enlarges.
Please, send any of your ideas.
Thank you.
P.S. sorry for my english ;)