SgtConti's Recent Forum Activity

  • oh sry i meant Proctile.X - Barrel.X

    i tried to figure out how far away the bullet would fly so i could calculate the ca. Angle of the barrel if the enemy would be that far away.

    this was my second option.

    But of course i stould would love to calculate the Angle ingame without having it pre-defined.

  • Sry but im not that good at vector, i cant even make tests how far the projectile would fly, i tried:

    if Projectile.Y = Barrel.Y , then set global variable Distance to Projectile.Y - Barrel.Y

    But that wont work, i dunno why...

  • i want it to hit a specific target,

    better said, to hit a specific X,Y Point.

    and the problem is setting the barrel of the Artillery unit in the right angle to do this.

  • Anyone know?

    really frustrating ...

  • Hello,

    im not that good at math, and construct 2.

    And now i want to simulate an artillery.

    First, i need to simulate the angle the barrel is at.

    Second, i need the correct gravity and acceleration.

    If i have those two factors it should work out.

    I have something like enemy.X - (enemy.x/2) (repeat the same for y)

    in the head for the angle of the barrel.

    but since not every shot is landing correct, this isnt working out.

    How should i handle these two factors so i could simulate an artillery?

  • ws://localhost ?

    try: localhost

  • This so fantastic, i have been using Socket.io mostly now, but i can see potential in this project. Espacially the Channel feature you have, im going to stop working with socket.io and wait for some results here, hopefully next month ;)

    I would prefer 2 plugins, then you can keep better track of what you are doing, and better seperate server and client logic.

    Would we be able to make a lan game with this?

  • Send me a message, then im sending you the instructions, they are a little bit long, thats why we have to do it that was.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In Construct 2 you open the information panel, and then you open the license informations, there a download link should be.

  • He just means, you shouldnt connect in the layer where your map is.

    Or he means that you shouldnt connect twice...

  • vladoss i replied to you in the other thread

    basicUser im sorry, you should create a new thread, im capable of using Socket.io but i don�t know anything about MySQL, php and AJAX, yet.

    You need someone other to help you out with that.

  • Im going to send your my skype name soon ok?

    Did you also checked the firewall of your router? Try to forward the port.

SgtConti's avatar

SgtConti

Member since 20 Apr, 2013

None one is following SgtConti yet!

Connect with SgtConti

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • x2
    Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies