anti-gravity and add specific time for an object ?

0 favourites
  • 11 posts
From the Asset Store
Kids Game
$49 USD
New Sounds Added Update: 115 new sound effects added for no additional cost!
  • Hi

    these two things make my day is bad and wasted my time for nothing

    I have a an object go up-down speed:200 so what i want to do is if the ball in my game touch one box the speed rise for 3 second and then back again normally ? (( like power-up ))

    the other thing is the gravity. i have a ball in my game with zero gravity what i want to do is that when this ball touch the box change her destination (( if it was going to the right change to the left)) for 3 second

    I hope some one will help me with this

  • give the object timer behaviour

    ball on collision with box

    • object set speed to 300
    • object start timer tag: morespeed

    object on timer : morespeed

    • object set speed to 200

    I don't understand the gravity question, sorry..

  • you mean something like this

  • give the object timer behaviour

    ball on collision with box

    - object set speed to 300

    - object start timer tag: morespeed

    object on timer : morespeed

    - object set speed to 200

    I don't understand the gravity question, sorry..

    Help me man. i really don't know where is the mistake

    every thing work fine but the problem is with the speed. it doesn't go back to the normal speed

    can you please do it and show me the event sheet please ?

    [quote:6c7yyaqt]you mean something like this

    I have old version of C2 and i don't know how to update it

  • will this help you understand

  • will this help you understand

    it won't open with me. because i use old version of C2 1.72

    Just if some one could show me a tutorial or video or even a picture of sheet for a time for an object will be great. there is no tutorial for this thing !!! i search and i couldn't find one talk about it !!!!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • AeleaS why don't you download free new version from scirra

  • AeleaS why don't you download free new version from scirra

    Because I'm working in my game and i don't want anything missing from it if i uninstall C2.

    My problem is with the timer. if some one can show me how to make a special time for an object i really will appreciation it.

  • you could do it like this Timer Let's say you want to spawn enemy every 5 seconds or do something else

    Global variable Timer=0

    System every tick System add dt to timer

    System Timer > or Equal 5 then set timer = 0

    spawn enemy

  • Because I'm working in my game and i don't want anything missing from it if i uninstall C2.

    That is very unlikely to happen. Even if you installed 3rd party plugin it will still be there once you install the new release.

  • DuckfaceNinja is 99% right

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)