• 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.
  • P
    Parabolaralus
    last edited by 13 Feb 2019, 18:08

    @Rincewind
    I just wanted to say thank you for making this game! I got a chance to play it last night and its pretty freaking awesome!!!!

    1 Reply Last reply Reply Quote 1
    • R
      Rincewind @pjft
      last edited by 14 Feb 2019, 10:24

      @pjft I am not so keen on making a player enter their name before they start, I think that slows down gameplay a bit. Players probably won't get a high score every time they play.

      I like the idea of storing the player's name for the current session after they have got a high score, the name can be suggested as the default when the player needs to enter their high score again. Also I am sure I can figure out a way of displaying names of the usual players as quick options. The only thing is that screen space is limited, because I my high score prototype allows up to 4 players to enter their high score at once. I'll post a image of the prototype tonight (probably 16:00 GMT) and details on how to test it if you are interested.

      P 1 Reply Last reply 14 Feb 2019, 10:25 Reply Quote 1
      • P
        pjft @Rincewind
        last edited by 14 Feb 2019, 10:25

        @Rincewind Yeah, that's wise. You're right.

        Thanks!

        1 Reply Last reply Reply Quote 1
        • R
          Rincewind
          last edited by Rincewind 15 Feb 2019, 09:45

          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
          
          J E 2 Replies Last reply 15 Feb 2019, 11:06 Reply Quote 3
          • J
            Jono @Rincewind
            last edited by 15 Feb 2019, 11:06

            @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

            R 1 Reply Last reply 15 Feb 2019, 12:24 Reply Quote 0
            • R
              Rincewind @Jono
              last edited by 15 Feb 2019, 12:24

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

              Install from source and you should have the change.

              J 1 Reply Last reply 15 Feb 2019, 13:10 Reply Quote 1
              • J
                Jono @Rincewind
                last edited by 15 Feb 2019, 13:10

                @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 :)

                R 1 Reply Last reply 15 Feb 2019, 18:32 Reply Quote 0
                • R
                  Rincewind @Jono
                  last edited by 15 Feb 2019, 18:32

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

                  R 1 Reply Last reply 15 Feb 2019, 19:03 Reply Quote 0
                  • R
                    robertvb83 @Rincewind
                    last edited by 15 Feb 2019, 19:03

                    @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

                    R 1 Reply Last reply 16 Feb 2019, 09:14 Reply Quote 0
                    • N
                      neonlightning
                      last edited by 15 Feb 2019, 19:15

                      to note it compiles fine on odroid aswell :)

                      R 1 Reply Last reply 16 Feb 2019, 09:18 Reply Quote 0
                      • C
                        celly @Rincewind
                        last edited by 15 Feb 2019, 19:57

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

                        Currently Playing: Tetris (Gameboy)

                        1 Reply Last reply Reply Quote 1
                        • R
                          Rincewind @robertvb83
                          last edited by 16 Feb 2019, 09:14

                          @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.

                          R 1 Reply Last reply 16 Feb 2019, 10:01 Reply Quote 0
                          • R
                            Rincewind @neonlightning
                            last edited by 16 Feb 2019, 09:18

                            @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
                            • R
                              robertvb83 @Rincewind
                              last edited by 16 Feb 2019, 10:01

                              @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

                              R 1 Reply Last reply 16 Feb 2019, 18:51 Reply Quote 0
                              • T
                                ts-x
                                last edited by 16 Feb 2019, 17:35

                                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.

                                R 1 Reply Last reply 16 Feb 2019, 18:46 Reply Quote 0
                                • R
                                  Rincewind @ts-x
                                  last edited by Rincewind 16 Feb 2019, 18:46

                                  @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 16 Feb 2019, 20:36 Reply Quote 0
                                  • R
                                    Rincewind @robertvb83
                                    last edited by 16 Feb 2019, 18:51

                                    @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.

                                    R 1 Reply Last reply 17 Feb 2019, 18:50 Reply Quote 0
                                    • T
                                      ts-x @Rincewind
                                      last edited by 16 Feb 2019, 20:36

                                      @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!)

                                      R 1 Reply Last reply 16 Feb 2019, 21:08 Reply Quote 0
                                      • R
                                        Rincewind @ts-x
                                        last edited by Rincewind 16 Feb 2019, 21:08

                                        @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

                                        M T 2 Replies Last reply 16 Feb 2019, 21:23 Reply Quote 0
                                        • M
                                          mitu Global Moderator @Rincewind
                                          last edited by 16 Feb 2019, 21:23

                                          @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
                                          63 out of 101
                                          • First post
                                            63/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