mjocean / PyProcGameHD-SkeletonGame

The current HD VGA Fork of PyProcGame (w/ HW Accel) + SkeletonGame to accelerate new game development
http://pinballprogramming.com
MIT License
14 stars 8 forks source link

support for single ball games? #10

Open UncivilEngineer opened 7 years ago

UncivilEngineer commented 7 years ago

I am wondering where to start with modifying this to work with a single ball game. It seems you hard coded the trough requirements into your game class.

mjocean commented 7 years ago

If you are on the dev branch, you can set your machine yaml to a single trough switch (either named trough1, or with any name but a tag of trough) and I believe this will work fine as is.

I can test this after TPF.

On Mar 21, 2017, at 10:58 PM, UncivilEngineer notifications@github.com wrote:

I am wondering where to start with modifying this to work with a single ball game. It seems you hard coded the trough requirements into your game class.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

UncivilEngineer commented 7 years ago

I installed the Dev branch, but the lack of a shooter lane switch is still causing issues. Most single ball games only have an outhole switch (renamed trough1), an single coil (renamed trough), and lack a shooter switch. If the eject fails, the ball rolls back to the outhole switch.

mjocean commented 7 years ago

I hadn't realized this was a situation where there's no shooter lane switch. Agreed that, at present, the lack of a shooter lane switch is a a problem since a few parts of the trough rely on it to ensure a clean launch --most detrimentally, before installing end of ball/drain logic.

I don't think it would be too painful to support a flag in the machine config to specify the intentional absence of a shooter lane, and if the flag is set, use a short length of time of trough switch open to act as a "virtual shooter lane"

I'll add this next week, after TPF :)

On Mar 24, 2017, at 12:23 AM, UncivilEngineer notifications@github.com wrote:

I installed the Dev branch, but the lack of a shooter lane switch is still causing issues. Most single ball games only have an outhole switch (renamed trough1), an single coil (renamed trough). Most single ball games don't have a shooter switch, because if the eject fails, the ball rolls back to the outhole switch.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

UncivilEngineer commented 7 years ago

Ok, thanks, and have fun at the TPF. I still have to wait a few months for PAGG.