Gladatus2512's Recent Forum Activity

  • does it work to if the Enemy is already in the layout at start of layout?

  • So i have a system, in which at the start of the layout for each the same type of enemy it creates a healthbar above it, now i set it to only create 1 doing the start of the layout.

    in order to make the healthbar follow the enemy ive set it to

    Every Tick: set Enemy Healthbar position to "Enemy.X and Enemy.Y"

    this is how the healthbar follows it and it may be of importance to the problem.

    now whenever one of the specific type of enemy is killed it sets its position to another enemy of the same type.

    On Enemy "Health" Equal or Less to 0: "Enemy" Destroy

    if i set the healthbar to destory with the enemy, it instead just destorys all of the healthbars, the code is:

    is there a way to make the EnemyHealthbar Destroy with the Slayed Enemy without Destorying the other Healthbars on other Enemies?

    i hope i descriped this as well and is understandable, and idk if there is a way to take screenshots of the instances and actions on the event sheet.

  • i actually did figure out a way to solve the problem. but thank you anyway ^^

  • 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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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?

Gladatus2512's avatar

Gladatus2512

Member since 17 Jan, 2021

None one is following Gladatus2512 yet!

Trophy Case

  • 3-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

7/44
How to earn trophies