GLBasic forum

Main forum => Beta Tests => Topic started by: Scott_AW on 2010-Sep-22

Title: Shield Breaker, block busting game
Post by: Scott_AW on 2010-Sep-22
Here's the latest version of my game, Shield Breaker, a block smashing game were your own attack can be your destruction.

The engine is starting to come together, although the rebound is not perfect yet.  Still have a few more things to add like power-up drops, the mini-shields and such.

Here's the latest version in GLBasic, I'll try and get a mac version up sometime later.
Win32 version_9/22/10 (http://gamejolt.com/freeware/games/shield-breaker-ex/files/sb-glbwin32-092210/download/1505/4672/)
New link if other doesn't work, Download ShieldBreakerMOS092210.zip (http://host-a.net/scott_aw/ShieldBreakerMOS092210.zip)

You can find the Game Maker version (http://gamejolt.com/freeware/games/puzzle/shield-breaker-ex/1505/) here, which is the template for this remake, however background will most likely be different in the end.  Currently there are no backgrounds in the GLB version.

I'm also working on trying to get a rotatable polyvector function to replace rotozooming.  Currently the blocks are prerender at intervals of rotation for per-pixel collision purposes, so its a little choppy.  I plan to replace the drawing with a smooth rotating polygon instead of frames, but keep the frames for collisions.
Title: Re: Shield Breaker, block busting game
Post by: MrTAToad on 2010-Sep-23
Very nice indeed - shows what GLBasic can do!
Title: Re: Shield Breaker, block busting game
Post by: ampos on 2010-Sep-23
I can not download it.
Title: Re: Shield Breaker, block busting game
Post by: Scott_AW on 2010-Sep-23
Download ShieldBreakerMOS092210.zip (http://host-a.net/scott_aw/ShieldBreakerMOS092210.zip)

Good old host-a net, lets use this link.
Title: Re: Shield Breaker, block busting game
Post by: Wampus on 2010-Sep-26
Impressive! Plays nicely and the power ups are an awesome addition to the fun.

Rebounds from the moving blocks seem to take into account their shape. Am I imagining that, and if not, is the rebound direction based upon a calculation of the angle of the block's edges?

Title: Re: Shield Breaker, block busting game
Post by: Scott_AW on 2010-Sep-26
I wish it was, no its just factoring in the new angle depending on its current direction.

The original version made in GM did do that because it had built in percise collision detection and percise rebounding.

I have pixel collision, but no function to check to closest points yet, but a function to figure out the angle if I do.

Right now I seem to have an issue with a certain 70-90 degree area that rebounds the wrong way, noticable when it hits the top of the screen, going towards the player.  It should rebound down, instead it also flips.