Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    First project

    Work In Progress
    13
    41
    2136
    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.
    • C
      chiizujin last edited by chiizujin

      @pianofire That does indeed fix the crash, I owe you a [insert intoxicating beverage of your choice]!

      This looks like the same thing as something I encountered once before but then I believed it to be the array that was the problem (putting a struct back into an array unchanged). When you are standing still the controls state struct is repeatedly being put back into the variable unchanged. If I'd just made that mental leap I would've saved myself a lot of grief.

      Apologies if I came across negative in my last post (I was trying not to) but I was feeling pretty burned out chasing this one around. Thank you very much for looking into this!

      As a side note, I was initialising last_controls with last_controls = controls(0) but that seems to result in a reference to controls(0) rather than a copy which meant controls(0) and last_controls were always the same so buttons never triggered. This is a bit odd because that's how I was initialising it before and they were triggering fine. Still, it's all working now and I don't want to put any more brain power into working out exactly what's going on there. :p

      Anyway, I've submitted the fixed version which also includes the finished version of the level I was working on before my brain exploded. If anyone has played all the levels I'd be interested to know how you are finding it difficulty-wise. The first level is just meant to introduce mechanics without necessarily being challenging.

      Thanks again, pianofire!

      1 Reply Last reply Reply Quote 5
      • pianofire
        pianofire Fuze Team last edited by

        This is a great game and a major nostalgia trip for those of us remember Repton. I am struggling a bit with the end of the fourth level. Excellent work and with huge potential for adding more levels.

        1 Reply Last reply Reply Quote 0
        • C
          chiizujin last edited by

          I've resumed work on the levels so more will be coming.

          I've also got some documentation to put in for anyone who wants to create their own set of levels and re-release it. That's why there's a credit for level design on the intro screen.

          1 Reply Last reply Reply Quote 3
          • C
            chiizujin last edited by chiizujin

            I've just realised that (I think) the file used to store the high score also gets shared with the project. If you want to reset the high score, change the constant RESET_HIGH_SCORE to true and run the game once, then set it back to false. In future I'll reset it before sharing.

            Edit: The previous version hadn't yet been approved so I've submitted a new one with a reset high score and a new level.

            It also fixes a bug that prevented the high score resetting correctly :p.

            The new is version 1.2.

            Martin 1 Reply Last reply Reply Quote 1
            • vinicity
              vinicity F last edited by

              Played it now! Great game, and some really great (and hard) levels.

              1 Reply Last reply Reply Quote 0
              • C
                chiizujin last edited by chiizujin

                Version 1.3 is now live with another new level, for a total of 6 so far.

                I think I'm going to aim for 10 levels for the final version, though I'll probably continue to release each one as I complete it.

                1 Reply Last reply Reply Quote 7
                • BildoCZ
                  BildoCZ last edited by

                  Repton. very good game ZX Spectrum !

                  1 Reply Last reply Reply Quote 1
                  • vinicity
                    vinicity F last edited by

                    You should add it to The Great List of Game Codes!

                    1 Reply Last reply Reply Quote 2
                    • Martin
                      Martin Fuze Team @chiizujin last edited by

                      @chiizujin said in First project:

                      I've just realised that (I think) the file used to store the high score also gets shared with the project.

                      As far as I know this is correct, yes. It's something that I've never been keen on but it's the choice that was made so it's what we have.

                      1 Reply Last reply Reply Quote 0
                      • PickleCatStars
                        PickleCatStars F last edited by PickleCatStars

                        Is that a thing that’s going to stay? It would make my level creation a lot easier if so...

                        Martin 1 Reply Last reply Reply Quote 0
                        • Martin
                          Martin Fuze Team @PickleCatStars last edited by

                          @toxibunny said in First project:

                          Is that a thing that’s going to stay? It would make my level creation a lot easier if so...

                          I'm not aware of any plans to change the current behavior

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post