Mogador's Recent Forum Activity

  • Perfect, that's the solution I was looking for

    Thank you !

  • Hello,

    I have put my sprites in an "Assets" layout and on a particular layer and I want the sprites of this layer to appear, in the same position, on another layout.

    How can I do that ? I wish I could do that without creating a "Set position" action for every of these sprites. I would like to be able to say :

    1- Take all the sprites on the layer 1 of the "Assets" layout

    2- Display all of them, at the same position, in my "Level 1" layout.

    Thank you for your help :)

  • Thank you !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    In my strategy game I have different maps using the same assets (sprites, texts, buttons).

    Instead of cloning theses assets on every map. Is there a solution where I could put all my sprites on 1 single layout. And then call theses sprites on the different layouts where they are needed ?

    Sorry if this question is very basic, but I did not find the answer :)

    Thank you for your help

  • It works much better now and it is not freezing anymore, thank you very much :)

  • Thank you !

    I will try these modifications asap :)

  • Hi,

    I think I have a small optimization issue. I work on a very simple prototype: it is a town where zombies are hunting down civilians. I have a quite simple pathfinding and pursuit system but it does not work as well as it should.

    I have 2 problems :

    1- From 200 zombies on the map, the FPS is falling dramatically, first to 30-40 FPS, and the below 30 FPS. Can anybody tell me what is the reason ? (obviously it comes from the ZombieIA sheet)

    2- The game will always freeze before 2 minutes et I can't see why (debug seem to be ok, although I am not an expert).

    Can anybody give me some hints about what is wrong in my script ?

    The capx is here : dropbox.com/s/v8jtuj0aozdztt2/ProjectZombie_Debug.capx

    (if plugin is required, I use Rex's plugins : c2rexplugins.weebly.com/)

    And you just have to launch TacticalMap and click on the Start Game button on the left.

    Thank you ! I don't know much about optimization, but eager to learn ;)

  • mmh I am not sure to understand : you mean that I should not use the turret behavior ?

    I should only use the LoS and, when Policeman sees a Zombie, make "Rotate toward angle" to shoot at the Zombie ?

  • Hello,

    On this project : https://www.dropbox.com/s/8r35zy2zzfiu3 ... .capx?dl=0

    I have Policemen shooting at zombies using the Turret behavior. But as you can see, while aiming they are sometimes shaking as parkisonians or they fail to align and to shoot on Zombies very closed to them. The turret behavior seems to be quite simple, I don't understand what I did wrong.

    Do you have any idea to help my policemen ?

    Thanks for you help <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Indeed, there is a lot from you here

    Thanks again

    I tried to put a "Every 1 second" action before event 101. It makes far less collision checks /second, but the FPS still falls when there are more than 300 zombies

  • Hello,

    I have a system, made with the help of some of you here, where zombies are spawing and chasing human beings. The zombies use the pathfind system.

    The problem is that when too many zombies are created, the FPS is dropping dramatically. Do you have an idea how to avoid that ?

    The Capx is here : https://www.dropbox.com/s/v8a53q5ckij48 ... .capx?dl=0

    Thanks !

    Mogador

    PS : once the game is launched, you can use arrows to move and mouse middle button to zoom out

  • Ok I have found the problem

    Thanks again for your help !

Mogador's avatar

Mogador

Member since 20 Jan, 2014

None one is following Mogador yet!

Trophy Case

  • 10-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

13/44
How to earn trophies