hsm4ever's Recent Forum Activity

  • ^ Which event should I use to do that?

  • ^ How do I refer to the health bar of the attacked unit?

  • How do I pick the last spawn unit instance from a Families?

  • I want to make health bar for every enemy unit spawn. I read in another post and put the health bar in container. However, when a unit is attacked, all health bars from all units are affected. How do I make it that only the attacked unit health bar is changed? I don't have the capx right now so I'll try to describe what I did. I used a Monster family.

    Bullet on collision with Monster ==> set width Healbar = Monster.HP

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi, I want to do login. On the main page there is only a PHP login tutorial but I don't know PHP and can only use ASP.NET. Can someone help me with a sample script to get login data from a aspx page? Or just convert the tutorial php code into aspx code? Thank you very much.

    [quote:37rhgvqo]

    <?php

    02 $username = $_GET['fname'];

    03 $password = $_GET['fpass'];

    04 $con=mysqli_connect("mysql","database_user","database_password","mydatabase");

    05 // Check connection

    06 if (mysqli_connect_errno())

    07 {

    08 echo "Failed to connect to MySQL: " . mysqli_connect_error();

    09 }

    10 $qz = "SELECT id FROM members where username='".$username."' and password='".$password."'" ;

    11 $qz = str_replace("\'","",$qz);

    12 $result = mysqli_query($con,$qz);

    13 while($row = mysqli_fetch_array($result))

    14 {

    15 echo $row['id'];

    16 }

    17 mysqli_close($con);

    18 ?>

  • Hi, I'm new to Construct 2. I want to build a server-side game for my school project. How do I send and save data from WebStorage to my MSSQL server? If anyone can give me some tutorial or examples, I would really appreciate it. Thank you.

  • ^ I meant like Defender's Quest. A tower with 5 skills, each skill can be either range or melee and deal different damage.

    And I have some more questions. I want to upgrade towers. How do you add new abilities like critical strike or slow to a tower after upgrading? Can I add attribute to it or do I have to change it to a new object?

  • Hi, I want to build a game like Defender's Quest. I want to make towers with a few different attacks and different damage. For ranged towers, I supposed I can set the damage on its projectile collision. But how do I set different damage for MELEE towers? I can set different animations for it, but how do I determine which animations deal which damage?

    Further more, I want to ask how to do critical attacks?

hsm4ever's avatar

hsm4ever

Member since 9 Jan, 2015

None one is following hsm4ever yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies