RTS update #1: architecture

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

  • Order by
  • 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.