Rhindon's Recent Forum Activity

  • Richard Stennett - Will code actions that are told to run On Loading Finished ever run again? Or is that the only time they will be processed for the duration of program?

    For instances, at the start I want a random number to be generated and stored to a variable, but I don't want that action to occur repeatedly every tick - just at the start-up. Is that how On Loading Finished works?

  • Ashley - Ah, I see. That'll have to wait until later. Documentation is one thing I know I don't know a thing about... But thank you, at least that filters out some of the confusion for when I'm ready to implement controller schemes.

  • Ashley - Is there a quick-list of what USB controllers C2 supports and on which browsers?

  • blackhornet

    THANK YOU! That pretty much solved the present dilema... I'm just glad I already had figured out how to insert sub-events (that indented black line with the arrow showing where the event is being sidled into). I think I had something similar in mind at ONE point while trouble-shooting, but yeah, I believe this is the solution I'm ultimately looking for (until nested-boolean comes around).

    I appreciate your feedback. :)

  • I'm trying to set up certain animations to take place when individual and multiple buttons are pressed. When a single button is pressed, one animation will occur. But when that same button plus another is pressed together, a different animation will happen. What I want to do is test for different instances of conditions for the same possible event. It would go something like this:

    ==============

    | CONDITION 1

    | [AND]

    | CONDITION 2

    |

    | [OR]

    |

    | CONDITION 1

    | [AND]

    | CONDITION 3

    --------------

    | --> EVENT 1

    ==============

    I'm basically wondering if it's possible - in some way - to set up a combination of Boolean conditions to result in the same event.

    I've try setting up groups - something I apparently need to learn more about and how they function - but that hasn't yet solved my current problem.

    My THINKING would result in something like this:

    ==================

    | CONDITION 1

    | GROUP

    | - CONDITION 1.1

    | - CONDITION 1.2

    ------------------

    | --> EVENT 1

    ==================

    Does that make sense?

  • GeometriX

    Thank you. Actually, I managed to figure something very similar out (if not identical in run time/execution). This is what I have so far:

    KEYBOARD | W is down

    --> Player | Set animation to "IdleToJump" (play from beginning

    --> System | Wait 0.15 seconds

    --> PlayerBox | Simulate Platform pressing Jump

    -------------------------------------------------------------------

    PlayerBox | Platform is Jumping

    --> Player | Set animation to frame 6 [of the "IdleToJump" animation]

    --> System | Wait 0.15 seconds

    -------------------------------------------------------------------

    PlayerBox | Platform On landed

    --> System | Wait 0.15 seconds

    --> Player | Set animation to "Idle" (play from beginning)

    Even disabling System | Wait 0.15 seconds under Platform On landed

    OKAY! That's what I got as far as all of that goes. It seems to work well for the MOST part.

    But a new "problem" arose. I want to be able to hold the W button is down, I want my Player to jump repeatedly until I let off the W. But in doing this, instead of staying on frame 6 of my jumping animation, it recycles between frames every 0.15 seconds. I wanted it to end on frame 6 until the collision with a platform sprite.

    If I set it to KEYBOARD | W is pressed, then everything runs as it SHOULD, ending on frame 6 of the jump animation, but holding the W down won't make the Player continually jump until I let off the key. I'm not sure if I need to group conditions together or have separate conditions with their own events to respond with...

    It occurs to me that the endless jumping may not be viable in a game (this is just me learning the works and trying to figure stuff out), but I'd like to understand what I am perhaps overlooking or could try otherwise. ... Does that all make sense?

  • I'm afraid I'm only partly understanding your question, too. (Not that I'm knowledgeable enough to actually help you out with your problem.)

    If I may suggest, though... Try listing exactly what you want to happen in a step-by-step list. For example:

    1. This is the current status

    2. Something begins to happen

    3. Upon a specific event...

    4. ...this result should occur (except I don't know how to get that event to work)

    I hope that help you to convey your question better so others can help you. :) Keep gamin'! You'll get it worked out.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a jump animation I want to employ, but the actual jumping action takes place before the animation is ready for it. The animation has my character crouching down for a few frames before he is ready to leap into the air. However, upon keypress, he's already in the air. I found the System/Time/Wait event, but that only delayed when the animation started...my character got launched then decided, "Oh, wait, I'm suppose to jump now." Heh, any help, please? :)

  • I would be interested in learning if this is possible, too.

    retrodude : Are you trying to mimic the SNES console feature?

  • XBox 360 controllers should work with the Gamepad object.

    Thank you, Ashley. Is there a running list of which USB controllers (by brand or console type) that work beside the XBox 360?

  • So when the time comes that I implement a USB controller for my game, don't test using Chrome? I assume IE and FF browsers are okay?

    Thank you for the info. :)

  • Does C2 support USB controllers? (ie: classic NES, etc) If so, what are some good resources to teach how to implement them into the game control behaviors?

Rhindon's avatar

Rhindon

Early Adopter

Member since 8 Jan, 2013

Twitter
Rhindon has 2 followers

Connect with Rhindon

Trophy Case

  • 12-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
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies