Tomycase's Forum Posts

  • TheRealDannyyy Sorry for the mention but I know that you are very familiar with NWjs, and that maybe you can enlighten me on that topic

  • Since the v0.48, I noticed that this folder was created at runtime when starting a NW.js game :

    Altho it is not a problem by itself, I like to package my games in a single exe file for convenience reasons, but when doing so, this folder is now created wherever the single exe is placed, since the original folder inside the package can't be reached anymore, and I find it a bit intrusive/bothersome to have that folder created each time on the user's desktop or any folder they chose to put the game in.

    My question is, what's that folder for? And is there a way to toggle off its creation? Thanks ~

    Tagged:

  • I couldn't find an answer for this specific problem on the forum, basically once your character is hooked to a roof, I want it to be able to start swinging in the direction pressed (left or right) and be able to increase the force of the swing by pressing the correct direction (check the game Gravity Circuit which released recently for an example); thanks for your help -

    EDIT: Actually nevermind, I found what the problem was, if anyone is interested I can share the capx ~

    Tagged:

  • Hello, my question is less about how to program the actual battle screen, and more about what would be the best method to switch from the overworld layout to the battle screen, then go back to it after the battle is over with eventual variable/items changes;

    I have considered some methods like global layers, save/load system actions, but they have many inconveniences, and honestly not sure which would be best, if you have some recommendations or even methods I missed, thank you for sharing!

  • Hey there, reduce the magnitude of the sine and change the object position

  • Understood, thanks for the info!

  • I can't open the project, it says it doesn't recognize the format, does it requires the full version of C3?

  • Thanks for that method, but I found how to adapt winstreak logic for the engine needs;

    Thank you both for helping!

  • It's way more straight forward than that, each weapon have the same amount of max energy, and they recover energy all the same, but that's not the focus here :

    in your example, since index 3 =1, it contains the lowest value of the four indexes here, how would I retain that index from comparing the array values?

    Not sure I understand your example tbh

    EDIT : I think I get how your method works but not sure, I'll have to experiment with it, thanks for the answer ~

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am currently working on a Megaman X-type game, with multiple weapons, each having its energy gauge;

    When you get an energy pick-up, and your weapon energy is already full, it picks the weapon in the list that has the lower energy quantity and recharge this one instead;

    Until then I used objects by checking which one has its variable the nearest to 0, but I wanted to know if there is a way to do the same by comparing values in an array, and retain the X index of the cell that contains the nearest value to 0?

    Thank you for your time ~

    Tagged:

  • Use Platform behavior, on landed, set ball vector Y to a fixed negative value, so it will always bounce the same way everytime it lands

  • It's going to be hard to help you without screenshot of your code or a gif/video or the bug;

    If you're confortable enough you can share your file, that's the easiest way to proceed;

    Before doing that tho, check your sprite origin for this specific animation

  • Mh, in that case using a sprite would be easier if the goal is to trap sprites into that area

  • Is it something you want to do with the canvas plugin?

  • Depending how you spawn those lines, you can use their IID (first instance is 0 and goes on) to determine which one was first, then IID 2 would be the opposite corner, then you proceed in two steps :

    Pick instance 0 to spawn the rectangle, pick instance 2, check the distance with the spawned rectangle and change its dimensions accordingly