viperwar's Recent Forum Activity

  • Hello guys

    I create a game and export it to exe

    The game dosn't have any lag or freezing when i open it on browser

    But when i open it on exe sometimes the game going to be freeze for 10 second! Just like i pause the game and after that the game goes back from freezing

    Why i have this problem and how can i solve it?

    Thx all

  • i update my last post ...

  • update ...

    i set that when distance between player.x , y and bullet.x,y is grater than 400 bullet destroy

    but this events destroy all of bullet that create every 0.1 second

    so the fire isn't smooth and it flash every 0.1 second because construct don't know every 0.1 second create or destroy bullet !?

    how can i fix this problem ?

  • thanks alot

    it was very easy i forgot distance expression :D

  • hi

    i want to create a boundary for my bullet that player can fire in the boundary lines

    and when the bullet is out of the boundary it will destroy

    just like this picture :

    how can i do this ?

    <img src="http://www.uploadtak.com/viewer.phpfile=g3276_boundry.jpg" border="0" />

  • THX alot i solve it <img src="smileys/smiley4.gif" border="0" align="middle" />

  • plz help me ....

  • Thanks you All

    ((you need to keep checking the score, then check to see if you already increased the health for that range. I'd make 2 variables. "PlayerLevel" that tells you which range you are in: (score / 100) then you need to round down. i.e. 950 / 100 is 9.5 then round down to 9 and you are at level 9. The other variable is the current enemy's level "EnemyLevel". Compare this to the player's level and if they aren't equal, then you know your score went to the next range. Remember levels are base zero.

    initialize PlayerLevel set to 0

    initialize EnemyLevel set to 0

    game loop

    //get the player's current level from the score

    set value PlayerLevel to Round down (Score / 100)

    //check to see if it's beyond the last time you increased the enemy's health

    if PlayerLevel > EnemyLevel

        add 10 to Enemy.health

        add 1 to EnemyLevel

    this assumes you can't lose points off your score...))

    still i have that problem :(

    watch this :

    dropbox.com/s/odssg63xkozu8oc/sample%20bullet.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • r142 ! i have r139 stable free edition

    can you take a photo from your event sheet?

  • i make a capx file and when the score is grater than 150/300/450/... enemy's speed going to be 100/150/200/... but these events work for just 2 or 3 seconds and the speed goes back to default ! (100) WHY?

    anyone can help me?

    dropbox.com/s/wzby2tfuxtc43il/Sample2.capx

  • system compare two values - if score > 100 - enemy set health to enemy.health+10?

    this events just one time add 10 value to health (when the score is grater than 100)

    how about the score is grater than 200 or 300?

  • hi

    i create a shooter game that have alot of enemies and when you kill them your score going up and up

    i want to make game harder just like this :

    =============================================

    when my score is 100 coefficient add 10 value to my enemy's health

    score = 100 / add 10 to health

    score = 200 / add 10 to health

    .

    .

    .

    =============================================

    how can i make this Algorithm for my game ?

    Attention : i can't upload Capx file its security    <img src="smileys/smiley4.gif" border="0" align="middle" />

viperwar's avatar

viperwar

Member since 22 Jul, 2013

None one is following viperwar yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies