Gladatus2512's Forum Posts

  • its rather simple.

    i have a system in which you can change the controls

    you click on "acceptbutton" first over the wished action

    and it clears the keycode, in which you click a new button to change it to

    seen here:

    and once the button has been changed it will be that button you gotta press to perform the action, However when you exit the Change the controls function ( the button is saved, but the texts that show which actions is which is reverted back to the default one, It still saved the function of clicking the button.

    how do i fix that?

  • I still havent Figured it out, but i might suspect it has something to do with there being too many of the same Enemy overall in the same layout...

  • So i got a Stage,and Enemies, Enemy A, (BlueSwordGuy) Enemy B (BlueBowGuy) And Enemy C (BlueMageGuy) in which there are two Areas where you have to slay enemies in order to progress, you cannot continue untill its done. the first one goes fine without any noticable slowdowns in framerate, but the second one it slows down a more whenever a "Enemy A" is on screen, that does not happen when it is a Enemy B or C?

  • I happen to notice to speed of the game slow down at times doing the Run of the Game where you play as the Character. which include.

    Running into a Certain Enemy. at a Specific area.

    the framerate drops, what can i do to keep it have a reasonable speed and be more Consistent?

  • thank you so! it actually helped, had some trouple with it first but now it works

  • Sorry for not answering on my last post btw. so i made a system where Player takes Damage whenever hes hit by an attack (Hitbox) and A Health system as well, but i had planned of making a system where Player can equip armor and gain Protection However, as i am going with a % system i fail to find a way to make it work. let me explain

    so let say an Enemy has 100 Damage, and Player has 10% Protection, 10% of 100 = 10 (Simply enough) the enemy should be dealing 90 damage to the player then.

    Now lets say its 150 Damage instead and if the Protection is the same it would be 135 Damage dealt.

    but back to 100 damage and 20% it would be 80 damage.

    i think you get the idea but i dont know a way to tell the System to decrease the Player health by %

    Note also i have a System for The Armor Items where there is a Variable based on the Protection Value

    But anyways i hve tried with

    On Collission with Enemy_HitBox. Subtract 100 * "ProtectionValue"

    On Collission with Enemy_HitBox. Subtract 100 - 100 * ProtectionValue

    ( ProtectionValue being Lets say "8" to decrease the value of the damage to 92% of 100, i did "Subtract ProtectionValue * 0.1 and it will give 0.8, and that seems to have worked for me in the past) but i keep ending up with wrong results, being either not subtracting anything, or Subtracting way too much Health.

    does anyone know an answer to this, i hope i explained it well enough, since its kinda hard to explain without being able to take screenshots? what do i do?

  • ill show a screenshoot when i can

  • I tried with the Debugger and it works okay, although the actions of my characters are does the actions when keys reliased, which it is are not supposed to do.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • my layout start out normally but in the matter of about 10 second slows down, idk if it has anything to do with how huge the layout is or if it is because i got many sprite there or in general. maybe a little list on what could cause it would be helpfull?

  • Thanks you very much, that actually helped

  • I made a a Mechanic with Pushable object, the Player can push/Pull the Object, which works, except for one little Problem.

    when the are 2 of Said Object's on the screen and the Player pushes one, they both move.

    how do i fix that?