PhoenixNightly's Recent Forum Activity

  • Can I see a capx or snapshot

  • Well I saw that the first trigger event destroyed the bullet so when it ran the test again it would be false cause the bullet was destroyed in the first call. Trigger events run when theyactually happen that is why it doesn't matter where in the code they are when a trigger event runs unlike the standard events that run as in the order they are placed to run in that tick. So you have chances of the second time possible trigger 50/50 which would give you unexpected results.

  • It's all about breaking everything down to bite size pieces so you don't panic or feel overwelmed.

    I will give you your first task. Once you achieve that I will suggest your next.

    Task number one get selection working. Don't work on nothing else but that. Post your capx to be reviewed.

  • Basically you can start with the main mechanic of picking and placing items. For the placement you can make the base of the pizza z index 0 then have a global to keep the current zindex as a variable and increment as they are placing toppings making the next topping they place on top of the current items. Being that you have to have one of each it you going to use somewhere in you project I usually make a dummy layout for holding all my spirited I will use. And you just spawn a copy when the person choose their topping.

  • I suggested "on touched" cause once it's set to 1 you don't have to set it again. "on is touching" would keep running every tick which isn't necessary. From what he explain he need it to switch set the animation speed to 1 when the button is touch which what "on touched object" will do. The animation doesn't change again until they stop touching. On is touching will keep running as long as it is true and keep setting the speed to 1 even when it already is one.

    To stop the inverted event from running every tick add a secondary check to see if the animation is even running should be done. So if they are not touching and the animation frame isn't 0 do this.

  • Also instead of checking just for touch start you should see if they actually touching your button with 'On touched object' to trigger the animation. Cause right now they touch anywhere would trigger the event to play the animation.

    **Edit**

    Actually you first screen shot is almost there except instead you have an invert "is in touch" which should instead be "is not touching Sprite" and not be a subevent

  • Not at my computer but you should be able invert the 'Is touching object' event cause that might be what you need to see if their not touching your button.

  • If you use the command stop all at the start of layout then start that level music does that work??

  • I know Internet Explorer ask you if you want to allow the scripting to run. You can try that.

  • You have to take the not touch outside of the touch trigger event. Right now it's a sub event of if touch is true. And the not touch event doesn't have code to stop the animation unless you removed it before you took the screenshot.

  • Or compact it to this with one event and 1 action

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What is the likelihood they would use this ~ or this ^?

PhoenixNightly's avatar

PhoenixNightly

Member since 10 Feb, 2014

None one is following PhoenixNightly yet!

Trophy Case

  • 10-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

12/44
How to earn trophies