breackzin's Forum Posts

  • Ciao121 use the scirra system.

  • Everything Faccoes

  • I am so happy for your ongoing effort answering my problems. Thank you Gearworkdragon and LittleStain

    This is how i make them hunt me:

    Ignore any variable non-related on any condition presented. Although they are in Portuguese you can understand it easily

    Now, the problem really is as they are fighting the player and shooting him, some bullets may hit on people from the same family but from a different faction and that will change the target priority for them. I am about to implement codes for every faction on the game, but it would be really helpful and code efficient if i could do it all one time using families.

    Already created enemy2 family with the same sprites and tried it as targets not happening...

    Ps.: (rotation toward is simple and done in another section)

  • Let me extend this problem. The player is firing some shoots here and there. Enemies that got hit start to hunt him down and occasionally fire against each other getting in another fight between family members... so... how do i do?

  • "Enemy" is a family, on collision with "shoot". I have to pick "Enemy" which UID is "shoot.owneruid", set it as target and hunt him down. Done like that. Not working.

  • LittleStain Your solution is:

    On enemy created: create mapmarker, set mapmarker.owneruid to enemy.iid

    For Each enemy | mapmarker.owneruid==enemy.iid: set mapmarker x and y on map...

    My wrong doing was that I didn't put my newly created mapmarker on HUD layer ><

    Thx!

  • LittleStain lets suppose I have several instances of the sprites "enemy" and "mapmarker".

    Your solution is: =For Each enemy: set mapmarker x and y on map...

    The first problem is the game doesn't know which "mapmarker" to pick.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I know how to do the trick with one, but i am getting really embarrassed dealing with a group;

    A plus would be to use containers merging the map marker and enemy sprite.

  • NobalChase this may interest you.

  • I need a time variable outside player control that is the same for him and all the world. After looking on forum it seems my best bet is to get it from something like http://www.time.gov/. BUT HOW?!

  • Problem Description

    My game presented a bug while alpha testing multiplayer cross browser capabilities. My alpha testers won't start and sometimes would not connect. The same was repeated on Scirra multiplayer template3 after further research.

    Attach a Capx

    If it is mandatory, there it is:

    https://www.dropbox.com/s/qhxzno9m1ovoj7t/Bug.capx?dl=0

    Description of Capx

    Your template with a different "GAME_NAME" will do.

    Steps to Reproduce Bug

      To reproduce the bug without testers open some browsers like 3 Mozillas and 3 chromes, Put one chrome as host and connect the 5 peers. If it didn't already bugged try the same with Mozilla as host.

    Observed Result

    Some peers will not connect or will act weird and destroy themselves on signaling.

    Expected Result

    The peers logging flawlessly.

    Affected Browsers

    • Chrome: YES
    • FireFox: YES
    • Internet Explorer: DUNNO

    Construct 2 Version ID

    Release 202.

  • I have done this Farsight, but once it syncs all the containers sprites go insane.

    Even after applying the "every tick: move to layer(x)" patch.

  • Thanks to both of you. This should go to that fixed topic.

  • without being the host???

    1) Someone mentioned while I was searching on the previous topics that you can keep the host running on a windows server. Is this serious? How?

    2) If the only way is by virtual machine, do you know a free host for testing this?

    3) Ashley how you guys done with your example?