Navigation

    TripleA Logo

    TripleA Forum

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

    delegates required - Resolved -

    XML Options Browser
    6
    14
    2006
    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 Mahks

      POS2 says some delegates are not required but I saw no indication of which.

      I would like to designate which are / are not.

      Anyone know about this?

      General_Zod 1 Reply Last reply Reply Quote 0
      • General_Zod
        General_Zod Moderators @Mahks last edited by General_Zod

        @mahks

        Each delegate represents a phase in the game. So if one is making a game without a bid phase, they simply exclude it. This principle applies to most of the delegates.

        However to make a functional game you probably at a minimum, need one initDelegate at beginning and one of each of the following, move, battle, endTurn, in the sequence for each player and one endRound at the end.

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

          So we do not know for sure if any are required (by the engine) , meaning needed or the engine will error.

          B General_Zod 2 Replies Last reply Reply Quote 0
          • B
            beelee @Mahks last edited by

            @mahks yea idk what's needed either. Trial and error is probably the way to go.

            Fwiw I do know you can have some players have different delegates and it still works.

            1 Reply Last reply Reply Quote 0
            • General_Zod
              General_Zod Moderators @Mahks last edited by

              @mahks

              I am not sure what will cause the game to give errors. But for a barebones game I would use the ones I mention above. Maybe developer can answer further.

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

                @general_zod I thought you were a developer. Who are the developers?

                prastle General_Zod 3 Replies Last reply Reply Quote 0
                • prastle
                  prastle Moderators Admin @Mahks last edited by

                  @mahks devs are @RoiEX @LaFayette @redrum @ssoloff but yes zod has been doing this long time as well

                  1 Reply Last reply Reply Quote 0
                  • General_Zod
                    General_Zod Moderators @Mahks last edited by

                    @mahks

                    I'm a player, mapmaker, lobby mod, forum admin, and 1of 5 triplea council members.

                    1 Reply Last reply Reply Quote 0
                    • General_Zod
                      General_Zod Moderators @Mahks last edited by

                      @mahks

                      Btw, we need more developers if you know java.

                      1 Reply Last reply Reply Quote 2
                      • Mahks
                        Mahks last edited by

                        I know nothing of java, how similar is it to javascript?

                        Also I'm not sure how I would work in a group environment. All my coding knowledge is self taught and my practises non-standard. Though maybe by learning java I could also learn standards? Probably not, being an old dog and all.

                        General_Zod 1 Reply Last reply Reply Quote 2
                        • General_Zod
                          General_Zod Moderators @Mahks last edited by General_Zod

                          @mahks

                          @redrum can fill you in on differences between java and javascript. I don't want to misinform you.

                          I think self taught is great. It shows you have the initiative and interest to learn.

                          Your assisting TripleA already by working on XOB. This is something we needed for a while. It will help people take full advantage of the TripleA platform by providing them with a friendlier method to learn the ropes. And to make new mods of existing maps and eventually brand new original maps. Which is one of it's coolest features aside from just playing.

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

                            @Mahks Despite the name, javascript is nothing like java ^^
                            However the basic syntax is pretty similar, it's a C-like syntax using curly brackets and semicolons I.e. If statements while and for loops still exist ^^
                            There's nothing wrong with self teaching, I started programming this way too.
                            If you're interested, I can give you an introduction to the triplea codebase and help you to get started, but contributing to the documentation is already enough help for now.

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

                              @roiex Yah, I'm already burning out...

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

                                @Mahks I believe just about all delegates are optional though at some point you wouldn't really have much of a game without at least some sort of move and battle delegates. I'm not sure if you can leave out the InitializationDelegate as I can't remember exactly what that does and if you can create a map without it. That might be the only 1 that is absolutely required though it would be hard to have a playable map without at least a few of the others.

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