TripleA Logo TripleA Forum
    • TripleA Website
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Tags
    • Register
    • Login

    A new Javascript build from the ground up

    Scheduled Pinned Locked Moved Feature Requests & Ideas
    17 Posts 7 Posters 3.1k Views 6 Watching
    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.
    • PantherP Offline
      Panther Admin Moderators @aardvarkpepper
      last edited by Panther

      @aardvarkpepper said in A new Javascript build from the ground up:

      and I'll be doing JavaScrip

      That would allow for playing in a browser or as standalone app using browser technology (Electron), isn't it?

      Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

      aardvarkpepperA 1 Reply Last reply Reply Quote 0
      • aardvarkpepperA Offline
        aardvarkpepper @Panther
        last edited by

        @panther

        Yes.

        I'll be building a lot of server connectivity into the application as part of my portfolio project, and I expect I'll be porting to a different language after a year. So parts of it won't be browser standalone. But singleplayer won't require online connectivity.

        PantherP 1 Reply Last reply Reply Quote 0
        • PantherP Offline
          Panther Admin Moderators @aardvarkpepper
          last edited by

          @aardvarkpepper Sounds good. Would that require the current game-xml-files to be "rewritten" in JSON ?

          Don't always trust TripleA when it comes to rules questions. Know the rules before you start … and better check what TripleA has done.

          aardvarkpepperA 1 Reply Last reply Reply Quote 0
          • aardvarkpepperA Offline
            aardvarkpepper @Panther
            last edited by

            @panther

            I'd never require anything of TripleA developers.

            The way I figure it, I build out my portfolio project, get implementation suggestions from developers and feature suggestions from the community. If the project works and becomes popular, then I'll definitely be looking at .xml and JSON.

            If my project depended on TripleA data files, then I think the GNU General Public License might apply. Wouldn't want that. But I believe compatibility with TripleA data files would effectively bring loads of existing assets to my project without my needing to surrender license rights.

            RogerCooperR ubernautU 2 Replies Last reply Reply Quote 0
            • RogerCooperR Offline
              RogerCooper @aardvarkpepper
              last edited by

              @aardvarkpepper If I understand things correctly, XML files can be automatically converted to JSON.

              1 Reply Last reply Reply Quote 0
              • ubernautU Offline
                ubernaut Moderators @aardvarkpepper
                last edited by

                @aardvarkpepper content would be covered by copyrights of original creators if i'm not mistaken

                "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                aardvarkpepperA 1 Reply Last reply Reply Quote 0
                • aardvarkpepperA Offline
                  aardvarkpepper @ubernaut
                  last edited by

                  @ubernaut If you're referencing copyrights of original creators for mod files for TripleA (like BigWorld and such), good point. (Was that what you were referencing?)

                  Doing things properly would require contacting all authors involved with a mod and obtaining their permission before trying to port anything over. Even if it weren't a matter of legality, it would be proper.

                  Thanks for making the point. If that's not what you were referencing, oops. (But a good point to consider regardless.)

                  ubernautU 1 Reply Last reply Reply Quote 0
                  • ubernautU Offline
                    ubernaut Moderators @aardvarkpepper
                    last edited by

                    @aardvarkpepper yup 🙂 interested to see what u r cooking up!

                    "You should never have told me horses sleep standing up, it gave me a mental block." - Mister Ed

                    1 Reply Last reply Reply Quote 0
                    • LaFayetteL Online
                      LaFayette Admin
                      last edited by LaFayette

                      Recommend this reading: https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/

                      I'm a bit concerned you'll find the "90% done, 90% left to do" could become a problem. Notably the scope of what you are undertaking is quite a lot. Generally I think we will be best off by continuing to modularize the larger components in TripleA which would then allow us to divide-and-conquer and rework those components in more isolation.

                      There is no issue if you write something that is able to read map XML files. Though, the XML format is highly coupled to the internal representation of the game, so you will likely find that it's unnecessarily convoluted (for a ground-up project) and not necessarily flexible in ways you might want. I suspect the game (java) representation was done prior to the XML representation and hence it not being a good generic fit.

                      Right now there is no way to represent the save game state as JSON. The idea to move the game state to be a series of 'deltas' would be to change the way saves are stored on disk. Notably instead of having an absolute record of truth (the one game save representing the latest state), it would be more of a ledger system. Bank account balances work that way, the bank does not store "you have $10", they store "you started at 0, then added 2, then subtracted 1, then added 9"

                      B 1 Reply Last reply Reply Quote 2
                      • B Offline
                        beelee @LaFayette
                        last edited by

                        @lafayette lol that guy is a funny read :grinning_squinting_face:

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • 1 / 1
                        • First post
                          Last post
                        Copyright © 2016-2018 TripleA-Devs | Powered by NodeBB Forums