• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Creating a game time system

Scheduled Pinned Locked Moved Projects and Themes
arcade cabinetcoin acceptorscriptsio boardcontrols
2 Posts 2 Posters 470 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    anthonyamar
    last edited by anthonyamar 28 Sept 2023, 22:32

    Hi everyone.

    I'm building an arcade game to put in my music studios, and I want to monetize game time rather than credits. The idea is that, because not all games can be used with credits, and because we do not want people to stand on the arcade games for hours for free, but still able to play any game/console, I would like to create a system of game time: you put a coin in the arcade, and you get 1 hour of playing. Once the hour spent, the system freeze, waiting for another coin to unfreeze the system.

    For now, here's what I found and explore:

    • I can easily create a script that watch with a while loop for a coin to be inserted, and then activate the system, else displaying a box asking the user to insert a coin for 1 hour of game time.
    • I first thought about switching on and off controls, and It seems possible to toggle on and off the USB ports, but it seems that we can't just toggle two of the four (the two players) using a script, so maybe not the best idea.
    • I don't find anything on RetroPie that seems to match this kind of feature (freeze or everything like that)
    • I don't find how can I run scripts in the background while RetroPie is working, in order to watch for a coin, toggle on/off the system and display messages.

    Is anyone ever tried to do something like this? Is there any workaround that I could search for to achieve something similar?

    Thanks for your help!

    B 1 Reply Last reply 28 Sept 2023, 23:52 Reply Quote -1
    • B
      ByteThis @anthonyamar
      last edited by ByteThis 28 Sept 2023, 23:52

      @anthonyamar The Retropie Project frowns upon people trying to profit utilizing their software. I'm sure other people here will fill you in.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post

      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

        This community forum collects and processes your personal information.
        consent.not_received