lionz's Forum Posts

  • I think I've seen this before. As a logical guess, you have the when W is down checks but they are overridden by the general checks for mirrored/not mirrored, so its trying to play left/right animation constantly as well as the up and diagonal animations, they are basically true at the same time. You need to filter out the general checks for left right with when W is not down.

  • Click on a sprite in the menu and set a variable to a certain value which relates to that sprite, i.e. if you clicked the grass then set var to 1, if you clicked path then set var to 2. Then on mouse clicked, check that variable and create the object.

  • Isn't that the same solution?

  • wut? as 2 events. That should work.

  • On asteroid clicked > start mining

    Mouse cursor is not over asteroid > stop mining

  • Nice stuff. Kinda makes me want to make a game, to use them.

  • Cool stuff, I'll hire you when I finish my theme park game in 2027! (I don't finish games)

  • When you say 'it doesnt move' are you talking about the platform sprite does not move or the animation does not play?

    Are you saying it is working as expected when pressing W and A?

  • Hmm if it's a sprite you can set the position of it in events. If you look at the Window Size in project properties, that's the size of the screen you can see when the game is played. So if the window size is 854,480 you can set the position of the sprite to x = 854/2, y = 480/2, should be in the middle. Could be another issue though.

  • So what you're saying is, here is an auto runner example, but I want to make a completely different game? So the other commands for jumping aren't the design for the game, like a tap to jump? This game you provided is currently an infinite runner with tap to jump and it sounds like that's not the game you're trying to make? To control the player you need to set Default Controls to Yes on platform behaviour and then disable all overriding platform events like where it's forcing you to jump and move right. Not sure what game you're trying to make but it sounds like a platformer.

  • Yep, what's the issue then? I don't know what you mean by it doesn't stop, should it stop?

  • Save project as a capx file and put on dropbox or google drive and paste the link. Generally if you're asking how to do something then someone can give advice, if you're asking what's wrong with your game then they will need to see it, or they can guess.

  • I think anyone will have a hard time assisting with this without seeing the events in a shared capx.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Np, I'm happy with my logic there. All wood relates to its own dispenser and wood will be dispensed from it when no wood remains!

  • I sorted it here https://www.dropbox.com/s/ytkppgcc6b0hf ... .capx?dl=0

    Added a wood total for the dispenser. It's +1 when wood created, subtracts 1 when wood destroyed, then creates more wood if total is 0.