PhoenixNightly's Forum Posts

  • Radiowaves That may work it was a rough throw together. Can't say until I test it. I didn't get an opportune chance to fully evaluate all of the Tilemap offerings

  • Ah OK my understanding with the manual explanation it would only fire the first time it becomes true.

  • What gamecorpstudio said. But you have to divide either the mouse position by the size of the tile or the object position by the size of the tile.

    See here::

    https://dl.dropboxusercontent.com/u/128 ... index.html

    [attachment=0:22shnhl0]TileDestroy.png[/attachment:22shnhl0]

  • About so the is not touching Sprite 2 doesn't run every tick you add a second condition to check if the animation speed is greater than 0. So this will only execute when both the conditions are true. The Else is red because you made it a subevent of what you want to be the alternative option to Sprite Animation Frame= 2. They are suppose to line up.

  • I made changes to the link. Look at it now

    Events to achieve this...

    [attachment=0:1tkiuy54][/attachment:1tkiuy54]

  • In the Controller object there is an instance variable which would hold the pizza options. So you don't have to create multi text options as your pizza options expand. The Controller opacity is set to 0 so it can't be seen but is over each option.

    You mean something like this??

    below

  • The 'Trigger Once' is stalking you remember that runs only one time an not anymore during the runtime of the layout until restarted. And for the Event on line 5 isn't working because you made it a subevent of line 4 Event so it won't trigger.

    1. "Trigger Once" do just that trigger one time and will NEVER EVER EVER EVER EVER run again until the program is restarted or layout restarted. This is usually used for setting things up or something that absolutely does not have to run again.

    2. Get better and knowing when something is a subevent of something else. So Line 4 Event 'If Sprite Animation Frame=2' has a sub-event of 'If Sprite Animation Frame not = 2' will never be true while it is a sub-event of 'if Sprite Animation Frame =2'. what you can just do is right click Sprite Animation = 2 and select the 'Else' Statement and destroy the sprite in there.

  • Look over and study this to see if you understand what is going on. I gave you a start try to go from that.

    https://www.dropbox.com/s/ua7ymx1c5tm9s ... .capx?dl=0

    Edit::

    Fixed File

  • Just move the third event into the second one making it a subevent. So when the 'not touching' event run it will then see if it was on frame 2 when it happen.

  • No don't use the 'trigger once' cause it will only run 1 time and not any more after that. Drop the 'Trigger Once' on both. On the 2nd Event make the secondary condition if animation speed is great than 0. Also the 1st event can be 'On Touch Started' right now it will keep running every tick. Now for the third event if you want if they lift there finger on frame 2 then you would make if Animation=2 a subevent of 'Is Not Touching'

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes don't have to be anything visual grand right now. A rough draft of visuals is fine.

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