Navigation

    TripleA Logo

    TripleA Forum

    • Register
    • Login
    • Search
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags

    flag image file ext

    Map Making
    5
    15
    1885
    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.
    • Mahks
      Mahks last edited by

      I noticed on some maps flags are .gif and some are .png, but the xml file does not specify which. So is the engine testing for every type of image when it loads these?

      redrum 1 Reply Last reply Reply Quote 0
      • redrum
        redrum Admin @Mahks last edited by

        @mahks .gif and .png are the only 2 that are supported and checked for.

        1 Reply Last reply Reply Quote 0
        • RoiEX
          RoiEX Admin last edited by

          As a supporter of the png format:
          We should drop gif support 😛
          (But really migrate the existing images to png!! Because of the filesize and color variety)

          C 1 Reply Last reply Reply Quote 1
          • C
            Cernel Moderators @RoiEX last edited by

            @roiex What do you mean? Dropping gif support for flags or generally or for what cases?

            1 Reply Last reply Reply Quote 0
            • RoiEX
              RoiEX Admin last edited by

              @Cernel I was just joking ^^
              But PNG really is superior to gif

              C 1 Reply Last reply Reply Quote 0
              • C
                Cernel Moderators @RoiEX last edited by

                @roiex Not necessarily. There is 1 thing PNG cannot do. Look at the notifications of Iron War.
                Something like "WebP" would be absolutely superior to GIF. Would it make any sense to make a feature request to support "WebP", or just no way for java?

                C 1 Reply Last reply Reply Quote 0
                • C
                  Cernel Moderators @Cernel last edited by

                  Meaning PNG is superior to GIF except only for the fact that it doesn't support animations.

                  1 Reply Last reply Reply Quote 1
                  • RoiEX
                    RoiEX Admin last edited by

                    @Cernel I don't think such a feature requests would be feasible right now, simply because SWING is a very old framework that doesn't support new standards.
                    After an UI Migration this might be possible but we don't know yet.

                    Are there some maps using gifs for animations?

                    C 2 Replies Last reply Reply Quote 0
                    • Frostion
                      Frostion Admin last edited by Frostion

                      Yes, the notification mini movies in Iron War are gif animations.

                      EDIT: I think that rotating globe that one of the maps has is also gif, but I'm not sure.

                      Just out of curiosity, can unit images be animated? Or flags etc. I have only seen animations in notes and notifications.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Cernel Moderators @RoiEX last edited by

                        @roiex Are there any other ways at all but GIF to have animations, currently?

                        If the answer to my question is no, then the answer to your question is that all maps having animations are using gif.

                        @Frostion Unless recent changes, I tested all ways and animations on board (like having animated flags or units or decorations) never appeared to work. Only in notes or notifications.

                        1 Reply Last reply Reply Quote 1
                        • C
                          Cernel Moderators @Frostion last edited by

                          @frostion Yes. Unless I'm unaware of other rotating stuff, the rotating globe of World At War is a gif, as I'm not aware that can be made any other ways.

                          1 Reply Last reply Reply Quote 0
                          • RoiEX
                            RoiEX Admin last edited by

                            Yeah, I don't think gifs in map images are possible from a code perspective either.
                            We're loading in the images during the loading of the map and draw it a single time when needed. So animations don't seems to be possible except in HTML contexts

                            C 1 Reply Last reply Reply Quote 0
                            • C
                              Cernel Moderators @RoiEX last edited by

                              @roiex I also tried for an animated gif for the cursor and animated images of rolling dice for the custom dice images, but they didn't work, either.

                              1 Reply Last reply Reply Quote 0
                              • C
                                Cernel Moderators @RoiEX last edited by

                                @roiex said in flag image file ext:

                                After an UI Migration this might be possible but we don't know yet.

                                Cool. My suggestion would be keeping an eye open for anything that allows animation and it is not as limited as GIF. Like the possibility to have videos (MP4?) in the notifications (sounds are already supported), if not "WebP" images.

                                1 Reply Last reply Reply Quote 0
                                • Frostion
                                  Frostion Admin last edited by

                                  In regards to a new UI and videos, it might also be nice to be able to embed YouTube video into the notes or notifications. Perhaps this could be useful for examples, tutorials, map intros and stuff 🤔

                                  1 Reply Last reply Reply Quote 0
                                  • 1 / 1
                                  • First post
                                    Last post
                                  Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums