yosualb's Forum Posts

  • hi AnD4D can you make tutorial for platform wars game?

    or maybe you can help me on How i do setup platform wars game?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Guizmus, thank you for replying

    here is Collision Test(1).capx

    oh yeah, i got an enlightenment,

    if the collision position rather right because the player overlaping the enemy and enter the first if condition

    if the collision position rather left because the enemy overlaping the player and enter the third if condition

    maybe you can add something for equalize them?

    [UPDATE]

    hmm, i think the timer is the problem

    if i spawn player first, and then spawn enemy

    the timer of enemy is didnt start, any idea?

  • Guizmus, thank you for replying

    no no, i already edit your specifications with my specification.

    in my investigation, its like if the collision sprite is stand at rather left, the first player sprite only attack once,

    and if the collision sprite is stand at rather right the first enemy sprite only attack once

    sorry for my thank, but its my style at forum <img src="smileys/smiley36.gif" border="0" align="middle" />

  • Guizmus, thank you for replying

    i understand just now after i read your code slowly

    but i got the question again, if i have enemy and player with same spesification*, with your code

    why the player always win? and the enemy attack only once?

    (*)

    HP = 5

    AttPow = 1

    AttSpeed = 7

    The winner is player with 4 HP

  • Guizmus, thank you for replying

    i just wanna ask about Player.UID,

    does Player.UID cover the one player or all player?

    maybe we can use Player.IID for cover the one player only (CMIIW)

    so if the 3 Player and 2 Enemy with same HP, atkpow, and atkspeed and the winner is player with 2 Player left.

    here is the simulation :

    Player with 5 HP, 1 atkpow, 1 atkspeed

    Enemy with 5 HP, 1 atkpow, 1 atkspeed

    1st atk -> 2 Player (full HP) 1 Player (3 HP) and 1 Enemy (full HP) 1 Enemy (2 HP)

    2nd atk -> 2 Player (full HP) 1 Player (1 HP) and 1 Enemy (full HP)

    3rd atk -> 2 Player (full HP) and 1 Enemy (3 HP)

    4th atk -> 1 Player (full HP) 1 Player (4 HP) and 1 Enemy (1 HP)

    5th atk -> 1 Player (full HP) 1 Player (3 HP)

  • Guizmus, thank you for replying

    your .capx for r136

    maybe i must download it first

    btw, thank you <img src="smileys/smiley20.gif" border="0" align="middle" />

  • you should add global variable like isStop = 1

    Mouse: click to car ->

       isStop is 1 -> car stop

                      isStop change to 0

       isStop is 0 -> car move

                      isStop change to 1

  • this post that i wanted, thanks!

  • Guizmus, thank you for replying

    yeah i want to all player target the same enemy, just same as for the enemy to the player

  • hi thank you for sharing, its useful for me

  • Guizmus, hello thanks for replying

    your alogorithm is almost same with my algorithm.

    but still have a problem,

    at System: Wait 10-Player.ASPD, it doesn't function because the player and the enemy still attack without delay

    and

    if there is many player and one enemy, enemy attack like splash attack because the player is die simultaneously

    any code idea please?

  • Paradox, thank you for replying

    i dont have an idea for implementing like your suggestions,

    i think i must use an array for player and an array for enemy,

    here is my simple .capx

    dl.dropboxusercontent.com/u/69456864/Collision%20Test.capx

  • Hi Kiira, can you help me for this?

    scirra.com/forum/how-i-do-setup-platform-wars-game_topic70156.html

    Thank you,

    Regards,

    YosuaLB

  • 134 here!

    cool game, simple but addictive

  • someone help me please <img src="smileys/smiley19.gif" border="0" align="middle" />