lionz's Recent Forum Activity

  • If 'timer' is a global variable then I'm not sure how it can revert to a 25 unless you set it to this on start of layout. Just use on start of layout set global variable 'timer' to a value, should be fine.

  • What are you using for the 'timer', every X seconds?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Our arena wave game is starting up, decent progress in a few days. We hope to release on Steam. You jump out of the pod in the middle and move a little guy around to pick up upgraded weapons.

  • Female_main set position to an object (player), then pin

  • Too late, it's past your deadline now :P

    You can upload C3 file to dropbox and create a share link or something like this.

  • You activate and deactivate groups with their name. I don't think it has any other use?

  • I fixed it up a bit as I realised I needed to make it suit all scenarios in the game. I've made it so it doesn't add moves if you're pushing a block or against a wall, and also sorted a bug out where you could spam keyboard presses for multiple moves.

    dropbox.com/s/mt7ns70vmkehcuo/move_push2.c3p

  • So there's no problem going against the wall, I would revert back to the original logic. Looks like the bug is because it disables the solid behaviour on the blue box but enables it again in the same tick so in this time you are counted as moving.

    Try this method instead of enable/disable solid, use the grid position of the blue box as a condition and say if on pressing left and grid position of blue is not grid position of player-1 then move or add to moves etc. Another method is to use 'can move in direction' but make sure its 5 pixels or more because of what you've done with the collision boxes.

  • Well you would do add 1 move and 1 push in the first block so it does count the move, anywhere you simulate the tile movement. I don't understand why it's adding the move against a wall because you are not moving if it's solid and you can't move into that space. Share the file.

  • What you're trying to do should work technically so I'm not sure what's gone wrong with your level. However for safety you don't need to use 'is moving trigger once', you know that when you simulate the player left/right in the other logic that this is a move so you can add to the variable there.

  • The norm would be to create an animation I guess if it moves in a unique way. But nothing wrong with using scale or something else to mimic button pressed states.

  • You use the id variable you've set up, so you search for all sprites that are Y=300 and then check the Y of sprites where id is sprite.id-1 and sprite.id+1, the ones on either side. If both of those values are 400 then true and spawn the new sprite.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 followers

Trophy Case

  • 11-Year Club
  • 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
  • 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
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies