Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 757

Games • Re: BreakMeOutOfHere! - a "Break Out" Game Template

$
0
0
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
Scale and Fade Text Effect.livecode.zip

Custom Brick Layout Editor.livecode.zip

Statistics: Posted by Hutchboy — Mon Sep 02, 2024 8:15 pm



Viewing all articles
Browse latest Browse all 757

Trending Articles