Pinball Madness

Posted by carlos m. icaza, Posted on June 3, 2011, Last updated October 18, 2011

2 votes
GitHub URL: 
https://github.com/ansca/Pinball-Madness

Try this game out so you can see how you can see how easy it is to setup the Corona physics to create a pinball game.

Sample code is MIT licensed and Open Source, so you can use the code at will and create your own game, edit it, add better looking scoring, how about adding a left and right paddle only, more lights, sounds.

Show us what you can do.

Carlos


Replies

Millerszone
User offline. Last seen 26 weeks 2 days ago. Offline
Joined: 16 Apr 2011

I received the error below after I pressed start.
Using Windows 7 64-bit and CoronaSDK 2011.527
Thanks for the code, will be a big help for my game.

carlos m. icaza's picture
carlos m. icaza
User offline. Last seen 6 weeks 5 days ago. Offline
Alumni
Joined: 22 Jun 2009

That has been logged already as a bug and it is not a failure mostly an annoying assert and is fixed and should be on the next daily build.

C.

dave4
User offline. Last seen 14 weeks 5 days ago. Offline
Joined: 3 Feb 2011

It crashed the simulator on my mac - then I realized I'm a few weeks behind in the builds -- downloaded the latest and it works great.

Best,
Dave

kunio
User offline. Last seen 30 weeks 6 days ago. Offline
Joined: 29 May 2011

The physics are way off, the ball is passing through the flippers all the time (even got the ball stuck in them a few times) and quite often through the spring as well. I've been tinkering with it for hours to try and get the physics to work properly, but I can't get it to work.

kunio
User offline. Last seen 30 weeks 6 days ago. Offline
Joined: 29 May 2011

I made a thread about the problem where the ball passes through the flippers unless you make the rotation speed so low that it's unplayable (link: http://developer.anscamobile.com/forum/2011/10/12/physics-objects-passing-through-high-speeds-0) and others agreed that it's not working properly. I hope that can be fixed, because I can't make my physics game with how the physics behave now.

marlon8
User offline. Last seen 10 weeks 12 hours ago. Offline
Joined: 11 Jun 2011

Yea, this is way off. The background table graphic is confined to the upper left corner of the screen, at a quarter of the size.

Maybe this was meant to be a test for us to get it work correctly? :)