Darklinki's Forum Posts

  • Now I found there 1 real Bug.

    If you spawn something in this loop and make directly after it something with it like "set angle". It does not change the created one, it change all instance.

    -> Spawn Sprite2 on sprite (image point sprite.WaitVar)

    -> Sprite2 set angle toward sprite.ImagePointX(sprite.WaitVar + 1)

    does change all instances

    -> Spawn Sprite2 (image point sprite.WaitVar

    + pick nearest Sprite 2 to sprite.ImagePointX(sprite.WaitVar)

    -> Sprite2 set angle toward sprite.ImagePointX(sprite.WaitVar + 1)

    does change only the right instance

  • Mimiste, BIG thanks to you. I�m lucky that some one understood what I wanted. I�m still not sure why i�t doesnt works with loopindex. Cause I tought it is the same like a local variable.

  • + repeat 3 times tag:try

    -> Wait loopindex("try") * 2

    -> Console.Log("Fire")

    -> Spawn Image on Imagepoint(loopindex("try"))

    This does:

    Second 2: "Fire" + nothing

    Second 4: "Fire" + nothing

    Second 6: "Fire" + Spawn Image on Imagepoint("3")

    Tought you know what I mean with loopindex, is i?t now clear ? I try to spawn Images every X Seconds on the Imagepoints of a given Image ;)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Is there any different Tutorial or Example ?

  • No you have not, just set the screen sizes right ;) The Tutorial works fine for my project?s

  • Error (404)

    We can't find the page you're looking for. Check out our Help Center and forums for help, or head back to home.

  • then the loop completes immediately, but schedules ten "Append text" actions all after one second. After one second all ten of them run. Note the original example uses loopindex so it sets up a 0 second delay, then a 1 second delay, then a 2 second delay, etc. whereas you use a constant delay, meaning the entire loop is basically done instantly after a single delay.

    Ashley, I know but this doesn?t work. I make "Wait Loopindex * 2" This should mean every 2 seconds 1 loop. But nope.

    + repeat 3 times

    -> Wait loopindex * 2

    -> Console.Log("Fire")

    -> Spawn Image on Imagepoint("loopindex")

    This does:

    Second 2: "Fire" + nothing

    Second 4: "Fire" + nothing

    Second 6: "Fire" + Spawn Image on Imagepoint("3")

  • There are 3 options for you I think:

    • Make your own Leaderboard (You will learn much and it?s totally what you want)
    • Change one existing Leaderboard Plugin (Hard to understand Code from someone else, but this should be a fast way)
    • Make your own Plugin for 1 Leaderboard(The Hardest way but you will help the community)
  • vee41 Forgot to tell you also tried it with "wait loopindex * 2 seconds" and also with "wait loopindex * seconds"

    AndyWatson could you make a example .capx ? Cause I made this in a new project... My Teammate also tried it, he has the same problem in a new clean project.

    here is a clean Example:

    Example

  • get this events in a new event sheet.

    Include this event sheet in both, your StartMenue and the other Layouts.

    Do this by right clicking in your event sheets and select include event sheet.

  • Tutorial: Wait Tutorial

    This is given in the Tutorial:

    + Repeat 10 times

    -> System: wait loopindex seconds

    -> Text: append text "Time = " & time & newline

    This is what I make:

    + Repeat imagePointCount times (4, and yes 4)

    -> System: wait 2 seconds

    -> Spawn something on image.imagePointX(loopindex)

    -> Console.Log("ARRR")

    What it does:

    -> Second 1:

    --> nothing

    -> Second 2:

    --> Spawns something on the first imagePoint

    --> Logs 4 times "ARRR"

    -> Second 3:

    --> nothing

    -> Second 4:

    --> nothing

    ...

    For me it seems like Wait dont work.

  • Got this Problem also, but it?s hard to tell you how I fixxed it.

    I?ll try it but first tell me how you manage the informations in the slots ? I have made this with an array.

  • No problem ! If it works, could I see it ?

  • Thanks for this awesome .capx, but I have a different problem. I need to load on Layout 1 all images, this means also custoum player specific images that are placed on e.g Layout 7. With your .capx I can load the ImageUrls and load the Images, than the player is on Layout 7. But this also means he needs to wait again some seconds to load the right files.

  • No problem I�m glad that I could help you.