RTS update #1: architecture

You're viewing a single comment in a conversation. View all the comments
  • 3 Comments

  • Order by
  • Sounds promising.

    One of my projects used C3 MP to create a server and client. Same game and mostly same code, but the server had some more features.

    It will be really great to see a client-server RTS game from C3. Will it be possible for some users to separate the server code and run it on a server instance?

    I.e. instead of client-host, there will be 2 C3 clients and 1 C3 host that acts as a server and links the 2 clients together.

    • Suggestion: I like event sheets, but I still can't wrap my head around all the available JS APIs. I already know ES, and I don't want to learn C3 API from scratch. Is there a way to show which events/action relate to which API; so you help users make an easier transition (if needed) to JS from an ES background?

      Blender are doing something super great with their script API: when you hover over a UI button in the editor, it will show a description tooltip which also includes the API call corresponding to this button.

      This is actually how I learned their scripting! I made the 3D object I wanted using UI, then hovered over them to know their corresponding API calls, then coded them.

        • [-] [+]
        • 3
        • Ashley's avatar
        • Ashley
        • Construct Team Founder
        • 3 points
        • (0 children)

        Events don't really translate to clean or readable code as they are a completely different paradigm. However in many cases the APIs for specific plugins and behaviors relate closely to corresponding actions and expressions.