jobel's Recent Forum Activity

  • sorry blackhornet you seemed to know since you said this has come up before.

    thanks R0J0hound - a nice visual explanation! So does Wait 0 sort of make the Function act like a top level event?

  • from the manual: The action then triggers the corresponding On function event (e.g. On function "CreateEnemy"), running the event's actions and any sub-events, before returning to the original Call function action and continuing from where it was.

    so maybe it is a scope issue?? okay, now I'm confused to why Wait fixes it. Unless wait causes the proceeding events to happen after the tick? Wait 0 works and I assumed proceeding events were pushed to the end of the sheet, yet still in the same tick.

    blackhornet do you know why "wait" fixes it?

  • there's a tutorial on it..

    https://www.scirra.com/tutorials/1118/path-finding

  • use the PathFinder behavior on your sprite.

  • local like on the same computer? that's easy.. just like a normal game except with more inputs... have one player use the mouse/keyboard and one use a gamepad. Or have one person use WASD keys and the other use Arrow keys..

  • Also "Wait 0 seconds" postpones the following actions until the end of the event sheet. So depending on what you are doing that might muck things up.

    For me it worked because it was just database stuff and displaying information.

  • I can't find any doc on how events in functions work opposed to normal top-to-bottom events that are checked once per tick. but from my experience they seem to run parallel (or at least out of sequence) to normal events since they branch off. Which is probably why it's a good practice as newt said to change the sprite inside the function instead of after.

    When I add a 0.001 Wait after your function call I get all green check boxes. Now that might be messy code, but it exposes the issue. It seems the For Each Sprite event (setting animation frame) is happening at the same time as the Create event For-Loop and its NOT happening top down. So how could those objects exist? I'm talking about the order of events inside 1 tick.

    I had a similar thing happen where I use RexRainbow's CSV plug-in. I called a function which modifies the CSV(comma delimited file) in memory. And my very next event after the function call references that change that happens inside the function but I kept having problems as if the function didn't work. It turned out to be order of events issue. The only way I could work around it was to "wait" for the function to be done.

  • I believe you need to put in a 0.1 wait after the function call since the Function is happening at the same time as the For Each Sprite.

    I don't think those objects exist yet at the time it's executing.

  • Just make sprites and add frames for different states of the button.

    Mouse: OnClick SpriteButton do Action

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • you can do it with layers.

    put each tab and information on it's own layer.

    on the bottom the actual clickable tabs should all be on the same layer. Then when you OnClick a tab, change the Z order to bring that one to the front.

    Also to remember... just because you can't see something on the screen doesn't mean it is not active. You need to disable code on tabs that are not on top to avoid running code you don't want run. The best way to do this is to either put code into groups and disable the group when those tabs don't have the focus. Or you can do it with code. And add the condition of which tab has the focus to all your top level Events...

  • Do you mean in the Properties on the top left? To rename your project?

    On the top RIGHT you can open a Projects Window and on the bottom you can click tabs to go between Project and Layers.. If you click Project, then right-click on the project name you can Rename it.

  • well honestly there's too many tracks (23?) to give you an exact count of what to cut and what to keep.. it'd take way too long to through all that... which brings me to my point. Your portfolio should be short and to the point. Fill it with things you do well, genres and styles you enjoy and add contrast between your tracks. Also make sure tracks don't take too long to develop otherwise people will be skipping around, which isn't bad but you'd rather them be listening.

    It's good to have a sound cloud page of things you produced to let people peruse on their own. But if you are putting a portfolio together for a specific purpose it should be more tailored for the gig you want.

    All the tracks on the bottom of the list seem more "unplugged" and more like artist songs. Rather than underscore (supporting another medium like a game or acting scene).

    You probably only need 1 ambient track unless you were to make a mix going between them quickly. It's nice to show different textures for ambient pieces, so if that's your thing I'd tailor one for a portfolio..

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-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
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies