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

I made an original game for RetroPie

Scheduled Pinned Locked Moved General Discussion and Gaming
retropielibretrooriginalfun
101 Posts 25 Posters 19.9k 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.
  • R
    Rincewind
    last edited by Rincewind 2 Jul 2019, 17:52 5 Feb 2019, 08:50

    I made an original-ish game specifically for RetroPie. It is a multiplayer version of Flappy Bird, called Super Flappy Birds.

    Here are some screenshots:
    alt text
    alt text

    How to Install it

    1. Open the RetroPie Menu
    2. Select RetroPie Setup
    3. Select P Manage packages
    4. Select exp Manage experimental packages
    5. Select lr-superflappybirds
    6. Select S Install from source

    Restart EmulationStation and you should see the game under the ports menu.

    After thoughts

    • The game is written as a libretro core and was a task I set myself to learn the libretro framework (which is the framework that most emulators use on RetroPie) so that I could start contributing to porting across games.
    • As a challenge to myself, I wrote my own "engine" for the game. So the game relies on no external library.
    • Here is the github page if you want to see it.
    • It would be really awesome if you could scrape your ports after installing this, I have designed my own box art for the game and would like to add it to screenscraper.fr, but I can only do that after it has been scraped at least 5 times.
    • I really appreciate anyone who checks it out. Even if you don't think you'll enjoy it, it might still be a fun game for a small child?
    E P C 4 Replies Last reply 6 Feb 2019, 05:05 Reply Quote 17
    • T
      tpo1990
      last edited by 5 Feb 2019, 09:30

      Nice concept and idea of recreating flappy bird on RetroPie/RPI with multiplayer support.

      Now you just need to make a "Pull request" to the RetroPie project github.

      Thank you for your work.

      Greetings from Denmark. :-)

      Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

      R 1 Reply Last reply 5 Feb 2019, 11:35 Reply Quote 1
      • B
        Brigane
        last edited by Brigane 2 May 2019, 10:44 5 Feb 2019, 10:43

        Great work, would it be possible to try your game engine?

        Systems: Raspberry Pi 0/2/3 Model B+
        Os: RetroPie 4.5
        Frontend: Emulationstation & Attract Mode

        R 1 Reply Last reply 5 Feb 2019, 11:26 Reply Quote 1
        • R
          Rincewind @Brigane
          last edited by 5 Feb 2019, 11:26

          @Brigane You're very welcome to. It doesn't have its own repo, but you can see all the files here.

          • Just copy that folder to your own c++ project.
          • Add all the files to your library in you CMakeLists.txt as seen here.
          • Have a look at my libretro.cpp to see how to use it.
          • My game framework is very simple: it isn't able to run independently of a RetroArch implementation(which isn't an issue if you want to make a libretro core), it only supports wav files for sound, and only supports the PNM family + PAM extension for graphics (Gimp can export PNM, and I included a PAM converter).

          I would be flattered if you used it, but you might find SDL2 easier, since it can do more and has better documentation. If you do decide to use it and make something, I'd love to see it :)

          B 1 Reply Last reply 5 Feb 2019, 12:29 Reply Quote 1
          • R
            Rincewind @tpo1990
            last edited by 5 Feb 2019, 11:35

            @tpo1990 I have done that now, thanks. It would be pretty sweet if it were accepted. The PR is here.

            T 1 Reply Last reply 6 Feb 2019, 12:03 Reply Quote 1
            • B
              Brigane @Rincewind
              last edited by Brigane 2 May 2019, 12:33 5 Feb 2019, 12:29

              @Rincewind Thank you for doing this, although I'm not sure if I will understand any of it just yet. I have no coding skills besides a few basic things I learn while studying as an IT-Supporter.

              Systems: Raspberry Pi 0/2/3 Model B+
              Os: RetroPie 4.5
              Frontend: Emulationstation & Attract Mode

              1 Reply Last reply Reply Quote 0
              • R
                Rincewind
                last edited by 5 Feb 2019, 17:21

                @Brigane. If you aren't very familiar with programming, then teach yourself Game Maker. It is really powerful, and you can build fairly complex games without programming, but there is a scripting language too for when you are ready for more in depth game creation. I think that Game Maker games can also run on RetroPie.

                Game Maker is how I taught myself to program, so I can't recommend it enough.

                1 Reply Last reply Reply Quote 1
                • F
                  FastBlinker
                  last edited by 5 Feb 2019, 21:19

                  awesome i'll install as soon as i've finished my cabinet.

                  1 Reply Last reply Reply Quote 0
                  • H
                    herb_fargus administrators
                    last edited by 6 Feb 2019, 04:38

                    Pretty neat, just played 10 rounds

                    If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                    Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                    1 Reply Last reply Reply Quote 1
                    • E
                      edmaul69 @Rincewind
                      last edited by edmaul69 2 Jun 2019, 05:06 6 Feb 2019, 05:05

                      @Rincewind haven’t installed it yet but i assume i can play a 1 player game? Glad you made this. The intellivision, colecovision and gameboy versions were the only ones i had to play on retropie.

                      R 1 Reply Last reply 6 Feb 2019, 10:08 Reply Quote 0
                      • B
                        BuZz administrators
                        last edited by 6 Feb 2019, 05:54

                        Maybe it would be a good idea to change the name - https://techcrunch.com/2014/03/13/company-claiming-rights-to-flappy-trademark-now-sending-notices-to-app-store-game-developers/?guccounter=1 (it's a while back but if they are active it could be a nuisance).

                        Not tried the game yet. Thanks though.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        R 1 Reply Last reply 6 Feb 2019, 10:11 Reply Quote 1
                        • R
                          Rincewind @edmaul69
                          last edited by 6 Feb 2019, 10:08

                          @edmaul69 You can play it single player, there is also the option to allow up to 8 players.

                          The default maximum is 4, but this can be set from 1 to 8. You can change the maximum players under the retroarch settings. I did this so that you could match the maximum player count with the number of controls on your arcade cabinet.

                          1 Reply Last reply Reply Quote 1
                          • R
                            Rincewind @BuZz
                            last edited by Rincewind 2 Jun 2019, 10:30 6 Feb 2019, 10:11

                            @BuZz I did a quick Google search and there isn't a news article after that 2014 one. I also did a search for "flappy" on the android and ios store and there are a plethora of Flappy X games, even some to come out after 2014. So I don't think this is an issue anymore. Also Ultimate Arcade Inc.'s trademark is dead, so they would struggle to find legal ground.

                            Thanks for the heads up though.

                            H 1 Reply Last reply 6 Feb 2019, 23:26 Reply Quote 0
                            • T
                              tpo1990 @Rincewind
                              last edited by 6 Feb 2019, 12:03

                              @Rincewind Alright now it is just time to wait and see what happens. I have also created a PR for my Hexen 2 RetroPie project, that just waits to be accepted as well. :-)

                              Greetings from Denmark. :-)

                              Developer of install scripts for ports such as Hexen 2, Return to Castle Wolfenstein and Caesar III. See my other projects at my profile.

                              1 Reply Last reply Reply Quote 0
                              • R
                                Ronoh55
                                last edited by 6 Feb 2019, 15:40

                                @Rincewind said in I made an original game for RetroPie:

                                cd ~/RetroPie-Setup/

                                Just played a few rounds, and it's a great port!

                                One thought that I had was that you might want to make it so the pipes don't start appearing until an input is pressed. I had one round where I was lucky and got 4 points pushing nothing!
                                Just something to think about, maybe it's not worth changing

                                R 1 Reply Last reply 7 Feb 2019, 08:43 Reply Quote 1
                                • S
                                  Silent
                                  last edited by 6 Feb 2019, 15:41

                                  Actually, how many games like this RetroPie has already? Maybe it's time to split them into a separate category (like "games" instead of "optional") so they don't mix up with optional emulators and software like scrapers?

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    herb_fargus administrators @Rincewind
                                    last edited by 6 Feb 2019, 23:26

                                    @Rincewind I have a suggestion. Replace all the birds with poop emojis and the pipes with toilets. Then you can rename it super floppy turds.

                                    If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                                    Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                                    R 1 Reply Last reply 7 Feb 2019, 08:51 Reply Quote 1
                                    • R
                                      Rincewind @Ronoh55
                                      last edited by 7 Feb 2019, 08:43

                                      @Ronoh55 I am glad you enjoyed it :D

                                      I have actually thought about doing that, but I wasn't sure what to do in the case of a multiplayer game. Should I wait for input from at least one player, or all players before the pipes start moving? I think I might implement the former and see what that is like.

                                      I think getting a few points in a row without flapping isn't that big of a deal, let me illustrate:

                                      pipe opening range (R) := 120px
                                      gap between pipes (G) := 60px
                                      player height (H) := 12px

                                      Let the probability of going through a pipe without moving be Z:
                                      ∴ Z = (G-H)/(R)
                                      Z = 48 / 120 = 40%

                                      So to get 5 points in a row without flapping it would be a 1% chance (Z^5), or 1 in 100 games.

                                      I am fairly confident that the average player can get a score of higher than 5 without too much practice. I think it also adds a bit of excitement that you managed to get a run that gave you a few points for free.

                                      1 Reply Last reply Reply Quote 0
                                      • P
                                        pjft @Rincewind
                                        last edited by 7 Feb 2019, 08:49

                                        @Rincewind Well, this is awesome - congrats and thank you for sharing! What a fun way to learn the libretro framework and develop your own game engine!

                                        I'll install it today. It's always great to have simple party games, both for the kids as well as for the non-gamer audiences. :) And it's also a great arcade-like game for the rest of us, so thank you!

                                        1 Reply Last reply Reply Quote 1
                                        • R
                                          Rincewind @herb_fargus
                                          last edited by Rincewind 2 Jul 2019, 08:54 7 Feb 2019, 08:51

                                          @herb_fargus I was thinking about making the game skin-able with texture packs. So maybe someone could make a Crappy Flappy game ;)

                                          1 Reply Last reply Reply Quote 0
                                          20 out of 101
                                          • First post
                                            20/101
                                            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