dop2000's Recent Forum Activity

  • There are a few plugins you can try:

    free -

    commercial -

    Full list -

  • Anyone?

  • Normally this shouldn't happen. Did any other apps on your phone lose their saved data?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • TextBox over a button? This will look ugly as hell <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Or did you mean Text object?

    You should add Text and Sprite into the same container. Then when you spawn a new sprite, its text will be created automatically.

    Also they will be logically linked to each other. When you pick a sprite instance (for example in On Clicked event), its text will be picked as well.

    You can also use the native Button object and style it with CSS:

    https://www.scirra.com/tutorials/1283/c ... -textboxes

  • gameba

    I reported this bug just a few days ago:

    In your first event instead of "System->Pick" use "RedSprite->Compare variable" and then the or-block will work correctly.

  • Not sure what you mean.

    If this was my game, I would probably use Timer a lot.

    Run a recurring timer on each enemy, say for random(1,2) seconds.

    So every 1-2 second on timer event I'd check different LOS (attack, notice etc) and adjust enemy's current action if something has changed since previous timer event.

    For example if this enemy is attacking, check LOS_Attack, if it's true, continue attacking. Otherwise check LOS_Notice, if it's true, stop attacking and start chasing. And so on..

  • "Wait" shouldn't be used here.

    Try the Timer behavior. Add it to some object (background sprite or something).

    On click -> Start Timer "HideLayer" for 5 seconds (once)

    Sprite On Timer "HideLayer" -> Set layer invisible

    If player clicks several times, the timer will be restarted every time for 5 seconds.

    Another way to do it is to use system expression "time". Add a variable hideLayerTime, then add these events:

    On click -> Set hideLayerTime to (time+5)

    Compare variable hideLayerTime is Less than (time) -> Set layer invisible

    System Trigger once

  • Use groups activation/deactivation.

    Make several groups - Menu Controls, Code Input, Box Selection etc.

    Move all keyboard events for Menu navigation to Menu Controls.

    Move all keyboard events for entering code to Code Input.

    Move all keyboard events for selecting boxes to Box Selection.

    Keep only one group active at a time.

    When player is in the menu, enable Menu Controls and disable Code Input and Box Selection groups.

    When player is about to input code, enable Code Input, disable other two.

    Or you can do this with variables, global or instance. For example:

    On keyboard A Pressed
        Compare variable currentAction="menu" ->   navigate left in the menu
        
        Compare variable currentAction="boxes" ->   move to the left box
    
        Compare variable currentAction="code" ->   input "A" into the code
    [/code:7yjo2vtv]
  • It does work. If you run the game in Debug mode, you'll see that IsSprinting is changing to 1. And the animation runs faster.

    The 8direction maximum speed doesn't change probably because it's set to 250 again in event #39 or somewhere else in the code.

    By the way, you don't have to disable "PlayerStamina>SprintVal" condition, I forgot to re-enable it before making the screenshot.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 260 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x5
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies