dop2000's Recent Forum Activity

  • "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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Don't put groups inside of events. Events should be inside groups, not the other way around.

    If you change your code to this it will start working:

    I don't know why you don't have this issue with other skills, but I recommend to do the same for all other groups currently nested inside of events.

  • Sorry, I don't understand - why don't you just close the program at the end of the day?

    It's not the kind of software that's intended to run for days. So who knows what's happening when you leave it running for too long. Maybe it's creating too many temporary files or is somehow affected by the scheduled maintenance tasks Windows runs at night.

    C2 takes just seconds to load, so why stress about it? Just re-open it in the morning and forget about this issue

  • "On key pressed" is a triggered event (it has that little green arrow). Try not to use triggered events in sub-events.

    Also, you already have the same "On A pressed" event in line 231.

    Read about triggered events here:

    https://www.scirra.com/manual/75/how-events-work

    Is this what you were trying to make?

  • newt

    I still don't understand what you mean.. There is nothing in the official manual about system picking being any different from "regular" picking. I'm using system picking a lot and apart from this bug with or-block I never had any issues with it.

    Do you have any links or maybe a demo capx that explains your point?

  • Don't use solid behavior. Instead, use "Enemy->On collision with Door" to stop enemies from passing through doors.

  • I'm an Animator/graphic designer primarily, but I'm more logical and good at Maths (and humble, and more handsome)

    Hey, we have so much in common! Only I'm not an animator/designer and not very good at logic or math.

    The good thing is - if you fail as a game developer, you can always build a career in stand up comedy! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Here is a comprehensive tutorial on how to make online leaderboards:

    https://www.scirra.com/tutorials/346/on ... -php-mysql

    You can use the same approach to export any data.

    Also, check the AJAX section in the FAQ:

    viewtopic.php?t=63692&start=0

  • "submitScore" must be a custom JS function that guy created. You can't possibly do anything without the help from your company's web developer. (unless you are the web developer, in which case you are in trouble )

  • Add event -> CellSprite -> Pick nearest/furthest -> Nearest to (x=Piece.x, y=Piece.y)

    With TileMap:

    On Piece drop

    ...Piece set x to TileMap.SnapX(Piece.X)

    ...Piece set y to TileMap.SnapY(Piece.Y)

  • Thank you, Ashley!

    Once you know about this bug, there are lots of ways to work around it. I'll just have to be more cautious with using OR-blocks in my code.

    So it's not a very urgent matter, but it would be nice to have it fixed some day.

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 29 Nov, 2024

Twitter
dop2000 has 250 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
  • x4
    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