gaelsev's Forum Posts

  • Hello,

    I have construct 2 version: 212.2 (personal license)

    I saw that:

    https://www.scirra.com/manual/120/webstorage

    But can't find WebStorage object ? Where is it ?

    Best regards,

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Lol, i found sorry.

    My solution:

    Global Variable TriggerMyObject = 0
    Every ticks call the function MyObjectFunction()
    
    Function MyObjectFunction()
      SubEvent If TriggerMyObject = 0 : MyObject move 1 pixel at 90
         Sub-SubEvent MyObject Yposition > 100 : TriggerMyObject = 1
      SubEvent If TriggerMyObject = 1 : MyObject move 1 pixel at 270
         Sub-SubEvent MyObject Yposition < 0 : TriggerMyObject = 0[/code:3ezgd8yu]
  • Hello All,

    I'd like to build a permanant movement from up to bot and bot to up for my sprite object

    I have a sprite object and i'd like this :

    Every Ticks:

    If this Object <= to Y.position(0px):

    Object move 1 pixel at angle 90 (going to bottom)

    If this Object <= to Y.position(100px)

    Object move 1 pixel at angle 270 (going to top)

    Can you help me please ?

    Best regards

  • Its perfect, thank you bro

  • Hi,

    I created 3 instantiate Button with CreateObject and i'd like to do a different action for every button when i use ONCLICKED ?

    Button IID 1

    Button IID 2

    Button IID 3

    (created from Button UID1)

    I tried with Pick by unique ID in SUBevent but doesn't work, this command is to use with IUD and not with IID ?

    Best regard

    (sry for my bad english, im french)