Excalibur Breakout by eonarheim
A simple sample Breakout implementation in Excalibur.js!
Check it out live at: http://erikonarheim.com/labs/breakout/
edit -
View the source on github at https://github.com/excaliburjs/ExcaliburBreakout
The Excalibur.js engine is available at https://github.com/excaliburjs/Excalibur or through npm, bower, or nuget.
Check it out live at: http://erikonarheim.com/labs/breakout/
edit -
View the source on github at https://github.com/excaliburjs/ExcaliburBreakout
The Excalibur.js engine is available at https://github.com/excaliburjs/Excalibur or through npm, bower, or nuget.
| Web | http://erikonarheim.com/labs/breakout/ |
| Original URL | https://ludumdare.com/compo/ludum-dare-29-warmup/?action=preview&uid=34116 |
How much did it take to do?
For example, finding the paddles center point and taking a distance either left or right of that and multiplying it times an increment that you set to determine the new angle on hit.
@CharlieLove - I definitely agree, this seems to be the strategy employed by the original. It allows for a much greater degree of control over the ball. I'll see if I can't get that going soon.
@Nocturnal I used an open source JavaScript/TypeScript game library called Excalibur. You can check it out on github at https://github.com/excaliburjs/Excalibur and the api documentation is at http://excaliburjs.com.
@Helco I'm sorry to hear, I've raised an issue on excalibur https://github.com/excaliburjs/Excalibur/issues/259 we will take a look.
However, we recommend upgrading to Opera 20 which functions normally with Excalibur. Sorry about that :(
Another issue I had is that I lost lives at the start. Every time it started I was unprepared and lost a live. So yeah, I fucked up one (or two??) more time(s) at the 4-paddle stage and I lost.
But it's a pretty nice implementation of Breakout. Well done!