lionz's Recent Forum Activity

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

  • Try Construct 3

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

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

  • What are you trying to accomplish here? It sounds like the cubes overlap across x because they're 80 wide but can be only 10 distance from each other, but the Y you want to build a cube 200 above but the height is only 120 so there will be gaps?

  • To change the browser you use Construct 3 with that browser and then preview.

  • You'll find there are 2 problems :

    1. You included the universal event sheet but this is not the one with the controls on, you need to also include the other event sheet main game event

    2. When you include the other event sheet the player will break because of the 'pin' action on start of layout. You need to add to this also female_main set position to player because it looks like the player box moves position but not the visual character.

  • In debug view you can select the character object to see where it is and if it's in the expected location. If that's correct then it's to do with where the camera is positioned I guess. It'll be an easy fix somewhere, if you can't work it out then share the game file.

  • The 'controls' group of events or whatever your equivalent is will need to be linked to all the layouts. My guess is your layout 2 uses a different event sheet. You can 'include' the event sheet linked to layout 1 on the event sheet for layout 2. Right-click 'include event sheet'.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 75 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