BreakMeOutOfHere! - a "Break Out" Game Template
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
BreakMeOutOfHere! - a "Break Out" Game Template
Hi,
Attached is the first version of a "Break Out" style of arcade game I've named "BreakMeOutOfHere!".
I think this could be a good template to develop further. Most of the interesting stuff is in the card script. The stack script is a standard game loop I have used before, adapted from the LiveCode Game Academy course I took years ago.
It should be pretty easy to mod this game to your liking:adding color, changing brick layouts, adding levels, adding power ups, etc. I kept it simple here to meet posting requirements, splurging a bit with one image of "Pete the Prisoner".
The only thing I am not entirely satisfied with is handling the mouse pointer when I'm moving the paddle.
happy coding,
Mike
Attached is the first version of a "Break Out" style of arcade game I've named "BreakMeOutOfHere!".
I think this could be a good template to develop further. Most of the interesting stuff is in the card script. The stack script is a standard game loop I have used before, adapted from the LiveCode Game Academy course I took years ago.
It should be pretty easy to mod this game to your liking:adding color, changing brick layouts, adding levels, adding power ups, etc. I kept it simple here to meet posting requirements, splurging a bit with one image of "Pete the Prisoner".
The only thing I am not entirely satisfied with is handling the mouse pointer when I'm moving the paddle.
happy coding,
Mike
- Attachments
-
- BreakMeOutOfHere! 1.0.livecode.zip
- (145.5 KiB) Downloaded 44 times
Re: BreakMeOutOfHere! - a "Break Out" Game Template
Hi,
In developing my Breakout style game "BreakMeOutOfHere" I wanted an easy way to implement levels requiring different
brick layouts. The attached Brick Layout Editor uses a fairly easy and adaptable method, employing the creation of custom properties
to store the locations for a given brick layout as well as the backgroundPattern for each brick.
The scripts for this editor are all within the buttons. This editor should serve as a basis for experimenting with other layouts. I think the code is generalized sufficiently that with minor edits you can change the nature of the graphic objects, change graphic objects to buttons in order to display images, and even field objects.
Note: in the brick scripts all of the brick graphic objects belong to a group. Referring to the number of graphics within
the group isolates the brick graphics from other graphics that you might add to the card.
The second attachment is to provide a countdown timer effect to provide a short delay before the ball launches in the game.
Happy Labor Day!
Mike
In developing my Breakout style game "BreakMeOutOfHere" I wanted an easy way to implement levels requiring different
brick layouts. The attached Brick Layout Editor uses a fairly easy and adaptable method, employing the creation of custom properties
to store the locations for a given brick layout as well as the backgroundPattern for each brick.
The scripts for this editor are all within the buttons. This editor should serve as a basis for experimenting with other layouts. I think the code is generalized sufficiently that with minor edits you can change the nature of the graphic objects, change graphic objects to buttons in order to display images, and even field objects.
Note: in the brick scripts all of the brick graphic objects belong to a group. Referring to the number of graphics within
the group isolates the brick graphics from other graphics that you might add to the card.
The second attachment is to provide a countdown timer effect to provide a short delay before the ball launches in the game.
Happy Labor Day!
Mike
- Attachments
-
- Scale and Fade Text Effect.livecode.zip
- (3.75 KiB) Downloaded 109 times
-
- Custom Brick Layout Editor.livecode.zip
- (5.21 KiB) Downloaded 99 times
Re: BreakMeOutOfHere! - a "Break Out" Game Template
Hi,
Continuing with my Break-out style game, "BreakMeOutOfHere!", I needed a little animation utility. It is bare bones right now but works.
Mike
Continuing with my Break-out style game, "BreakMeOutOfHere!", I needed a little animation utility. It is bare bones right now but works.
Mike
- Attachments
-
- Sprites.zip
- (205.97 KiB) Downloaded 62 times
-
- Image Animator.livecode.zip
- (3.74 KiB) Downloaded 37 times
Re: BreakMeOutOfHere! - a "Break Out" Game Template
Hi.
I downloaded the original game. I got to a point where the ball was bouncing vertically up and down off the ceiling, having cleared the bricks away in that area, and it simply kept doing that. I was able to place the paddle at the bottom in a place where I never had to move it again.
The angle changes seen when the ball hits a brick do not seem to work when hitting the ceiling at near 90°.
Craig
I downloaded the original game. I got to a point where the ball was bouncing vertically up and down off the ceiling, having cleared the bricks away in that area, and it simply kept doing that. I was able to place the paddle at the bottom in a place where I never had to move it again.
The angle changes seen when the ball hits a brick do not seem to work when hitting the ceiling at near 90°.
Craig
Re: BreakMeOutOfHere! - a "Break Out" Game Template
Hi,
I've revised the Image Animator to version 1.2 so you can now load a folder of sprites and, if they are named with numeric prefixes, the first 10 will be loaded in order. (Much less annoying).
[Craig] Thanks for the feedback on the game bug, I will update the game soon to address this bug and to incorporate additional game features.
Mike
I've revised the Image Animator to version 1.2 so you can now load a folder of sprites and, if they are named with numeric prefixes, the first 10 will be loaded in order. (Much less annoying).
[Craig] Thanks for the feedback on the game bug, I will update the game soon to address this bug and to incorporate additional game features.
Mike
- Attachments
-
- Image Animator version 1.2.livecode.zip
- (4.01 KiB) Downloaded 125 times
Re: BreakMeOutOfHere! - a "Break Out" Game Template
Hi,
Attached is an update to my "BreakMeOutOfHere!" game. In this update (see card script header for details) I fixed a bug reported by Craig here in the forum comments. I added sound and now you can change the ball speed within the game. This version is still limited to one level but I want my Leaderboard Management system and my Image Animator refined before I add other levels. I may be running up against posting file size limits soon.
I have corresponded with Heather at LiveCode and asked if there was an official press kit that included a LiveCode or LiveCode Create badge I could use. She said she would talk to the graphics guys and get something out soon.
Mike
Attached is an update to my "BreakMeOutOfHere!" game. In this update (see card script header for details) I fixed a bug reported by Craig here in the forum comments. I added sound and now you can change the ball speed within the game. This version is still limited to one level but I want my Leaderboard Management system and my Image Animator refined before I add other levels. I may be running up against posting file size limits soon.
I have corresponded with Heather at LiveCode and asked if there was an official press kit that included a LiveCode or LiveCode Create badge I could use. She said she would talk to the graphics guys and get something out soon.
Mike
- Attachments
-
- BreakMeOutOfHere! version 1.2.livecode.zip
- (187.49 KiB) Downloaded 244 times
Re: BreakMeOutOfHere! - a "Break Out" Game Template
Hi.
An enhancement might be to allow the paddle to move in any direction, as opposed to only in a straight line along the bottom. You simply need to set the loc of the paddle to the screenMouseLoc.
Craig
An enhancement might be to allow the paddle to move in any direction, as opposed to only in a straight line along the bottom. You simply need to set the loc of the paddle to the screenMouseLoc.
Craig
Re: BreakMeOutOfHere! - a "Break Out" Game Template
Typically all breakout games only allow horizontal movement along the bottom. That's part of the challenge. It forces you to account for rebounds off the side walls. I suppose one could implement the enhancement for an easy mode though.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: BreakMeOutOfHere! - a "Break Out" Game Template
Jacque.
Craig
I just thought that being able to intercept the ball anywhere would be an interesting variation. I am not sure that makes the game easier.I suppose one could implement the enhancement for an easy mode though.
Craig
Re: BreakMeOutOfHere! - a "Break Out" Game Template
When watching this video game, don't stop thinking about the base to make a Galaga.