ikke2902's Forum Posts

  • He is using the beta release

    You can find it here https://www.scirra.com/construct2/releases/r164.2

  • I am trying to save the data from the array aswell. However, I couldn't understand how webstorage works after reading the manual.

    Could you take a look in my test capx and tell me what I am doing wrong?

    In this capx, one would like to save the status of each checkboxes.

  • if you have changed the layout or rotate the towers, could you test it again without changing anything in the lay out for me?

    When you test the capx, take a closer look at the tower where the purple arrow is pointing to.

    That tower will reach to zero health, but the grey bullets are passing through it instead of destroying it.

    Where the cyan arrow is pointing to has some issue too. That tower went to -1 health. The bullets are overlaping the tower instead of destroying it.

    Those are the problems =/

  • Thanks for the reply, but it didn't help =(

  • When TowerA has zero health and it collide with bulletB. TowerA should be destroyed and spawn TowerB.

    I have tried to make it, but my way to do this seems a bit buggy.

    The bullets doesn't destroy a tower instantly when it has zero health, this occures several seconds later.

    When the tower got destroyed, it seems like multiple towers got spawned.

    How can this be solved?

    Here is the capx https://dl.dropboxusercontent.com/u/15249798/Test.capx

    ikke2902

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ahh, updated with the link to the plugin pages

  • My game is like a tower control game. The towers will fire continually (except grey/neutral tower). You have to set the angle of your tower (blue tower) to the enemy and destroy their towers. By destroying it, you will spawn your own tower on the destroyed tower place.

    here is my capx

    https://dl.dropboxusercontent.com/u/15249798/Every%20tick%20event%20got%20delayed.capx

    I use the [plugin] Timeline https://www.scirra.com/forum/viewtopic.php?t=64376&start=0

    and the [behavior] Cooldown https://www.scirra.com/forum/viewtopic.php?t=64408&start=0

    plugins

    I am dealing with two major problems which I will describe here.

    Every tower has a max health of it's scale times 10.

    The percentage of the max health from a tower, determines its rate of fire.

    Basicly, when the tower has full health it will fire at full speed. Less health results into a slower firespeed.

    As visual feedback I set the oppacity of the towers depending on their health percentage.

    The health check and the opacity setting are found in the everytick event, however this seems not to work properly.

    It got delayed by seconds.

    I have found that the bullets in game cause this trouble, but I don't know how to fix this.

    The everytick event can be found on the top of the event sheet.

    Another problem is destroying other towers doesn't work properly.

    When the red_tower has zero health. The next collision with a bullet determines which faction the new spawned tower should be.

    red_tower has zero health and it collides with a blue_bullet. red_tower will be destroyed and a blue_tower should be spawned.

    However, sometimes the towers won't be destroyed at all. I couldn't figure out why.

    These events can be found in the collision condition group.

    I am looking forward seeing your suggestions

    ikke2902

  • This is amazing!

    Thank you so much <img src="smileys/smiley32.gif" border="0" align="middle" />

  • I am trying to create a tower defence game, where towers can heal each other.In general, I am trying to prevent certain UID from being picked, based on their instance variable.

    Here is my test file

    dl.dropboxusercontent.com/u/15249798/Pick%20UID%20from%20Array.capx

    In the capx there are two factions.

    Tower_1

    Tower_2

    What I want is:

    Tower_1 Should'n aim at himself, which has been solved(Thnx Yann for your explanation in other thread <img src="smileys/smiley1.gif" border="0" align="middle" /> )

    Tower_1 should aim at the nearest tower, with one exception. He shouldn't aim at Tower_1 with health value 7 or higher.

    In the capx, I have tried to insert all Tower_1 UID with health higher than 7 into an array.

    Later on, Tower_1 will check if his picked UID exist in the aray. When it exist, it shouldn't pick that UID and should look for the second nearest and check it again and so on.

    I have spend like two full days on it and I feel frustrated <img src="smileys/smiley19.gif" border="0" align="middle" />

    ikke2902

  • I think you can find it here <img src="smileys/smiley1.gif" border="0" align="middle" />

    <img src="http://i1196.photobucket.com/albums/aa406/ikke2902/Construct2event.png" border="0" />

  • I have submitted my game while this error appeared, a few days ago.

    Do I have to resubmit my game again?

  • I have also the same problem.

    When I upload my game, it gives me "Server Error in '/' Application. (...)"

    He also states my picture has a wrong px size, I am sure my picture is 280x233.