GLBasic forum

Main forum => Announcements => Topic started by: MrPlow on 2016-Mar-20

Title: new retro breakout
Post by: MrPlow on 2016-Mar-20
Decided to release a Breakout in between some other projects I am working on...

Its the 40th Anniverary of the original so I thought it was a good time...

https://goo.gl/kumlUh (https://goo.gl/kumlUh)
Title: Re: new retro breakout
Post by: bigsofty on 2016-Mar-21
Good stuff!  :good:
Title: Re: new retro breakout
Post by: mentalthink on 2016-Mar-21
Jeje remind me when I satrt with GLbasic and did Fantasy Bricks...

Simple and nice GFX.
Title: Re: new retro breakout
Post by: MrPlow on 2016-Mar-21
Guys,

Can you try install it - I am getting feedback that some users get 963 error when installing...
Title: Re: new retro breakout
Post by: UBERmonkeybot on 2016-Mar-21
It's installed fine on my phone,It plays nicely.

back for another go...
Title: Re: new retro breakout
Post by: erico on 2016-Mar-22
Hi Plow, just tried and it works fine on galaxy note II.
GFX is a little blurred (upscaling?) but all fine on this type of game.
It moves nicely.
I can´t control the ball too well with the pad (ye, choose direction by hitting it with the corner of the bat for example), is that on purpose?

Nice quickie there!
Title: Re: new retro breakout
Post by: MrPlow on 2016-Mar-22
Will look into the bat directions...I did notice the bat on the arcade original was bad too, so its a question of staying more like the original or improving the bat hitting...

Overlay coming soon...
Title: Re: new retro breakout
Post by: erico on 2016-Mar-22
I saw on the android store that you recommended people having the error to install through PC.
It is what I had done before reading that, maybe I should re install it normally to test?

About the bat, yeah, I´d either tune its ball control or cheat its randomness a bit if there are very few tiles left.
I´d say that because it can get tiring trying to hit that last few bricks.

Title: Re: new retro breakout
Post by: MrPlow on 2016-Mar-22
Thanks erico -

Also now have the new version with Overlay - looks cool and improved the aliasing issue...

Title: Re: new retro breakout
Post by: erico on 2016-Mar-22
I re-installed the app, this time from the playstore directly on the phone, no problems and everything ran as expected.
I agree it must be a phone or an OS problem on the user side.

The overlay is really cool, it feels like one, with all color bleed going on. Back to pause is also a nice add on.
Title: Re: new retro breakout
Post by: okee on 2016-Mar-22
Working fine here after downloading on phones

Samsung galaxy s4, Android v4.3
Motorola Moto G 3rd Gen, Android v 6.0
Title: Re: new retro breakout
Post by: MrPlow on 2016-Mar-23
Sweet! Thanks guys!

:)
Title: Re: new retro breakout
Post by: nabz32 on 2016-Mar-30
i wish u could test it, still need an android phone, any chance of testing this on a desktop pc?
Title: Re: new retro breakout
Post by: r0ber7 on 2016-Mar-30
I like it. Two questions:

How did you do the "more games" opening a list of games in the PlayStore?

I see there is premium, what is the difference? Does anyone get premium?
Title: Re: new retro breakout
Post by: nabz32 on 2016-Mar-31
got myself a new phone today only to test this ( lol, i had to buy a new one anyway).

Well its the classical Pong and has no annoying adds.
Its kinda hard to controll the paddle though, but I think this results from the transition of mouse movement to the blocky retro paddle movement,
but I think I could get used to that, I´ll keep this on my phone.

Edit: Okay I spotted an add thats a minus for me, but its no big deal, at least they dont appear while actually playing.
I wondered why the paddle moves blocky, but the ball moves smoothly, maybe make the ball move blocky as well.
Title: Re: new retro breakout
Post by: MrPlow on 2016-Apr-01
Quote from: nabz32 on 2016-Mar-30
i wish u could test it, still need an android phone, any chance of testing this on a desktop pc?

Can run on PC but the sound is coded to work on android only. :) only really interested in testing with phones anyway...

Title: Re: new retro breakout
Post by: MrPlow on 2016-Apr-01
Quote from: monkeybot1968 on 2016-Mar-21
It's installed fine on my phone,It plays nicely.

back for another go...

Thanks monkeybot!
Title: Re: new retro breakout
Post by: MrPlow on 2016-Apr-01
Quote from: r0ber7 on 2016-Mar-30
I like it. Two questions:

How did you do the "more games" opening a list of games in the PlayStore?

I see there is premium, what is the difference? Does anyone get premium?

1. simple link using :    
Code (glbasic) Select
NETWEBEND "market://search?q=pub:Gazzapper+Games" make sure you also have

Code (glbasic) Select
ALLOWESCAPE FALSE


Dont do a general search as other publishers will appear for similar game categories linked to your apps.

2. Few sales so far - it's just a no advert version - but adding a ZX Spectrum Colour Clash feature to the premium version :)
Title: Re: new retro breakout
Post by: nabz32 on 2016-Apr-01
So Theresa is a Premier Version without adds?
Need to get that. An Chance of adding blocky ball movement also?
Title: Re: new retro breakout
Post by: erico on 2016-Apr-01
Wouldn´t the block movement for the ball break the trail fx?
I noticed that too, but I´d prefer to have the bat moving smoothly instead.
Title: Re: new retro breakout
Post by: MrPlow on 2016-Apr-01
:)

The premium version link

https://play.google.com/store/apps/details?id=com.gazzappergames.breakerbricksprem (https://play.google.com/store/apps/details?id=com.gazzappergames.breakerbricksprem)
Title: Re: new retro breakout
Post by: MrPlow on 2016-Apr-01
Quote from: erico on 2016-Apr-01
Wouldn´t the block movement for the ball break the trail fx?
I noticed that too, but I´d prefer to have the bat moving smoothly instead.

erico is the bat moving badly for you?
Title: Re: new retro breakout
Post by: erico on 2016-Apr-01
Not badly, it moves like by 4 or 8 pixels at a time, very different than the ball, which is silky smooth.
Title: Re: new retro breakout
Post by: MrPlow on 2016-Apr-02
Thanks! Will look into that :)

I dont mind that myself - its looks more retro (jerky) but others might prefer smoother control too

:)
Title: Re: new retro breakout
Post by: r0ber7 on 2016-Apr-03
You could look into easing calculations.

http://www.gizma.com/easing/

I suspect this would make the movement a lot more fluid.
Title: Re: new retro breakout
Post by: erico on 2016-Apr-03
I made easing on my avocado game, which has a resemblance to pong in a certain way.
It does make controlling the ´bat´ a bit more frustrating if you expect sharp turns and precision, that is why I added a dash move, to counter that.

In a pong game, I´m not sure easy would help, but either have it all jerky or smooth for consistency reasons.
Though to tell you the truth, the game is fine as it is for me. It doesn´t detract the experience.
Title: Re: new retro breakout
Post by: MrPlow on 2016-Apr-03
Thanks erico - So far reviews are good - so I don't want to mess with with controls right now, I think I will leave alone for now :)

You entering the Low Res Jam?

Title: Re: new retro breakout
Post by: erico on 2016-Apr-03
Thinking of, but I should be aware of the amount on plate. :-[
Title: Re: new retro breakout
Post by: MrPlow on 2016-Jun-03
Quote from: erico on 2016-Apr-03
I made easing on my avocado game, which has a resemblance to pong in a certain way.
It does make controlling the ´bat´ a bit more frustrating if you expect sharp turns and precision, that is why I added a dash move, to counter that.

In a pong game, I´m not sure easy would help, but either have it all jerky or smooth for consistency reasons.
Though to tell you the truth, the game is fine as it is for me. It doesn´t detract the experience.

hi erico - would u try to see if the movement is now better for u - i did have others comment on it.
Plus added a new mode called 'progressive'
Title: Re: new retro breakout
Post by: erico on 2016-Jun-03
Ok, just tried, all movements are smooth now, including the bat.
I thought it would not make much of a difference, but it really does.
It is a looooot better now!

One thing though, I found that the pre-start font, where you say (rate us on bla bla), the spacing of the fonts is somehow incorrect, letters are a bit over themselves here and there. I will add a picture... look at the ON and Y where it is easier to see it on my low res crappy image.
Probably a font kerning issue.
Title: Re: new retro breakout
Post by: nabz32 on 2016-Jun-04
Shall i share my vector font code? It works smoothly on android and has a pretty solid kerning
Generation
Title: Re: new retro breakout
Post by: UBERmonkeybot on 2016-Jun-04
Yeah go on,i would like a look.
Title: Re: new retro breakout
Post by: erico on 2016-Jun-04
Could be useful to lots of people, maybe a snippet?
Title: Re: new retro breakout
Post by: spacefractal on 2016-Jun-05
I'm also did code snippet the font system I'm used for spot race, which also supports kerning:
http://www.glbasic.com/forum/index.php?topic=9981.0

It's was based on a mac app, but a bmfont app for pc should nicely exists, but I'm did just liked that one on Mac.

But if it's only that line, then it'd could just been graphics and it's quite minor.
Title: Re: new retro breakout
Post by: MrPlow on 2016-Jun-07
Thanks Guys

My updated version now Included Progressive Mode and smooth paddle...

Rober thanks for the easing - I will look and read that. I dont know if used the same method I did to fix my movement issue...I think My method is a clever simple approach...I will share after looking at easing article...If its different...

Erico, thanks for the font info, I noticed it and left it in on purpose, thinking it adds a little charm, but I may change if people spot it as an issue or cant read the text correctly. I did a custom print routine to swish letters so that phrase would fit on a screen width... I thought it was a good idea at the time! :)

Paid version is without ads - Devs gotta Eat :)
Title: Re: new retro breakout
Post by: Slydog on 2016-Jun-08
Re: Easing Library
I found this post where I added most of my tween / easing library:
http://www.glbasic.com/forum/index.php?topic=5643.msg44318#msg44318 (http://www.glbasic.com/forum/index.php?topic=5643.msg44318#msg44318)

It at least has all the easing functions ready to use at a low level.
Just add your own wrapper if you want, or use it directly.

To using it directly:
Code (glbasic) Select
Tween_Get(TWEEN_TRANSITION_BOUNCE, startValue, endValue, elapsedTime / duration)
Title: Re: new retro breakout
Post by: MrPlow on 2016-Jun-10
Thanks, will check that out too.