WackyToaster's Forum Posts

  • If you make something akin to Sokoban why would you use Pathfinding though?

    In any case, it´s hard to say what works because I don´t know how your project is set up.

    One-ways could be done by checking "if player.X > one-way.X -> Set one-way solid, else set not solid." (This will work for a one-way only allowing you to pass from the left. Other directions need extra checks)

  • There is a chance that you start the animation over and over, instead of only once. It´s best if you make a little demo project that shows your issue.

  • Haven´t tried any of it but someone posted a nice step by step here: stackoverflow.com/questions/43046097/post-request-to-github-api

    So you would use AJAX to do all the requests.

    I personally would think of an easier way, unless it is mandatory for you that the issues are posted on github. For example, you can set up an email address that you send the bugreports to, or have a simple mysql database setup that adds a row for each new report. The coding needed for that is really basic, especially compared to dealing with a 3rd party API.

    Also I found this: fire.fundersclub.com You could use it with the mentioned send email approach and the issues will be posted on github. Haven´t tested it but it looks super simple.

  • 1000 IQ condition right here.

    Jokes aside, I like compare two values.

  • Yes, this is indeed awesome af. I hope it´s relatively easy to switch over/convert from the old functions to the new one.

  • There is a chance that it´s a bug. I noticed something similar with tiled background appearing black in nw.js in fullscreen. I dismissed it though since It was running on my 10 year old Macbook and it was already on the verge of bursting into flames just from the drawcalls.

    Can you try different devices and such?

  • Lol, for me it´s the other way around, I used to hit regularely but since a while now it never happened again. It´s probably just a fluke.

  • Depending on what exactly you need to have saved the save function might be a bit overkill. I never really used it but iirc it acts like a snapshot of the entire current gamestate (like the one you can make in the debugger) that saves pretty much everything, unless you specifically give it the "no save" behavior.

    construct.net/en/tutorials/savegames-11

    construct.net/en/make-games/manuals/construct-3/behavior-reference/no-save

    In your case you only want to save money (number) and a list of levels that are either locked or unlocked (Array) so what you can do is use local storage and just save/load the data. This will also make your saves much smaller, since you only save exactly what you really need.

  • Give them an ID when they are created and then do this

  • I don´t think it´s possible (or recommendet). The app is suspended when the screen is locked, maybe it´s possible to write a plugin for that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I use notepad++

    The shortcuts sound useful though

  • Is your sever Https ? (Secure server)

    This could absolutely be it. And yeah, you should check the browser console.

    Also there are chrome settings/plugins that disable cors, might be relevant in case you don't wanna buy ssl. Use only for testing your game though, cors is there for a reason!

  • Is there something about C3 on construct.net that prevents ajax from working?

    Defenitely not, as it works for me. But it´s hard to tell what´s wrong here. The file could be cached for example, try opening it in your regular browser and hit Ctrl+F5 to force it to reload and try again. But it should defenitely work since I don´t have that problem.

  • Sure you can, try this.

  • Your easiest bet are using Physics I´d say.

    wackytoaster.at/parachute/physicsSpawn.c3p

    Another option might be the custom movement behavior since it has a "push out of solid" action, but that action happens instant so it isn´t smooth.