tarek2's Recent Forum Activity

  • Unfortunately it didn't work. :/

    I probably did something wrong. Could you help me, more ?

    Yep that is the same problem I explained in my last comment, is calling every tick the Function, give me a second I need to check properly your events as I think we are talking about two different things, I thought that you just need to start moving the platform but now from your last events it looks like you actually move the platforms with that function so is not gonna work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank your tarek2, I will try with the "for each". It seems a good idea. ^^

    Sorry it's in french you're right.

    Yes I know how to do it with sinus, but I wanted to have a fully custom movement with no behavior.

    Np Good luck, if you have any problems just post back.

    Just a quick note:

    To start the platform's movement and use the For each, make sure you call once as for me it looks like it calls the Function every tick when Timer is zero or less. if so you can add a "Trigger Once"

  • Thank you.

    But how can I make it for a specific platform.

    If I use wait, it will affect all of them ?

    You need to pick each one independently, not sure how you pick, but by the looks of your events I think you call once the function so if you have more than one platform you will need a:

    System "For Each" Platform -------------------Action: Wait (DelayTime * LoopIndex)

    The first one will move right away:

    The "For Each" needs to be on the Top Event and move all that code inside the function on a subevent of the For each as you have some picking going on there.

    Note:

    You have the Sine Behaviour swell that can move platforms nicely with patterns.

    I dont understand the language but I dont see how you move the Platforms.

  • For delaying the second platform you can use "System Wait" 0.5 or so then move

  • Is not very clear what you trying to do:

    Do you have a problem stopping the objects?

    Or

    Do you have problems with picking which all objects move at the same time?

    Can you explain a bit more?

    Normally to stop the platform you can just use (Enable/Disable)

  • thank you for your reply i think one of the guys seling the games here is trying to make me pay more than his seling price.

    Do you mean the free version? if is that then he is right you need a paid licence to export to the app stores.

  • I dont have spline Behaviour but you can use "MoveTo" from Rex as its easier with the conditions that have:

    -Move to target

    -On Target Arrived

    And many more useful triggers and Actions.

    etc......

    Also, you dont need any plugin or behaviour as you can just use MoveAtAngle:

    angle(self.x, self.y, Target.x. Target.y)

  • Sorry, I just realised that this is the Construct 2 section:

    But you can still use the same system in C2.

    I just checked your Picture and here is a few recommendations:

    1-Remove the 0.1

    2-Save the value & Delete the index as I did

    3-Wait 0.5 and call your function

    4-On function check if "Global_Var" = "eins" etc...

    5-Remove all the trigger once as are not needed because the function is already a

    trigger once.

    6-Use Else:

    "Global_Var" = "eins"

    Else:

    "Global_Var" = "zwei"

  • Here is an example see if that helps:

    https://www.dropbox.com/s/bca00qs8yw1zlzh/Array_Delete_Index.c3p?dl=0

  • Create a Local Variable "Index"

    -Set Index to floor(random(Array.width))

    -Store the Array value in to that Global

    -Delete Array index = "Index"

  • To simplify yourself use "Timers" instead as they use already dt internally.

    On Timer "Increase Speed": 
    ------------ad 1 to "Paddlespeed"
    ------------Start Timer "Increase Speed" for 1.5 sec 
    
  • You do not have permission to view this post

tarek2's avatar

tarek2

Early Adopter

Member since 26 Jan, 2016

Twitter
tarek2 has 12 followers

Trophy Case

  • 8-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x5
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

15/44
How to earn trophies