Navigation

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

    Object placement, can I pick your brains?

    Help
    4
    17
    473
    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.
    • SteveZX81
      SteveZX81 F last edited by SteveZX81

      I guess it's a moot point now. it seems my map is how can I politely say it.. ..ruined..
      if I load the mapeditor, as soon as I select my map, fuze does a hard crash and if I just run my game I now get an error I never got before
      "Error:loadimage: attempt to load null FTXheader" Related function definitions: loadmap

      Which leads me to believe my map is stuffed.
      (nope, the map was fine. the issue was caused by me stupidly deleting an image that the map used. I wrongly assumed if I deleted it in the image editor, it would simply vanish from the map editor.)

      waldron 1 Reply Last reply Reply Quote 0
      • waldron
        waldron F @SteveZX81 last edited by

        @SteveZX81 iv had the same issue, you cant copy it or select it either straight to a crash. i really should of reported it but i thought i just did something wrong as my other maps have been fine

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

          @SteveZX81 Can you share it?

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

            @pianofire shared

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

              @SteveZX81 OK I have got it. Unshare it again if you like. I will take a look (no promises)

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

                @SteveZX81 OK I have a working theory on this. The map is referencing two images. One called tiles which exists and one called new which doesn't. Did you create an image called new add it to the map and then delete it?

                If you create an empty image called new I think that you should be able to open the map editor again!

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

                  @pianofire You are a hero! Thank you so much!

                  1 Reply Last reply Reply Quote 2
                  • Spacemario
                    Spacemario F @waldron last edited by

                    @waldron said in Object placement, can I pick your brains?:

                    @SteveZX81 press x while in the map editor and it will give you the co-ordinates by placing a flag

                    Whoa, this is a great tip. It took me two hours to place the entities in my game, because I was moving the character around via gameplay with my debug mode enabled (where I print the current X and Y player coordinates), then writing down the coords on paper.

                    Do you know if these flags be looped through via code? Then I could use the map editor to place entities too-- I could re-work my code to use the flags instead of my array coordinates for entity placement.

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

                      @Spacemario Yes they can but I haven't done an example yet: https://fuzearena.com/help/view/getMapLocationNames

                      I did this for the marked areas: https://fuzearena.com/forum/topic/749/new-marked-map-area-functions

                      It should be similar

                      Spacemario 1 Reply Last reply Reply Quote 1
                      • Spacemario
                        Spacemario F @pianofire last edited by

                        @pianofire Thanks so much for the info, and holy smokes, it will be amazing to use the map editor for entity placement too! I don't know how this feature flew under my radar!

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