IGDev's Recent Forum Activity

  • i should not restart layout

    what you mean recreate object?

    i think on layout should be a button and when i click all object back on start position and should be ready to place all again

    i dont use persist

    thanks

    Depends on the needs.

    Restart layout

    Restart the current layout. Note that unlike Go to layout, this action resets all event groups to their initial activation state. Global variables keep their current value - they are not reset. To reset them use the system action Reset global variables.

    Recreate initial objects

    Recreate the objects in a rectangular area of the layout as they appear in the Layout View. In other words, this restores a section of the initial level design. Note that this does not destroy any existing objects, so if used repeatedly will create multiple objects sitting on top of each other. Only objects of the given type are created, or alternatively a family can be passed and all objects belonging to that family are recreated.

    Reset global variables

    Reset all the global variables in the project to their initial value.

    Reset persisted objects

    Across the entire project, reset all objects using the Persist behavior to their initial state (as if the layout has not been visited yet). This is useful when restarting a new game from the beginning again.

  • dropbox.com/s/oh0tb2l5nsufbgc/placeIt%26faceIt.capx

    hello im back with other question

    How can i reset position of sprites and his variables to start again via events?

  • Thanks for initiative

    Pndora's Box has opened and i have other question:

    i have other problem on apple developer panel

    take look at screen

    https://www.dropbox.com/s/c5d1fwooe4qe6 ... 4.png?dl=0

    > Im working on Windows, where i can download OpenSSL files?

    >

    >

    > > If you have Windows:

    > >

    > >

    > >

    > > Mac:

    > >

    > > https://stackoverflow.com/questions/9418661/how-to-create-p12-certificate-for-ios-distribution

    > >

    > > Good Luck <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green"> <img src="{SMILIES_PATH}/icon_mrgreen.gif" alt=":mrgreen:" title="Mr. Green">

    > >

    >

    here check out this: http://slproweb.com/download/Win32OpenSSL-1_1_0f.exe

    Good Luck

  • Im working on Windows, where i can download OpenSSL files?

    If you have Windows:

    Mac:

    https://stackoverflow.com/questions/9418661/how-to-create-p12-certificate-for-ios-distribution

    Good Luck

  • anyone have known way to create that important file?

  • dropbox.com/s/oh0tb2l5nsufbgc/placeIt%26faceIt.capx

    great example

    hard to understand because its very advanced coding

    can you modify this cap to version without random choose (t0tal) at start?

    i need set this manually

  • Hi, on project i have SpritesA and SpritesB

    SpritesB have own instance variable 'Var'

    Halo of spritesB have this var =1

    You shuld drop spritesA on sprites B with var=1

    when you find all right places to drop game is finished

    can someone help me with this case?

    CAPX fo help

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

  • bump

  • Have several instance variables in your bullet object :

    - TargetAngle - Numeric

    - Shifting - Boolean (False by default)

    // Sets the random value and tells the bullet it needs to shift in that direction

    Event condition Every 1 sec

    - action Set TargetAngle value to random(0,360)

    - action set boolean Shifting to True

    // The bullet is shifting in the target direction

    Event condition Bullet Boolean Shifting is true

    - Action Set Bullet.Bullet.AngleOfMotion to anglelerp(Bullet.Bullet.AngleOfMotion, Bullet.TargetAngle, dt * 4)

    // We check a range where the angle of motion could be to stop the shifting

    Sub event

    condition System compare two values - Bullet.Bullet.AngleOfMotion + 2 < Bullet.TargetAngle

    AND

    condition System Compare two values - Bullet.Bullet.AngleOfMotion - 2 > Bullet.TargetAngle

    - Action - Set Bullet.Angle of motion to Bullet.TargetAngle

    - Action - Set Shifting to False

    you mean something like that?

    https://www.dropbox.com/s/v7al1u6ujtoh9 ... 7.png?dl=0

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Set a TargetAngle variable instead of the actual angle.

    Then have the bullet rotate towards TargetAngle.

    I thought that will be easy, can you show this in capx?

  • im using bullet behavior

    and every 1 second use expression

    set angle

    int(random(0, 360))

    what i can make to change this angle smoothly because now its skipping between angles

  • i need to understand how expression must use to works with imagepoints other than origin

    second question

    How do i event

    when SpriteA.y is more than spriteB.imagepoint1 do something

    ??

IGDev's avatar

IGDev

Member since 1 Aug, 2015

None one is following IGDev yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies