piranha305's Forum Posts

  • fingerskier Okay I think I might know what might be happening, so when you make changes to the addon code in c3ide, you need to click on the button that says (Compile Only)

    this process get ran when you click Test C3 Addon, that step is what create the actual files that will be served to construct. this is needed because the way c3ide handles the addons files differs from the final structure of the actual addon. its what combines all the aces into the ace.json/the lang.json/ and the actual implementations, so when you make changes in order for it to be reflected in files the web server is sending to construct you need to rerun this step. (you can leave the web server on while you run this process)

    Also There is a setting in options called Compile on Save (which will do this automatically when you save the project), so you can just start the web server, and when you make changes and save, it should good to go on the web server. i don't recall if you still need to restart construct, i don't recall if they cache the dev add when it loads?

  • fingerskier I just pushed out an update to c3ide to set "Cache-Control: no-store" header to all the responses, please let me know if you run into any issues!

  • You can probably simplify all those creates actions, by adding an instance variable to the thumbnail (with the name of Meme) then on Mouse Click - Create Object By Name and pass in the instance variable of the thumbnail.

  • yeah a feature request would be a good idea, but all my votes have already been used on other bigger features, plus these smaller feature request sometimes get overlooked, because everyone wants the shiny cooler things (including myself).

  • Yeah ended up with a different solution using properties on the tiled behavior itself and foreach because I had multiple instances. but all is good now.

  • Is there a way to check when the tiled behavior completed a movement? I was expecting an on movement finished trigger. I guess I have to use extra variables to keep track of it? Or is there some other way to check when the movement finishes?

    Tagged:

  • Currently I see setters for all the properties but not for "Ping Pong"/"Loop" setting of a tween, is there currently a way to modify these properties after the tween has been defined?

    Tagged:

  • Working on the team customization aspect of my American football game. Able to edit the team's primary/secondary color scheme (impacts the endzone color and fan attire), you can customize the team's uniform, and there is a logo editor so people can make their own them. I want to make sure players can export or share their team's, still think of a good way to accomplish this.

  • that is a great idea, thanks!

  • I have been using custom instance events to make code more modular, and reusable. and adding event listeners has worked well, but I have a use case now where I need to stop listening to the custom event dynamically and calling the removeEventListener function on the instance does not remove the event.

    I have tried several ways, the signature of removeEventListener needs the event name and what seems to be the callback function reference.

    does the callback function need to the exact same reference of the function that was added? is there a way to remove the event without passing the same reference? I have attached an example project that demonstrates the events firing, and the listeners reacting to it, but when I try and remove the listener it does not find it in the listenerSet map and never removes it. even though it's there

    https://drive.google.com/file/d/1raLxb-q0xprDKsxlneSON7MDikwXh8ee/view?usp=sharing

    Tagged:

  • One thing you can check is, open the dev tools (f12), there should be an application tab, you should see IndexDB if you expand it, there should be an item called localforage - https://editor.construct.net, if you select it your going to see a list of key-value pairs there should be one called c3-dev-addon-list, make sure your dev addon is not there, you can also remove that property manually (but it will remove all your dev addons)

  • > you can use groups and enable them when the player reaches the second level.

    >

    > https://www.construct.net/en/make-games/manuals/construct-3/project-primitives/events/groups

    May I know how to do this? Can please provide steps?

    here is a super simple example

    drive.google.com/file/d/1st6MuAx0zBiRvPHupojgi4JYiEufREoj/view

    there are 2 layouts one eventsheet, the weapon logic is inside of a group and it is only enabled when you pick it up (in layout 2)

  • you can use groups and enable them when the player reaches the second level.

    https://www.construct.net/en/make-games/manuals/construct-3/project-primitives/events/groups

  • Hey I have an old project I never finished that has a blackjack implementation.

    https://drive.google.com/file/d/1Rcej5rus6KWrt-2kfzsYQet9mivsaaBc/view?usp=sharing

    there should be a blackjack event sheet for the minigame, if you wanted to run the game you need to start it from the menu layout, it was going to be an idle clicker / gambling game which I have abandon (but the blackjack part should work)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That's pretty awesome!