bangoo's Forum Posts

  • I have the latest version of IE11, tests show tha it enables WebGL (ver. 0.94). The problem may be between Construct 2 and IE11?

  • If I turn on webgl renderer it shows canvas2d in IE11.

    Firefox shows WebGL.

    What can be wrong with TE? OS - windows 7.

  • I try to make behaviour system for enemy units. Everything worked fine untill I added the following event;

    Enemy -- has LOS to Player ---> Enemy set Alarm to true

    System-- Else ---> Set Alarm to false

    Enemy has the boolean instance variables "Alarm".

    If the Player comes in LOS sector the "Alarm" is true and the Enemy fires.

    The quantity of units is 60.

    I do not understand why these two simple lines of a code drop the FPS to 30 percent?

    I can't belive that it is because of the number of units.

    What should be changed not to drop FPS?

  • IE 11 reports a critical bug - line 198 (col 3)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The animation cycle is 20 frames.

    How do I make the animation play from frame 1 to frame 7,

    then repeat animation 4 times from frame 7 to frame 15, and then finish the animation from 15 to 20.

  • Have you solved the problem, I have the same trouble.

  • I have no families. I need to calcuate the coordinates of every unit according to the angle of the arrow.

  • In RTS games you can drag movement arrow to rotate the troop formation.

    Does anybody know the formula to make this in Construct 2?

    I test the units formation movement and also want them to rotate as in the picture.

  • What instance I should compare with? I dont know the exact value of "number", they differ.

    I need something like:

    On sprite left click --------------------------------> set sprites value to select 1.

    Select all sprites with the same

    "number" value as for "clicked"

  • I have sprites with the same variable - number.

    If I click on one sprite i want the other sprites with the same variable "number" to be selected.

  • Any suggestions?

  • I can't make standing units stop displaying walking animation. They don't move but "march in place" when the selected sprites of the same type move on mouse click.

    The picture of the code:

  • int(((self.8Direction.MovingAngle+360+45/2) %360)/45)[/code:213j47hs]
    Thanks for code, it works fine but units stick together and I have no idea how to make your code work with formation of sprites. 
    
    I have found an intresting example of formation movement by  Reuben (attached).
    but if the formation goes round the obstacle sprites animation freezes. 
    
    It may happen because of my animation code:
    
    The use of angles may be is not the best way to make an animation but with your code it works nice.
  • I need to make a formation of sprites acting as a single unit.

    If you click on formation individual sprite is not selected, but all the sprites are selected.

    Family or container features are not suitable for this purpuse.

    It shold look like is shown in attached pic.

    Please help, how it should be done?

  • Could you explain how you made the soldiers move in isometric mode.

    I haven't found any tutorial on this theme.

    I am a beginner and I can't understend how to snap animation frames to the movement directions.