HOW TO MAKE A PINBALL MACHINE - Mode Selection in MPF

Тәжірибелік нұсқаулар және стиль

HOW TO MAKE A PINBALL MACHINE: Carousel Mode Selection in MPF
While I wait for my whitewood clear coat to cure, we're going to tackle Mode Selection in Mission Pinball Framework! This ended up being easier than I thought, but I'll walk you through how I went about it and show you the exact code I'm using in my game (as of the date of this video).
Table of Contents:
0:00 Intro
1:24 What you'll need
2:59 Let's talk about modes again
5:31 Some advice on how to approach coding your game
9:29 2 ways to do mode selection
11:20 Starting with the sample code
15:16 How to start the Carousel mode
27:43 Displaying the carousel in a slide_player
31:16 Quick Review of our code
34:38 Carousel Mode Working!!
36:51 Starting a game mode based on carousel selection
39:57 Wrap up!
Would you like to support me and my channel? Here's how: www.patreon.com/thepinballroom
Links to Resources mentioned in my videos:
* How to structure your pinball machine game code: kzread.info/dash/bejne/fICbx6l7k5OZkrA.html
* Event and Handlers in MPF: kzread.info/dash/bejne/eWeJxLiJaMqshZM.html
* FAST Hardware Documentation - ​​docs.fastpinball.com/
* Led Zeppelin Pinball Project BoM (Bill of Materials): docs.google.com/spreadsheets/d/1ZTG_iBbB12zKE6h7HYUiRyXDzKPLSqnvm_Uy_i6qZcw/edit?usp=sharing
* Public Files on my Google Drive:
drive.google.com/drive/folders/1jS786lw6Z3tvHhBRjR0z4r1F0p3Y6UbR?usp=sharing
Thanks for watching!!! I hope you found this helpful or interesting - if you did, please like and subscribe and even share this so other pinheads can find this series of videos.
As always, give me some feedback on what you liked and didn't like about this video - if there's anything you'd like me to cover in more detail, lmk!!!
If you haven't already, I challenge you to start building your own pinball machine, cuz why not!?!

Пікірлер: 18

  • @MegaJameslaw
    @MegaJameslaw2 ай бұрын

    Hi Steve. Just bought my fast stater kit and starting to cut the panels for cab. Mate! Ur videos are killer. Soooooo good🤘

  • @mathaeis
    @mathaeis Жыл бұрын

    One of the things that I've been most excited about with all my crazy ideas for my machine(s) is doing the coding for the various modes. I know I'm already getting into scope creep, but I love the idea of being able to extend the variety of a single machine by adding different ways to play it. Seeing that there are tools exactly for this is super rad, so once again thank you for showing this off!

  • @Agent505
    @Agent505 Жыл бұрын

    Idea one: Band members: If you assemble the band, you get a multiball and a light show representing one of their great concerts. Idea two: Songlist. Say you have four modes that are all named after songs - either this unlocks a Greatest Hits mode or a Playlist mode; Album Mode if there's a full album represented. Idea three: Journey or Tour Mode: You tour from city to city and unlock shots along the way to activate bonuses and the like. And the stairway obviously unlocks the upper deck - the VIP area - where you get more bonuses and unlock some high end points. (Coding can be a boring part but there's so much opportunity for creativitity it's scary.)

  • @stephendonaldson2520
    @stephendonaldson2520 Жыл бұрын

    Thanks for the continued updates!! I’ve been waiting on this one to see what you do with the modes on your game.

  • @alexhetherington8028
    @alexhetherington8028 Жыл бұрын

    Great video Steve as always. It's getting more and more exciting, the game mode part is the part i was most looking forward to to see what you come up with. In my own machine im planning of having the player be able to fill up a bank and when the bank is full the player can select from a number of different things to buy at the start of each ball. These things are like a 2x multiplyer, extra ball, activate the ball saver to work one time and so on. They can only buy one thing and different things cost different amounts but basically whatever the cost of the benefit is it will be deducted from your total score and each time the bank emptys. The player also has the choice to keep the banked credit, instead adding it to the final score if they want but not purchase anything. Also each item can only be purchased once. Coding wise I wish there was a visual system like unreal engine's blueprint system. It would be soooo much easier for me

  • @thepinballroom

    @thepinballroom

    Жыл бұрын

    Oh wow that sounds cool! Well, hopefully this video was helpful to show some of the basics at least for a way to present options that the player can choose from. I'm planning on keeping my rules fairly basic for the time being, I just want to make sure I have something playable for Expo...!

  • @BAwesomeDesign
    @BAwesomeDesign Жыл бұрын

    Hey Steve! Great video again. MPF seems like the right tool for the job! Can't wait for the playfield clearcoat vid. Off topic: Are you in on a FF machine--for HUO or on route? My FF Premium is still not yet on the way... JJ hasn't got it yet, apparently. Ordered March 5.

  • @thepinballroom

    @thepinballroom

    Жыл бұрын

    My FF Pro is for my route, yes, but currently still here in my garage, has yet to go on location.

  • @BAwesomeDesign
    @BAwesomeDesign Жыл бұрын

    One question (and others may already have brought it up): If you're using the start button to start the mode, won't that make it impossible to add player 2 after a 1 player game has already started? I'm guessing you don't want to add an action button to the lockdown bar to solve that. Just something to think about (Yet another thing! :D) Another way you could have it done is just a switch in the plunger lane that detects when the ball enters the playfield. The selection could be made at that point.

  • @thepinballroom

    @thepinballroom

    Жыл бұрын

    So, there's a way to adjust the code so that while in the song selection mode, the start button won't add more players, but once you're out of that song selection mode (or before it starts) you can use the start button to add in more players. I'm honestly still figuring out what's the best way for me to set that up, hahah

  • @thepinballroom

    @thepinballroom

    Жыл бұрын

    I have been going back and forth on whether to buy a different lock down bar with the action button in it, tho - I'll probably end up getting one for this reason, heh

  • @billy6427
    @billy64273 ай бұрын

    This so much needed. But im trying to figure out How should the board be designed?... Like the rules for how the ball should flow around the Board

  • @thepinballroom

    @thepinballroom

    3 ай бұрын

    Every game has its own rules, you can configure MPF to handle just about anything you can come up with, it's extremely flexible

  • @billy6427

    @billy6427

    3 ай бұрын

    @@thepinballroom Glad I Found out about your Channel and the Reference to MPF. Gonna admit tho .I will work mainly in Digital Video Game form but getting the right feel from Physical is really important

  • @waynesaeger9316
    @waynesaeger9316 Жыл бұрын

    On the song titles there is a /n in some of the titles. What does that do? I haven’t seen that in the docs that I have read.

  • @thepinballroom

    @thepinballroom

    Жыл бұрын

    That's to make the text wrap to a new line so the long titles fit on my slide properly

  • @waynesaeger9316

    @waynesaeger9316

    Жыл бұрын

    @@thepinballroom brilliant! I’ll probably forget when I actually get back to my game, but that’s a nice little trick to know

  • @MRNBricks
    @MRNBricks Жыл бұрын

    Pro tip. Save the yaml file before trying to open MPF. Sounds obvious, but you wouldn’t believe how much time I’ve spent debugging an unsaved file. 😂🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️