piranha305's Forum Posts

  • Yes I see your point, I was think more of the user setting up that link, but getting the data from events would put the responsibility to handle that on addon dev. I will go back and create new suggestion, with more details about that specific use case. thanks

  • yeah i figured it would not be so simple, but it's always worth asking the question. In my opinion the best solution for this would be supporting enum type, https://construct3.ideas.aha.io/ideas/C3-I-207

  • Okay, so lets examine the root cause of what i was trying to achieve, in a way to goal is to setup a combolist that the user can populate at runtime (c3 runtime, no game run time) having the prepopulated list does not really ensure this.

    Let's take a practical example I have a finite state machine behavior, right now the states are defined as strings

    so there are ACES like go to state "string", on state "string" entered... it's up to the user to keep track of these dynamic strings. and they could remain strings but when typing them out it would be a better experience to have previously mentioned strings populated in the data list, the same purpose as function description.

    the same (but a bit more limiting) could be achieved with a dyanmically populated combo box

    where the user could do something like

    Add state "string", then in the addon code we can populate a data list array, then on a separate condition it could be on state "combo box" entered where that state it defined

    both of these approaches try and solve the same problem of helping the user manage user defined sets of values.

    a cleaner way of handling this situation would be some sort of Enum type, but that still would need to handle dynamic population of that data (not just hardcoded).

    I hope this illustrates the point i am trying to get across.

  • so that data list element, you guys must be populating that because no other text field in construct behaves like that.

    here is an exmaple :

    This text box element does not have the list attribute on it.

    but when we look at the function

    It has that list attribute, where you are passing "function-category-list", i am assuming this binds to an array on your controller or model

    as of now there is no way to populate that array from the sdk, my suggestion/request is have a different type of parameter where we can attach an array of strings to that list attribute on the text box to achieve the same effect of having intellisense.

  • Ashley

    So with the new Function Feature, the user experience of adding a new function is great, when typing in a description, you get intellisense for all previous descriptions you have typed. this is a great feature and could be something very useful for other 3rd party addon's to adopt. is there currently a way to implement something like this through the SDK? If this is not currently supported in the SDK, will there ever be a plan to implement this or something similar?

    Tagged:

  • No i dont think you can avoid having to refresh the page. C3 pulls the latest version of the addon when the app starts, and changes you make after don't get pulled.

  • Added Theme support in c3ide https://piranha305.itch.io/c3ide

  • I have gone ahead and reported it to avast as a false positive. I have been using McAfee and it has not triggered. I will wait to hear back from avast. thanks

  • that's great thanks

  • Will there be specifications on how to add the new async wait feature to javascript sdk? this is very awesome!! will it be as simple as marking the action function as async? or are there other requirements to signal the engine the work is done?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I have added a TODO to create a new template to support themes in c3ide, I will work on this next week!

    github.com/armandoalonso/c3IDE/issues/33

  • Can anyone create a Firebase plugin for Construct 3? I don’t understand scirra developers, they require a C3 subscription, but they don’t want to do the necessary plugins ... How can I make an online game with a database and honor boards if all the plugins from older developers such as rex_firebase work only on C2. Why do I then buy a subscription if there is no sense from your engine in online functions?

    there is a firebase plugin here, but it's paid made by

    construct.net/en/forum/construct-3/plugin-sdk-10/construct-master-collection-139046

  • construct.net/en/make-games/manuals/addon-sdk/runtime-reference/runtime

    The runtime function GetTimescale does not exists, GetTimeScale works with uppercase S.

    this drove me crazy for a bit.

  • okay that works, but it is overly verbose. in the meantime this is good enough. thanks