Problem 6.

A ball goes through a goal and the score goes up by one…the score does not go up if the ball misses the goal

Add a sprite of a ball. Also add a sprite of goal posts (does not have to look like actual goal posts)

Add an object and use the ball sprite. Click add event, key press, space. Drag the blue arrows, under the move tab, into the action section. when the popup appears, type in 45+random(90) in the direction section. Type how fast you want the ball to move in the speed section. Click on add event, other, outside room. Drag jump to the start position, under the move tab, into the action section. When the popup appears, click self, then ok. Then drag the red arrows, under the move tab, into the action section. Click only the square, stop button, when the popup appears.

There are many ways of creating the goal system. I chose to create a goal object. Create an object and use the goal sprite. Click on add event, collision with the ball object. Drag set the score, under the score tab, into the action section. When the popup appears, type 1 in the new score section and tick the relative box. Drag jump to the start position, under the move tab, into the action section. When the popup appears, click on other. Drag the red arrows, under the move tab, into the action section. When the popup appears, click on other.

Test the game by creating a room, and putting a ball at the bottom of the screen, and if you followed my directions, put the goal only at the top. If you put different directions into the blue arrows on the ball, put the goals there.

This is only one way of solving this problem. There are many other ways. My game had a shooter run up and take a random shot. My friends game made the ball stop when you released the space bar. This is a few more examples of how you could solve it.

I needed help with this problem. My teacher helped me by showing me the directions of which the ball should go, if I want it to be random.I would like to thank him for helping me.

soccer.JPG

My version of this problem.

Version

Add a shooter and a field to the game. It will be a bit more complex, but it can be done. If you need ideas, look at my picture.

Published in: on February 22, 2006 at 8:39 am  Comments (11)  

jrb01

Jrb01 is one of my friends. He is kind of a computer freak (always upgrading things in his computer) but he is quite good at gamemaker. If you need some more info about one of these problems, go to his site.

http://jrb01.wordpress.com

Hopefully the link works, otherwise just click on JRB01 in my blogroll to see his site.

Published in: on February 22, 2006 at 7:03 am  Comments (8)  

Problem 5.

Make one object follow another object.

Add 2 sprites, they can be anything you want them to be.

Add an object. Use the sprite you want to be the leader. Call the object leader.

Click on add an event, Create. Drag the red arrows, under the move tab, into the action section. When the pop up appears, click all the arrows, but not the square in the centre. In the speed section, type how fast you want the object to move.

Click on add an event, other, outside room. Drag jump to a random position, under the move tab, into the action section. When the popup appears, click ok. Drag the red arrows, under the move tab, into the action section. When the popup appears, click on all of the arrows, except the square in the centre.

Add an object, and use the other sprite. Call the object follower. Click on add an event, step. Drag move towards a point, under the move tab, into the action section. When the popup appears, type in (leader).x in the x section, (leader).y in the y section. Type how fast you want the object to move in the speed section. Click on add an event, collision with leader. Drag jump to a random position, under the move tab, into the action section. When the popup appears, click ok.

Open the leader object again. Click add an event, collision with follower. Drag jump to a random position, under the move tab, into the action section. When the popup appears, click ok. Then drag in the red arrows, under the move tab, into the action section. When the popup appears, click on all of the arrows, not the square. Type how fast you want the object to move in the speed section.

Create a room, and put in one leader and one or more followers. Play the game to test if the follower moves towards the leader.

I did not need help with this problem, as I have done this last year.

follower.JPG

The follower(blue) moving towards the leader(green)

Published in: on February 22, 2006 at 6:57 am  Comments (4)  

Evangeline Lilly

kate2.jpg 

Kate (from lost) real name is Evangeline Lilly. She is the best actress ever, and she is on the best TV show ever. Lost Rules!!!!

I found some facts about her. Here they are.

» BIOGRAPHY

Evangeline Lilly’s combination of irresistible charm and natural talent is earning her a reputation as one of the most promising young actresses in Hollywood.
Three years ago Lilly was discovered by a Ford agent on the streets of Kelowna, BC, but passed up an offer to sign with the agency. While acting had been a dream of hers since she was a teenager, she abandoned the notion for the more aesthetic dream of working in international relations. Six months later Lilly moved to Vancouver to attend the University of British Columbia and decided to sign with Ford to help pay for tuition. After appearing in a few commercials, she decided to give up acting and focus on studying. A couple of years later, a friend urged her to give acting another shot and, after a role in “Kingdom Hospital,” Lilly caught the acting bug.
Lilly founded and ran a world development and human rights committee at her university. She has lived under a grass hut in the jungles of the Philippines with a missionary group, and has been a volunteer for children’s projects since the age of 14.
Lilly is fluent in French and loves ice skating, canoeing, kayaking, snowboarding and rock climbing.
PERSONAL INFORMATION
HOMETOWN: Fort Saskatchewan, Alberta (Canada)
BIRTHDATE: August 3, 1979
Thanks to ABCMedia
 

Published in: on February 21, 2006 at 6:09 am  Leave a Comment  

Lost!

Lost is back on TV! Its so exciting! hehe!

The episodes are so cool, especially because Kate is in most of them! She is the best character. I thought i’d just say that. I found some cool pics of her, so i thought i should put them on just for you lucky people.

kate4.jpg    kate31.jpg

Published in: on February 21, 2006 at 5:48 am  Comments (4)  

Problem 4.

When a bullet hits a character, the character explodes and the explosion then disappears.

To start this task, complete all of Problem 3, as it will make this problem easier to complete.

Once you have completed making a character move and shoot, add another sprite. Load a sprite you think will be good for an enemy.Create an object and use the enemy sprite.

To make the enemy move down the room, create an event on the enemy object. Click on create. Drag the red arrows into the action section, and when the popup appears, only click the down arrow. Then type in how fast you want it to move, in the speed section. The enemy should now walk down the room. Test this by putting an enemy object in a room and playing it.

Add another sprite in, of an explosion. Our animation was provided by our teacher. The animation should look like something exploding.Add an object and use the explosion sprite. Click add event, then other, then Animation end. Drag destroy the instance, under main 1 tab, into the action section, and when it loads, click on the applies to self.On the enemy object click on add an event, collision with the bullet. Drag in change the instance, under main 1 tab, into the action section. When the popup appears, under the change into section, click the explosion. Under the perform events section, click yes.

When a bullet from the character hits the enemy, it now should explode and the explosion should disappear. I completed this task by myself, as I have alredy learnt this from gamemaker last year.

screenshot5.JPG

An enemy destroyed by a bullet.

Published in: on February 21, 2006 at 5:18 am  Comments (2)  

Problem 3.

A character can move left and right with arrow keys (you have to keep pressing the key for it to keep moving) and fires a single bullet forward when you press space bar. You have to release and press space bar again for more bullets.

Add a sprite. Load a sprite you would like to use, eg a character or a space ship. Also, load a bullet sprite.

.
Create an object, and use the character sprite. Add an event, and click on key press, left. Drag the red arrows, under the move tab, into the action section and click only the left arrow when the pop up appears. Type how fast you would like the character to move under the speed section. Add another event and click on key press, right. Drag the red arrow keys, under the move tab, into the action section. When the pop up appears, only click the right arrow.

.
To make the character stop when the key is released, add an event, then click key release, left. Drag the red arrows, under the move tab, into the action section. Only click the stop button which is square, when the pop up appears. Add an event, then click key release, right. Drag the red arrows, under the move tab, into the action section. Only click the stop button which is square, when the pop up appears.
Test if the character moves by creating a room and putting the character object in it. Play the game and see if it moves.
Add an object and use the bullet sprite. Click on add event, create. Drag the Red arrow pointing down (set the vertical speed) into the action section. When the popup appears, type in the speed you want the bullet to move, with a negative in front. This will make it shoot up.

To make the character shoot bullets, click on add event on the character object. Then click on keypress, space. Drag the yellow light bulb (create the instance of an object), under the main 1 tab, into the action section. When the popup appears, in the object section, locate your bullet object. Then click on relative, so whenever you press space, a bullet will appear where you are.

To test the game, put your character in a room and when it loads, press space to see if it shoots.

I did not need help with this problem, as I learnt how to do this last year.

Handy Hint.

To stop the character from disappearing outside the room, you can either create a wall object and put it on either edge of the room, or under an outside room event of the character, drag the wrap button into the action section. When the pop up appears, say horizontal. This will make the character go out one side and appear on the other.

screenshot4.JPG

Screen shot of Shooting.

Published in: on February 21, 2006 at 1:46 am  Comments (3)  

Problem 2.

Make an animation from a strip sheet of stills.

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

Find a strip sheet of sprites and save it to your computer.

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 white. 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. 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.

I did not need help with this, but i was taught how to do this last year by murasame.

bubasaur.gif
The animated sprite.

Published in: on February 20, 2006 at 6:07 am  Comments (2)  

Problem 2.

Make an animation from a strip sheet of stills.

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

Find a strip sheet of sprites and save it to your computer.

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.

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.

picachu.gif
The animated sprite.

Published in: on February 20, 2006 at 5:36 am  Comments (2)  

Problem 1.

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.
.
I did not need help with this as I have done gamemaker last year, but i helped maxymous and murasame with this problem.
.
Screenshot
Screenshot of the bouncing balls.
Published in: on February 13, 2006 at 12:29 am  Comments (5)  
Follow

Get every new post delivered to your Inbox.