Problem 2

September 13, 2006

Make an animation from a strip sheet of stills.

a) one where the slides are of the same size (easier).

Find Crosby’s Strip Sheets and save them to your workspace

a) On gamemaker, click on the add a sprite button. When the pop-up appears, click on edit sprite. A screen will appear. click on file, then on create from strip. Load the strip sheet and click open. An edit screen will pop up. Under the number of images section, type how many sprites there are in the row/column. If the sprites are in a row, type the number of sprites in the images per row section. Adjust the size of the box, so it fits the sprites perfectly, by using the image width and height sections. When the sprites are lined up the boxes perfectly, click ok, if some pictures don’t click add from stip sheet and add the ones that don’t individually.

To preview the sprite, click on show preview. If the animation is too fast, click on the animation tab, then click on stretch. Type the number of frames you want the animation to be, so it will slow it down. The more frames, the slower it will be. To test the animation in a room, create an object and use the sprite you just made for the sprite. Play the room to test the animation.

b) another where the slides are of varying sizes (harder).

b) On gamemaker, click on the add a sprite button. When the pop-up appears, click on edit sprite. A screen will appear. click on file, then on create from strip. Load the strip sheet and click open. An edit screen will pop up. Under the number of images section, type 1. Adjust the size of the box, so it fits the largest sprite on the stripsheet perfectly, by using the image width and height sections. When the sprite is lined up in the box perfectly, click ok.

To add more images to the sprite, click on file, then add from strip. Line up the box over the sprite you want to add. Click ok. If there is extra bits on the sprite, double click the image and colour over the extra bit in what ever colour the background is (there is a tool for this click on the big colour button under the left and right colours to change ur colour to the background/transparentt clour(the colour of the first pixel in the left, bottom corner is the transparent colour). Keep adding sprites, until you have all the ones you want. To re-order the sprites, click on the image once, then use the blue arrow keys to shift them into the right position.

To preview the sprite, click on show preview and modify accordingly. Create an object and use the sprite you just made for the sprite. Play the room to test the animation.

easy stuff once again although tedious to add pictures especially with the detail of mine as i added three animations and big pictures of the three characters so you know exactly who they are. 


Problem 1

September 13, 2006

A ball bounces around a room and its direction is random. When the demo starts you can’t predict in which direction the ball will go. When the ball hits the walls you can’t predict in which direction the ball will go.

Find a sprite of a ball and put it into your game. Also find a wall sprite and put it in your game.

Create an object called wall and use your wall sprite. Then tick on the solid box.

Create an object called ball, and use your ball sprite. In you ball object, click on the add event button, and click on the create button. Drag the blue arrows (set the direction and speed of motion) located in the move tab, into the actions space, and type in random(360) in the direction section.

Click on the add event button and click on Collision. Select wall. Drag bounce against objects into the action section, and in the against section, select solid objects. Click on the control tab and drag both start of block, and end of block buttons into the action section. In between the two blocks, drag the blue arrows (set direction and speed of motion). In the direction section, type random(360).

Create a room and put a border of walls. Add some balls and play to test it.

This was an easy task, very little to find out. It was really just playing around with the clickball formative task.


Follow

Get every new post delivered to your Inbox.