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 22.6k 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.
    • RincewindR
      Rincewind
      last edited by Rincewind

      The new high score system is done, I have made quite a few changes and I want to test it thoroughly before pushing it to the main branch.

      2Untitled.png

      1Untitled.png

      If you want to try the new branch change this line in the script module at /home/pi/RetroPie-Setup/scriptmodules/libretrocores/lr-superflappybirds.sh:

      gitPullOrClone "$md_build" https://github.com/IgniparousTempest/libretro-superflappybirds.git
      

      to this line:

      gitPullOrClone "$md_build" https://github.com/IgniparousTempest/libretro-superflappybirds.git feature/highscores
      

      If you want to switch back to the main version of the game, then just change it back to:

      gitPullOrClone "$md_build" https://github.com/IgniparousTempest/libretro-superflappybirds.git
      
      JonoJ E 2 Replies Last reply Reply Quote 3
      • JonoJ
        Jono @Rincewind
        last edited by

        @Rincewind Installed it ok, I think I may have found an issue, in a 2 player game, which played perfectly, both players will get a highscore on their first go, even if it's 0, then two high score boxes come up. Player one is entered with no problem, but I can't seem to control the cursor to select the letters for the name when entering a high score for player 2. I don't get a response from my player 1 or player 2 joystick. For noting I'm using an Xarcade Tankstick. I've also have a keyboard plugged in and no response from that either. Feel free to DM me, or carry on the conversation here if you need more information. Cheers

        RincewindR 1 Reply Last reply Reply Quote 0
        • RincewindR
          Rincewind @Jono
          last edited by

          @Jono I have fixed that bug now, thanks so much.

          Install from source and you should have the change.

          JonoJ 1 Reply Last reply Reply Quote 1
          • JonoJ
            Jono @Rincewind
            last edited by

            @Rincewind It's looking good. I'll be playing it tonight with friends so if I uncover anything else I'll let you know. I like the fact it remembers your name too, that helps. Very good indeed. Thank you for all your work so far :)

            RincewindR 1 Reply Last reply Reply Quote 0
            • RincewindR
              Rincewind @Jono
              last edited by

              @Jono Pleasure, I am glad that you're enjoying it.

              robertvb83R 1 Reply Last reply Reply Quote 0
              • robertvb83R
                robertvb83 @Rincewind
                last edited by

                @Rincewind highscores can be entered. It works fine.

                But how can i activate the highscore table to actually show up?

                My full size arcade cabinet Robotron vs. Octolyzer

                RincewindR 1 Reply Last reply Reply Quote 0
                • N
                  neonlightning
                  last edited by

                  to note it compiles fine on odroid aswell :)

                  RincewindR 1 Reply Last reply Reply Quote 0
                  • cellyC
                    celly @Rincewind
                    last edited by

                    @Rincewind looks really cool! Can’t wait to try this tonight. Thank you!

                    Currently Playing: Tetris (Gameboy)

                    1 Reply Last reply Reply Quote 1
                    • RincewindR
                      Rincewind @robertvb83
                      last edited by

                      @robertvb83 On the main menu, before you start playing, leave the game for 5 seconds and it will show up. I wanted it to feel like an arcade game, but maybe I should add an explicit "Show High Scores" button.

                      robertvb83R 1 Reply Last reply Reply Quote 0
                      • RincewindR
                        Rincewind @neonlightning
                        last edited by

                        @neonlightning That's good to hear. I looked at the specs of the ODroid on Wikipedia, the game should actually run better on it than on the Raspberry Pi. The game uses a software renderer, so it is entirely dependant on the CPU. The better the CPU, the smoother the gameplay. I havent tested the game on a Raspberry Pi 1. I would love to know how it preforms.

                        1 Reply Last reply Reply Quote 1
                        • robertvb83R
                          robertvb83 @Rincewind
                          last edited by

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

                          @robertvb83 On the main menu, before you start playing, leave the game for 5 seconds and it will show up. I wanted it to feel like an arcade game, but maybe I should add an explicit "Show High Scores" button.

                          This was my idea and i did wait for a few minutes on main screen... but no table is showing

                          My full size arcade cabinet Robotron vs. Octolyzer

                          RincewindR 1 Reply Last reply Reply Quote 0
                          • T
                            ts-x
                            last edited by

                            Is it possible to install this on an older build of Retropie (v4.3 stock Jessie build)? When I attempt to build from source I get a "cmake 3.7 or higher is required" message at the third step (my v4.3 build has 3.6.2). This looks great and I'd very much like to try it! Thanks for the help.

                            RincewindR 1 Reply Last reply Reply Quote 0
                            • RincewindR
                              Rincewind @ts-x
                              last edited by Rincewind

                              @ts-x It should be possible, I'll change the cmake file. Let me know if it works or not, please :).

                              T 1 Reply Last reply Reply Quote 0
                              • RincewindR
                                Rincewind @robertvb83
                                last edited by

                                @robertvb83 So if you start the game without playing a round and wait for 5 seconds, it doesn't show the high score table?

                                If that is the case, then I really have no idea.

                                Run the game, wait for 5 seconds on the main menu then copy the contents of this file /dev/shm/runcommand.log and paste it here.

                                If you use ssh you can run cat /dev/shm/runcommand.log and copy the content, if you access the commandline from your raspberry pi, you can just take a photo of the screen.

                                robertvb83R 1 Reply Last reply Reply Quote 0
                                • T
                                  ts-x @Rincewind
                                  last edited by

                                  @Rincewind Thanks for making this change. I was able to get through the cmake step successfully, but encountered several errors during make. It appears to have built the first four objects correctly but then runs into trouble with menu.cpp.o. Received several errors in reference to that object...

                                  In member function #void Menu::ShowScore(int, std::vector<Texture*>, std::vector<Rect*>)#:
                                  97:15: error: #runtime_error# is not a member of #std#
                                  throw std::runtime_error("The textures and frame rects should be the same size. Instead got texture_bird: "
                                  
                                  148:15: error: #runtime_error# is not a member of #std#
                                  throw std::runtime_error("There were too many winners to add to the screen, improve this function.");
                                  
                                  CMakeFiles/superflappybirds_libretro.dir/build.make:158: recipe for target 'CMakeFiles/superflappybirds_libretro.dir/menu.cpp.o' failed
                                  make[2]: *** [CMakeFIles/superflappybirds_libretro.dir/menu.cpp.o] Error 1
                                  CMakeFiles/Makefile2:67: receipt for target 'CMakeFiles/superflappybirds_libretro.dir/all' failed
                                  make[1]: *** [CMakeFIles/superflappybirds_libretro.dir/all' Error 2
                                  Makefile:83: receipe for target 'all' failed
                                  make: *** [all] Error 2
                                  

                                  Is there a way to access an error log file to copy/paste here for full detail? (sorry I'm a command line lightweight!)

                                  RincewindR 1 Reply Last reply Reply Quote 0
                                  • RincewindR
                                    Rincewind @ts-x
                                    last edited by Rincewind

                                    @ts-x Run the following on the command line:

                                    gcc --version

                                    This is the output for retropie 4.4:

                                    gcc (Raspbian 6.3.0-18+rpi1+deb9u1) 6.3.0 20170516
                                    Copyright (C) 2016 Free Software Foundation, Inc.
                                    This is free software; see the source for copying conditions.  There is NO
                                    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                                    

                                    I want to see the gcc version, I suspect RetroPie 4.3 is a bit behind on the times.

                                    If you were considering upgrading to RetroPie 4.4, that will solve your problem :D

                                    mituM T 2 Replies Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @Rincewind
                                      last edited by

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

                                      I want to see the gcc version, I suspect RetroPie 4.3 is a bit behind on the times.

                                      Raspbian Jessie has gcc 4.9.2 - http://distrowatch.org/table.php?distribution=debian.

                                      1 Reply Last reply Reply Quote 1
                                      • T
                                        ts-x @Rincewind
                                        last edited by

                                        @Rincewind Just as @mitu said, 4.9.2.

                                        After 16 months of tweaking 4.3, I'm pretty much resigned to never upgrade beyond. Would like to finish adding a handful of ports, fix a few lingering issues and then retire. Need to free up time to actually play some games :)

                                        quicksilverQ RincewindR 2 Replies Last reply Reply Quote 0
                                        • quicksilverQ
                                          quicksilver @ts-x
                                          last edited by

                                          @ts-x I keep telling myself the same thing. And while I have played quite a few games, I keep finding more things to add/tweak on my setup. For me a large amount of the fun is learning new things while setting stuff up. So I have a feeling I'll never get to a point where I'm done completely :)

                                          1 Reply Last reply Reply Quote 0
                                          • RincewindR
                                            Rincewind @ts-x
                                            last edited by

                                            @ts-x You can try manually upgrading your gcc, but that might be quite tough. I will try to find another SD card that I can put 4.3 on, so that I can make the game backwards compatible. I can't promise it will be soon, but I will mention you here in a post when it is working

                                            mituM T herb_fargusH 3 Replies Last reply Reply Quote 0
                                            • First post
                                              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.