Paradox's Recent Forum Activity

  • Glad to see you got it. I've used that solution before, it's the best for toggles that cycle through more than two choices.

    Aphrodite Barely a Ninja, I explained why it didn't work, you explained how to fix it.

    Ah, just realized why the Else was ghosted, you can't put an Else on a Trigger. But then it looks like you had figured that out too, because you had changed it to be "Is Touching" which is not a trigger. You were getting double touches because of that change. The one that worked has the trigger again, and can only be hit once per touch.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You set the value to 1, and the next line you check to see if it's 1. Of course it's 1.

    Make that an Else statement.

  • If you ever need a hole in that platform, it could be another obstacle drawing the hole, and when the player collides with it, disable the solid behavior. After the player loses contact with the hole object, turn it back on.

  • Here's a link to my Tutorial on Sprite fonts. I never use regular text for anything other than debugging anymore.

    https://www.scirra.com/tutorials/629/sprite-fonts-the-how-what-when-where

  • You can also make a layout for objects only, it never shows in the game, but it can hold all your sprites. The objects don't have to appear on all the layouts, just one of them.

  • That is a thought, however all the games I've made I've never worked with the Platform behavior.

    I know the physics behavior can be sensitive to things like that.

    Any Platformer people reading this, can teleporting the platform under the player cause player shifting or teleporting?

    You could test it, put an invisible solid floor that doesn't move and take the solid off the moving one, and see if that changes it.

  • Are you using parallax to scroll the background around? It sounds like the player's layer also has some parallax on so his layer moves too. Make sure the player layer has 0,0 parallax.

    If not we may need some more clues.

    Can you strip it down to just the scroller and player sprite and upload it? (you can replace the sprites with sketches if you want. (stripping them down will sometimes reveal the bug as well.)

  • I don't even remember making that complicated string.

    Here is something using that to grab the name from the Instance variable, and then use that same number to set the frame number of a spawned sprite.

    edit: to those wondering what it is without downloading, it's still one event, just more actions and a global variable to hold the random choice for more uses. It still uses the instance for the list of loots, which match up to the frames of the loot sprite.

    I suppose I could have made each Loot an animation and named each animation to match the name, and called them by name, but I didn't think of that until writing this.

  • I've seen games that do that, the Browser pops up a window asking if the game can have permission to lock the cursor. I don't know that Construct2 can trigger that though. My "Orbital bomb bounder" could sure use it.

  • Yes, that error says you didn't rename it. Take the ".Autosave" off that file name and it will load.

  • Change the name from .autosave to .capx, does that work? (it worked in the past for me.)

    Loading an autosave without renaming give an error saying This file is Empty.

  • Maybe use line of site, have them move toward the player, until the line of site is within range?

    https://www.scirra.com/manual/163/line-of-sight

    https://www.scirra.com/tutorials/474/pathfinding-with-line-of-sight

Paradox's avatar

Paradox

Member since 29 May, 2012

Twitter
Paradox has 16 followers

Connect with Paradox

Trophy Case

  • 12-Year Club
  • x2
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,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
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies