Basic Physics Tutorial - Save the Monkeys!

Favourite 35 favourites
Tutorial written by MazzranOriginally published on 3rd, July 2012 - 3 revisions

GETTING STARTED

A tutorial to demonstrate the use of Basic Physics. You need to save the monkeys by making sure their platform reaches the ground with the monkeys still on it!
Required files:

http://dl.dropbox.com/u/26362027/Scirra/SaveTheMonkeysAssets.zip

1. Create a folder called SaveTheMonkeys.
2. Inside this folder, create another folder called Assets.
3. Download and unzip all the SaveTheMonkeys.zip files into the Assets folder.
4. Run Construct 2 and click File, New, Store Project in a Single File , Create Project.
5. In the Properties panel on the left, make the following changes to your Project Settings:

THE GAME BACKGROUND

6. In the Projects/Objects/Layers panel on the right (Layers tab), click on the Pencil image and rename the layer to Background, as follows:
7. Double click on the Layout 1 view, double click on Tiled Background, click once anywhere in the Layout 1 view, then select Load an Image from a File as follows:
8. Navigate to your Assets folder, select the Background image and click on Open, then close the Edit Image window that appears. Your image should appear in Layout 1.

9. With the background image selected, in the Properties panel change the position and size of the TiledBackground to the following:
10. Also, select the Projects tab (at the bottom of the Projects/Objects/Layers panel)
11. Select Layout 1, then make the following changes to the Layout Size in the Properties panel on the left:
12. Use CTRL and Middle Mouse Button to zoom in until the background fills the work area (you may also need to use the vertical/horizontal scroll bars).

Comments

2
loccy 4,690 rep

Brilliant tutorial, had fun going through this tutorial and learnt more about physics. Thankyou!

Tuesday, July 03, 2012 at 11:52:44 AM
0
Mazzran 3,714 rep

Glad you like it - I had fun making it!

Tuesday, July 03, 2012 at 11:56:28 AM
1
jogosgratispro 23.3k rep

There is one thing you could've done to optimize the game.

Instead of having 3 monkeys and two taz, you only needed 1 monkey and 1 taz.
You need to add more frames to each animation and change the initial frame for each individual animal.
For example, monkey object with 3 frames, then taz object with 2 frame. In the second taz frame you can flip it in the animation or set it mirrored.

Tuesday, July 03, 2012 at 3:16:55 PM
0
Mazzran 3,714 rep

Good idea! Thanks for the tips!

Wednesday, July 04, 2012 at 1:17:00 AM
2
blackhornet 159.6k rep

Good stuff. Just for completeness, you need to stop the music on a restart/try-again, otherwise you start another loop of the music, and it gets rather noisy. Add a tag "stm" to the SaveTheMonkeys audio action, and add a new action to "On Right button Clicked" of Audio > Stop "stm".

Wednesday, July 04, 2012 at 3:29:27 AM
0
Mazzran 3,714 rep

Haha - I thought the music sounded a little dodgy at times, however I just put it down to the HTML5 audio problem - Thanks for the hint, shall remember next time!

Wednesday, July 04, 2012 at 4:54:33 AM
0
Zainab 2,711 rep

great tutorial really fun way to learn the physics feature!

Monday, July 16, 2012 at 5:37:49 AM
0
Relugy 6,633 rep

great tutorial! thanks!

Monday, July 16, 2012 at 6:21:00 PM
0
jwjb 4,919 rep

This is a great tutorial, thanks.

Sunday, August 12, 2012 at 6:50:07 AM
0
melano2011 2,517 rep

thank you for your tutorial, it's very great

Sunday, August 26, 2012 at 12:36:20 AM
0
tvance929 3,123 rep

Can I change the author name from 'Your Name' to my name? ...

Friday, December 14, 2012 at 8:18:52 PM
0
CoderX 2,337 rep

Enjoyed tutorial! Welldone. Question how to make sure that savethemonkey music restarts when we right click? thx

Monday, January 28, 2013 at 5:20:17 PM
0
DEEPA K SINGH 2,504 rep

awesome tutorial.....liked it very much

Monday, February 18, 2013 at 1:06:33 PM
0
construct4me 4,154 rep

thank you for your tutorial, i love it !!

Friday, April 05, 2013 at 3:29:13 AM
0
harrybhag 952 rep

When I right click, the game restarts, but the music is overlapped with the start of new game and each time i right click the music overlaps so many times playing too much of mess.. Can you help please

Tuesday, August 20, 2013 at 12:00:59 PM

Leave a comment

Everyone is welcome to leave their thoughts! Register a new account or login.