Navigation

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

    The Legend of Zelda

    Work In Progress
    5
    47
    3125
    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.
    • Juggalo_Jesus
      Juggalo_Jesus last edited by


      I am working on a Legend of Zelda inspired game.
      I would like to get make friends here in the Fuze Arena with other programmers/ coders that can help in the future to make this project come together. I have already hit road blocks with this as I don't know how to animate my custom sprites, set up the health system properly, make the magic meter functional, call enemies onto the screen, and so on and so forth.

      If you would like to help with this project please contact me but understand that I am not going to be releasing this code due to copyright issues with Nintendo as I don't need that and neither does Fuze4. I understand that this would make people not want to help with the project but I do promise a full play through video of the finished product.

      waldron 1 Reply Last reply Reply Quote 3
      • lawyerlounge
        lawyerlounge last edited by

        How come you coded the sprites with arrays like the hearts and magic meter and mastersword? Did you just pick that up yourself, or is there a tutorial that shows how to do that?

        pianofire Juggalo_Jesus 3 Replies Last reply Reply Quote 0
        • waldron
          waldron F @Juggalo_Jesus last edited by

          @Juggalo_Jesus looking good add me my code is on my profile.
          zelda is my favorite game series!!

          1 Reply Last reply Reply Quote 0
          • pianofire
            pianofire Fuze Team @lawyerlounge last edited by

            @lawyerlounge I think that they are using the uploadImage function. Details can be found here: https://fuzearena.com/help/view/uploadImage

            Juggalo_Jesus 1 Reply Last reply Reply Quote 0
            • Juggalo_Jesus
              Juggalo_Jesus @lawyerlounge last edited by

              @lawyerlounge to be honest with you the reason I did it this way is because I didn't like the built in image editor because I couldn't figure out how to use it properly and it felt like playing Mario Paint or something XD

              1 Reply Last reply Reply Quote 3
              • Juggalo_Jesus
                Juggalo_Jesus @lawyerlounge last edited by

                @lawyerlounge I also kind of picked it up myself by reading into some of the articles in the built in help section. Doing it this way though I have gotten stuck on how to animate the sprites.

                If anyone has any idea on how I can do this some help would be greatly appreciated.

                1 Reply Last reply Reply Quote 1
                • Juggalo_Jesus
                  Juggalo_Jesus @pianofire last edited by

                  @pianofire THAT'S IT! That's the one that taught me how to do it. It's allowing me to built very detailed sprites but I've gotten stuck on how to animate them. If you have any idea on how I can do this please help a brother out :P

                  pianofire 1 Reply Last reply Reply Quote 1
                  • SteveZX81
                    SteveZX81 F last edited by

                    Very nice indeed!

                    Juggalo_Jesus 1 Reply Last reply Reply Quote 0
                    • pianofire
                      pianofire Fuze Team @Juggalo_Jesus last edited by

                      @Juggalo_Jesus Have you had a look at this: https://fuzearena.com/help/view/setSpriteAnimation

                      Juggalo_Jesus 1 Reply Last reply Reply Quote 1
                      • Juggalo_Jesus
                        Juggalo_Jesus @SteveZX81 last edited by

                        @SteveZX81 Thanks! Lots of hard work is going into this as I'm a complete novice at coding.

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

                          @Juggalo_Jesus This might not work for you as you don't have tiled images.

                          My friend code is SW-5218-2817-5887. Have a look at my Defender demo

                          Juggalo_Jesus 1 Reply Last reply Reply Quote 0
                          • Juggalo_Jesus
                            Juggalo_Jesus @pianofire last edited by

                            @pianofire yes, I know of that but not sure how to use it since I am using arrays to draw the sprites... When you do it this way there are no tilesheets to work with which is what is breaking the entire project because since there are no tile sheets there are no tiles to set to the startTile or endTile. Could you explain further how this could be beneficial, if possible, without having a tile sheet?

                            1 Reply Last reply Reply Quote 1
                            • Juggalo_Jesus
                              Juggalo_Jesus @pianofire last edited by

                              @pianofire that's what I thought which is why I am running into this issue.... I can get it to animate once with an if statement but then it just sticks on what it animates to and doesn't go back. I don't understand coding enough to remedy this myself currently but I'm NOT giving up because I'm sure there is a way to do this this way, I'm just not understanding coding in general enough to accomplish it yet so it'll serve as a good learning experience.

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

                                @Juggalo_Jesus I have just liked all your posts so that your rep goes over 10 and you can post without moderation.

                                Juggalo_Jesus 1 Reply Last reply Reply Quote 0
                                • Juggalo_Jesus
                                  Juggalo_Jesus @pianofire last edited by

                                  @pianofire flippin sweet.jpg

                                  1 Reply Last reply Reply Quote 0
                                  • Juggalo_Jesus
                                    Juggalo_Jesus last edited by

                                    I can get a one frame animation with an if statement, if this helps anyone figure out a solution to how to animate these sprites drawn in this fashion.... I don't think I'm going to enjoy the built in image editor very much as it stands but that's my next task is learning how to use that instead of using my method.

                                    The way I'm getting the "one frame" animation is basically like this:

                                    if c.down then drawImage( image, playerX, playerY, scale )

                                    Whereas the image being drawn with the if statement is the second frame but I need it to transition from the first object being drawn to the second and back whereas if I use the if statement I am merely getting an object being drawn, transitioning to the second frame and then freezing, and so on and so forth. I know of "else" statements on the if's which I imagine is going to be the fix to this eventually but I've spent all day trying to wrap my mind around a solution and I just don't think I know enough about coding to figure it out on my own.... I'm going to continue to try to throw this around in my head while trying to learn how to use the image editor properly and reading some help articles and whatnot, I suppose. I don't want this project to die because it LOOKS promising so far. I just can't get passed this issue.

                                    Juggalo_Jesus 1 Reply Last reply Reply Quote 0
                                    • Juggalo_Jesus
                                      Juggalo_Jesus @Juggalo_Jesus last edited by

                                      @Juggalo_Jesus this is what I mean by "One frame", btw.

                                      pianofire waldron 2 Replies Last reply Reply Quote 0
                                      • pianofire
                                        pianofire Fuze Team @Juggalo_Jesus last edited by pianofire

                                        @Juggalo_Jesus In the example that I have shared the way I did it was using the Sprite engine but animating it myself by switching the image. So something like this:

                                        ship = createSprite()
                                        shipImage = []
                                        // loadImageData using uploadImage()
                                        // In this case there are 3 frames shipImage[0], shipImage[1] and shipImage[2]
                                        ship.ImageNo = 0
                                        ship.FrameCount = 3
                                        tick = 0
                                        
                                        loop
                                          clear()
                                          if tick % 10 == 0 then // update every 10 cycles
                                            setSpriteImage(ship, shipImage[ship.ImageNo])
                                            ship.ImageNo = (ship.ImageNo + 1) % ship.FrameCount
                                          endif
                                          updateSprites()
                                          drawSprites()
                                          update()
                                        repeat
                                        
                                        Juggalo_Jesus 1 Reply Last reply Reply Quote 1
                                        • waldron
                                          waldron F @Juggalo_Jesus last edited by

                                          @Juggalo_Jesus I had the same issue but if you use the tiled sheet on the editor draw your sprite then drag out another box copy paste then your creating your animation

                                          1 Reply Last reply Reply Quote 1
                                          • Juggalo_Jesus
                                            Juggalo_Jesus @pianofire last edited by

                                            @pianofire This code is looking promising and more like what I'm looking for. I'm going to try to apply this to what I've got and get it running and see if it's what I'm looking for. Thanks for the input and if it works I can't thank you enough.

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