Radiowaves's Recent Forum Activity

  • This works, thank you!

    Now comes the question: If I have 100 items stacked, do I need to make this inverted condition for each one?

    I suppose I could use a family, but managing it would be terrible.

  • I have a problem in my project where there is Sprite1 stacked on top of Sprite2.

    When I click on Sprite1, I add 1 to global Variable1.

    When I click on Sprite2, I substract 1 from global Variable1.

    Currently C3 registers both events and Variable1 results in 0, but it should be -1.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Tile rotation is set with a string/boolean message. But I would like to do this mathematically, (int(random(0,4))*90 degrees.

    Right now only way I can manage is to create a local variable/parameter and make a condition for each parameter value, which is cumbersome waste of space.

    Suggestions?

  • *sigh* I overlooked the "At" function. Thank you!

  • 1. Import it as a sprite.

    2. Add a mouse or touch object to your project.

    3. Make the event: "On object clicked" -- should be available after you added the mouse object.

    4. Read a manual

    5. Read a beginners tutorial

  • Ok as I understand it the "|" operator is basically an if-else statement that returns 0 or 1. It does not work with just pure numbers, it only works with conditions? How I implement this to check an array value I have no idea.

    Did it your way, can't use array because there is no way of checking the array value in expression like you could do it with tilemap. So I used tilemap and came up with this:

    This is quite insane in my opinion, all because "or" could not be defined correctly.

    I would like to do the floor calculation beforehand and keep it in an array to save computation time since there is a lot to check like this.

  • Yeah I could add another "else" statement or mess around with nesting, its getting rather complicated this way. Why does the | not work? What am I missing?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Add both (or more) if you're doing multiple and then right click on the far left of the conditions and select "Make 'or' block"

    As I stated in my post this is not the case I am looking for, it simply won't work for what I am trying to do. The capx file is just a simple example of how | operator is used (just like in the manual), not the project itself.

    How do I do this?

  • I got this when I was asking how to change them a few weeks ago. I don't know if I am missing something else but when I push any of the ASDW keys it freezes the mouse and curser iv tried turning default controls on and off moving it to the top and bottom of the event sheet but its the same.

    (8-Direction Behaviour)

    *When Key "W" is down -- then

    --> Player Simulate control "Up"

    *When Key "S" is down -- then

    --> Player Simulate control "Down"

    *When Key "A" is down -- then

    --> Player Simulate control "Left"

    *When Key "D" is down -- then

    --> Player Simulate control "Right"

    (Platform Behaviour)

    *When Key "W" is down -- then

    --> Player Simulate control "Jump"

    *When Key "S" is down -- then

    --> Player (Fall Through)

    *When Key "A" is down -- then

    --> Player Simulate control "Left"

    *When Key "D" is down -- then

    --> Player Simulate control "Right"

    You are using platform and 8 direction at the same time? Aren't those two colliding with each other or sort of doing unnessecary double work?

  • I red the manual. The "|" should act as "or" statement, but for some reason I can not get this to work.

    Example CapX: https://drive.google.com/open?id=0B5xC9 ... 0VqMncwclU

    I know you can add "or" statements to whole block, but this is not suitable for me because I need to check multiple chunks of conditions. If one of the chunks is true (all conditions met in that chunk of conditions) then do the action.

    Help appreciated, am I doing something wrong or is it a bug?

Radiowaves's avatar

Radiowaves

Member since 23 Mar, 2014

None one is following Radiowaves yet!

Trophy Case

  • 11-Year Club
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies