dop2000's Recent Forum Activity

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

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • Hey Ashley,

    Sorry for summoning you, could you take a look at this please?

    If this is in fact not a bug, please explain why this is happening?

    Basically, when Or-block is nested under System->Pick event, the results are unpredictable.

    Updated CAPX:

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

  • Just change the last line in your event #4 to this:

    barra -> Set width to (XP/XPMAX)*Sprite2.width

    You can add min() or clamp() so it won't grow bigger than the Sprite2.width:

    barra -> Set width to min((XP/XPMAX)*Sprite2.width, Sprite2.width)

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