oosyrag's Forum Posts

  • You have given a very general description of your system. There are many ways you can go about it. Have you tried any approach yet? Are you having any problems with anything specific?

    In general, I can only give you the advice that everything is up to you to define Conditions (IF THIS), Actions (THEN DO THIS), and Variables (data storage). For example, you could have an event that says "if your current quest amount is less than 5, then accept quest". Then if the current quest amount is 5 , then this event won't run and the player won't be able to accept the quest.

  • There are many threads regarding this, try running a search. Have you checked in the stickied FAQ thread? how-do-i-frequently-asked-questions_t63692 - Specifically in the section "Monetizing".

    Try also https://www.scirra.com/tutorials/4848/h ... -crosswalk

    EDIT: My apologies, missed the web browser game part >< See below.

  • If all four players have the same amounts/types of information, I would just use a single array. But that depends on how comfortable you are using arrays and their expressions I suppose. It could compact your event sheet significantly, but at the same time make it harder to read or understand.

  • Well actually I'm not really sure how your condition works at all...

    Here is how I would set it up:

  • Thanks, that helps. I can add something to align them after I get them in the general vicinity of where they should be, but had to stop them from running away first! I didn't know Platform picked up momentum from sources outside the behavior.

  • I used the platform behavior to handle gravity for some blocks, except when I move them around some strange things start happening.

    https://www.dropbox.com/s/qfrw5fwjux0gs ... .capx?dl=0

    Please click the blue square to place some blocks, then click the smaller light blue square to rotate the board.

    The placed pieces will start bouncing and flying around.

    I'm already working on another approach without using behaviors, but I'm really curious about what is going on here and what I could try to fix it.

  • Additional discussion here:

  • https://www.dropbox.com/s/r2lgciwcvi6hi ... .capx?dl=0

    Issue 1 - The added condition to the direction will let it run only if it is above, below, left, or right of the center of your boundary box.

    I'm not sure I understand what you are going for your function, but remember, ELSE will only run if the event directly before it on the same level did NOT run.

    It should work as all events do - The function will go through each event until it finds conditions that match, then it will run those actions in that event.

  • It could be useful to know the shape of your sprite(s) and tilemap(s) to think of a way to work this.

  • Does your frame rate ever drop below 10fps? I think that will result in a discrepancy, although I'm not sure. Maybe someone else can confirm?

  • Do your counter variable and time match?

    Seems like a workaround would just be to set your variable to wallclocktime every tick if that's what you are looking for.

    I've also had scenarios where time falls behind wall clock when I run a very heavy loop - time can freeze but wall clock keeps going. I don't know how much other stuff you have going on in your project though.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Time

    • Can be modified by timescale
    • Stops when window is unfocused/hidden
    • May start slightly later than wallclock

    Using dt to increment a variable should work well.

    Otherwise, you can use time and wallclocktime directly as expressions directly as well.

  • You do not have permission to view this post

  • If you're using bullet, you should be able to set the angle of motion to 180. Turn off set angle in the bullet behavior properties.