English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   project.Amiga Game Factory (http://eab.abime.net/forumdisplay.php?f=69)
-   -   Creating games with Backbone - Step by Step for beginners! (http://eab.abime.net/showthread.php?t=66632)

Cammy 13 November 2012 13:55

Creating games with Backbone - Step by Step for beginners!
 
This is an on-going tutorial Rebel and I are making which will explain how to use Backbone to create your own video games. Backbone is a game creation kit for AmigaOS 3.x which is fully GUI-based, there's no programming or scripting required to make your very own games, similar to but much more powerful than SEUCK.

Eventually I would like to publish this tutorial along with others in our own free Amiga guidebook, but for now we're posting it online so people can follow along step by step, hopefully creating their own games along the way.

With Backbone you can create platformers and run & guns like Ruff & Tumble or Superfrog, as well as overhead shooters like Alien Breed or The Chaos Engine.

You can download Backbone for free from Aminet here:

http://aminet.net/package/dev/misc/Backbone_Full
http://aminet.net/package/dev/misc/Backbone_Upd
http://aminet.net/package/dev/misc/Backbone_Key

Also you should install Personal Paint if you haven't already got it, it's a very good program for working on game graphics.

http://aminet.net/package/biz/cloan/PPaint

Extract the Full archive and install it first, then extract the Update and install it over the top of the files from the Full archive, then extract the Key and copy it to the Backbone drawer. Now you have a fully working and registered copy of Backbone installed, and you can start making your own games.

In this tutorial we will be using this image for both the blocks and the objects. You can download it and use Personal Paint to convert it to an IFF/ILBM file for use in Backbone.

http://home.exetel.com.au/~amiga/PlatformTiles.png

Cammy 13 November 2012 13:56

Backbone Tutorial

http://home.exetel.com.au/~amiga/BackboneTutorial01.png

Getting Started

Load Backbone and start a new project. Select "New" from the Project menu, type the name of your game in the ASL requester that opens, and press OK.

Click on "Screen Setup". Click on "Recommended", then close the window. Now open it again and click "Recommended" again (a bug sometimes prevents Backbone from remembering the first selection). Change the settings as follows:

Resolution: Lowres
Colours: 16
Block Size 16x16
Screen Height: 176
Screen Width: 256
Normal Scroll Lag
Slide Horizontal Scrolling
Chunky Vertical Scrolling
Side View
Gun: Weapons Enabled

Close the Screen Setup window and select "Save" from the Project menu. Always remember to save your work frequently!

http://home.exetel.com.au/~amiga/BackboneTutorial02.png

Creating Your Player Character

Click on "Image Editor". Change the Colours to "16" and turn "Auto Mode On". Click "Pick Image" and select a bitmap image with sprites on it from the ASL requester. The image should open and you should be able to click and draw a box around the first frame of the object you want to create. Generally the sequence will start with the standing still frames, followed by walking, jumping, falling, dying, climbing, crawling and shooting frames. Clicking "Pick Image" again will let you select the next frame, and automatically move to the next one so you can pick it up. If you ever make a mistake, you can just click or scroll back through the frames and re-select the one you want. When you have picked up all the frames of your object, or at least as many as you have for now, click "Save Objects" and type the name of your object, then click "OK" to save.

http://home.exetel.com.au/~amiga/BackboneTutorial03.png

Assuming you have just created the object for your player character, close the Image Editor window and click "Edit Player". Click "Pick" to select the Player Object File and select the player character object you have created. You may customise the options to suit your needs, but for this example tutorial change the settings as follows:

Move Speed: 4
Fall Speed: 5
Jump Speed: 7
Acceleration: 1
Climb Speed: 2
Jump Height: 48
Crawl Speed: 3
Energy: 100
Lives: 3
Height: 20
Crawl Height: 14
Width: 8
Invincability Timer: 30
After Death: Restart Level
Powerhead Off

http://home.exetel.com.au/~amiga/BackboneTutorial04.png

Now click on "Set Frames" and adjust the settings to include the First Frame and Number of Frames for each of the player's positions. Don't select any weapons yet, this setting lets you choose particular frames for each of the weapons you pick up throughout the game. We will come back to it later, for now just make sure your player has Still, Moving, Jumping, Falling and Dieing frames, and close the window.

Close the "Edit Player" window and select "Save" from the Project menu.

http://home.exetel.com.au/~amiga/BackboneTutorial05.png

Creating Your Blocks

Click on "Block Maker" and then "Load Picture". Select the bitmap image with your blocks on it from the requester and click "OK". Click the mouse button once you have viewed and confirmed you selected the right picture. Click on "Grab Blocks" and type the name you'd like to call this block set, then click "OK". You will now be asked to click on the last block to cut out from the image. Click "OK" then select the last block in the set. Backbone will cut out the blocks and save them, so press "OK" and close the Block Maker window.

Save your project.

Click on "Edit Blocks" and "Pick File" then select the Block file you just made and click "OK". Click "Solidity" click once on each of the blocks that are used for the ground. This will put a box with a large X over each of these blocks, representing that they are fully solid and can't be fallen or jumped through. Now click twice on any above-ground blocks that are used as floating platforms or tops of objects that can be jumped onto. This will put a half-box with a squashed X in it, representing a block that the player can move in front of, but still jump on top of. Click three times on any tiles that are ladders or ropes, and four times on the tiles representing the tops of those ladders and ropes. You will see the ladder pattern and a ladder with a platform top to represent these kind of blocks. Click on "Done" once you have finished editing the solidity of the blocks.

http://home.exetel.com.au/~amiga/BackboneTutorial06.png

Other Block Details

You can create animated blocks for your levels, which can be made up of up to four frames of animation each. Animated tiles can have their frames playing in an ordered or random loop. The sequence of frames follows horizontally to the right of the first frame.

Blocks can have parts visible in front of the player, giving the appearance you are walking behind something in the foreground. Every foreground block needs to be overlaid on top of another tile, which the player will pass between. The foreground object should be surrounded by colour 0 in the palette, these areas will be clear, showing the player as you pass between the tiles. When creating a foreground tile, click on the background block first, then the object that will be drawn over the top. Remember when placing the tiles to use the background tile in your level map, not the foreground one, it will be overlaid automatically by Backbone.

Some blocks can be destroyed in the game if the player picks up the PowerHead collectible item and hits the block with their head. Click on the "Destroyable" button. To make a block destroyable by PowerHead, it must be clicked on twice so the tile has a small, crossed rectangle in the lower half. This represents that it must be hit from below to be destroyed. The other methods of destroying blocks weren't implemented in Backbone so don't use them. When a block is hit and destroyed it will change to the block beside it, to the right. If you want it to change to a blank or non-solid block it must follow the destroyable block.

You can also have blocks that hurt or kill the player upon contact with them or by falling on top of them. There are four Danger levels for blocks, they can hurt the player and drain their energy the whole time they are in contact with the block, or they can kill instantly as soon as the player touches them. They can also have these properties, but only when fallen on top of, and won't harm the player if they walk past them, represented by a small or large X and a small rectangle below. Applications for these types of blocks could be water, lava or spikes for example.


Editing Your Levels

Finally we get to the fun part! After saving your game, click on "Edit Levels", then "Edit Level", which will open the editor for Level 1 using the first Block Bank you created. You can cycle through available Block Banks for later levels when you have made them. The first thing you should do is click "Pick Block" and choose a solid block and begin drawing your platforms. When choosing a tile, click carefully. Backbone lets you pick up multiple blocks at the same time, so you can sometimes accidentally pick up more than one when you don't mean to. Clicking the Right Mouse Button in the editor will delete a block. Build your level. Before you can leave, you must set a sensible Starting Position, as well as making one condition to finish the level. To save time for now, choose a single Condition and choose an area to End At. This means your player must get to this area to finis the level. Additional finishing conditions can be added, such as forcing the player to get to a certain area first, such as a checkpoint, before they arrive at the end point. You can also require the player to kill a certain amount of enemies or collect certain objects before they can finish the level.

Once you have finished building an area large enough for your player character to play in, close the level editor window and click "Yes" when asked to save the level. Click OK, close the "Edit Levels" window and save your project from the Project menu.

http://home.exetel.com.au/~amiga/BackboneTutorial07.png

Creating and Testing Your Game

From the Creation menu, select "Create and Run", and click "OK" in the ASL requester, and Backbone will compile your game to your Ram Disk. Once it has finished compiling, click the "OK" button and your game will start. If you did everything correctly, you should be able to run around and jump inside your game world. Try to see if all the jumps are possible, if there are any areas where you get stuck, and if all areas are accessible so you will know which parts to fix when you edit the level again. To quit from your game, press Ctrl C.


To be continued...

Amiten 13 November 2012 14:25

Backbone
 
Nice Tutorial :great , Thanks a lot I will have a try to backbone with this good documented tutorial.

Amiga4Ever
Amiten.

Retrofan 13 November 2012 14:46

This is a great tutorial Cammy. For these images you are making a nice game ;)

Peter 13 November 2012 15:05

Thanks Cammy - this is brilliant!

viddi 13 November 2012 17:07

Awesome tutorial, Cammy.

BTW, did you already play "Agent Lux"? ;)

Retro1234 13 November 2012 18:23

Cool never used it but if you compile your game it temp saves it to Ram in Amos format so you could then add some final touches in Amos

Lord Riton 13 November 2012 18:50

Nice tutorial. Backbone seems really powerfull. It's the kind of program that makes us programer jobless :p

Cammy 15 November 2012 06:30

Quote:

Originally Posted by viddi (Post 850500)
Awesome tutorial, Cammy.

BTW, did you already play "Agent Lux"? ;)

Thanks! Of course I have played Agent Lux, I had been awaiting it eagerly! I have really been enjoying it and am really impressed with all the different level designs you have used. I got up to the submarine level so far. I wanted to post in the main thread but didn't feel comfortable, so I'm glad you asked here. Great work! I'm really happy you finished another full game in Backbone, I hope I can do the same some day too. :p

viddi 15 November 2012 13:08

Quote:

Originally Posted by Cammy (Post 850789)
Thanks! Of course I have played Agent Lux, I had been awaiting it eagerly! I have really been enjoying it and am really impressed with all the different level designs you have used. I got up to the submarine level so far. I wanted to post in the main thread but didn't feel comfortable, so I'm glad you asked here. Great work! I'm really happy you finished another full game in Backbone, I hope I can do the same some day too. :p


Thank you very much! Im glad you are enjoying my second Backbone game.
I already started another Backbone project. He he. ;)
This time Im trying to realise an action adventure type game (Zelda style).

Im coming up with a new thread about it some time soon.


BTW, what happened to "Halloween Nightmare"?

vitux 15 November 2012 14:37

Cammy, Great tutorial,
Backbone allows paralax scrolls and softer?

I'm also hoping Halloween Nightmare

viddi 15 November 2012 14:53

Quote:

Originally Posted by vitux (Post 850831)
Backbone allows paralax scrolls and softer?

Sadly not. :(

frikilokooo 15 November 2012 17:06

Quote:

Originally Posted by vitux (Post 850831)
I'm also hoping Halloween Nightmare

Me too.

fitzsteve 15 November 2012 17:55

Nice guide, maybe I will try to make a Game if we do the Xmas comp again :)

vitux 15 November 2012 22:00

Quote:

Originally Posted by viddi (Post 850835)
Sadly not. :(

I guess it's asking too much to a development kit.
Ah, great job (Curro) with the Agent Lux, congratulations.
The more games for Amiga better.

Cammy 18 November 2012 06:07

Halloween Nightmare is a long-term project which requires the creation of a setting, history and cast of characters which we're still working on. It won't be a Backbone game, it will need to be coded in Assembly if it's to match our expectations. We have several games planned for this universe, which all fit into different parts of the story. We just want to make the games the Amiga always deserved, something epic that will impress anyone who plays it regardless of their expectations.

Mrs Beanbag 20 November 2012 20:26

Keep poking me to write Beanbag Creator. I can make it handle any special requirements you might have.

amiman99 07 January 2013 03:19

Here is a preview of my game made with Backbone, Cammy's textures are heavily modified for the game and music is taken from Sound Terrific MOD compilation (author is unknown).
More levels are coming up.
http://www.youtube.com/watch?v=nQr7YoAd_1Q

fishyfish 07 January 2013 11:54

Quote:

Originally Posted by Boo Boo (Post 850508)
Cool never used it but if you compile your game it temp saves it to Ram in Amos format so you could then add some final touches in Amos

Ah, that's kinda cool. Im going to have to check this out :)

@Cammy

Great tutorial. Thanks.

roberthazelby 07 January 2013 12:26

Quote:

Originally Posted by amiman99 (Post 860166)
Here is a preview of my game made with Backbone, Cammy's textures are heavily modified for the game and music is taken from Sound Terrific MOD compilation (author is unknown).
More levels are coming up.
http://www.youtube.com/watch?v=nQr7YoAd_1Q

That looks fantastic. I'll give it a plug in tomorrow's blog post.

Keep up the great work!


All times are GMT +2. The time now is 04:10.

Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

Page generated in 0.12017 seconds with 9 queries