Eliyahna's Forum Posts

  • I'm using the Effects, water on a lite blue jpg. It is slowing the mobile device down so much that it inhibits game play.

    Is there a trick to better optimizing? The jpg is stretched rather large to cover the lower half of the screen on that game level. The player dives in and swims through the water.

    So how can I do this with animation on the water without slowing down the mobile device so much? Any suggestions would be appreciated!

  • This bird was a HUGE pain but it taught me a lot. There are more actions to him but here is most of his code. I finally used platform simulations to successfully fix him.

    He has an instance variable for "right" text for direction and behaviors are platform, bound to layout and solid.

    I added invisible blocks as "edge markers" on the right and left sides of the screen so that he would know which way he's going and won't turn backwards or upside down. I also made it so that if he hits the ground he will simulate control "jump" so that he doesn't stick on the ground.

    <img src="http://www.eliyahna.com/temp/capture15.jpg" border="0" />

  • Yes it does!! I think a few of these options would work well but wizaerd that's nice & simple. Thanks again for sharing!! :)

  • eli0s, unfortunately, the "health up" animation is interruptible (in case you have to defend yourself during) so it wouldn't work well.

    Oh here's the new working code. "Col" is the instance variable boolean on the mushroom:

    <img src="http://www.eliyahna.com/temp/capture14.jpg" border="0" />

  • Thank you both. wizaerd - I tried your way first. Works brilliantly.

  • Disabling collisions on the mushroom disables everything resulting in no animation, no health points and well... no collision event.

    What did you mean? On the collision event these actions should occur once each. Not zero times each.

  • When my player has collision with a mushroom, the mushroom does a little dance and a sound plays then she gets health points.

    The problem is, if she stands still while touching the mushroom or moves back & forth over it, the events (sound & health points additions) happen over and over again until the animation finishes and the mushroom finally disappears.

    How can I make everything only happen once upon collision? It seems if I start with "trigger once while true", the "on collision" event is not available. If I start with "on collision", I am unable to add the "once while true" event on. It doesn't show as an available option.

    So how can I limit this event so that the actions only happen once per collision?

    <img src="http://www.eliyahna.com/temp/capture13.jpg" border="0" />

  • If there weren't any controls at all on it... and I asked you how you would write the controls for a bird... what would you say?

    I think I'm going to delete all the controls on it and start fresh. :(

  • nope removing that didn't help *sigh*. It seems to turn upside down when I approach it. The bullet is initially disabled on layer startup and the bird is sitting on a tree. When the player gets within 100 pixels the bird should fly toward the player.

    Currently it seems like when the player approaches within the 100 the bird flips upside down and flies away.

  • I was wrong! I did find something else I didn't see before. This is on there. Could this be causing it? I think this has to be the problem. I'm just stumped how to solve it...

    <img src="http://www.eliyahna.com/temp/capture12.jpg" border="0" />

    This is to make the bird come toward you if you get close to it to try to make collision event.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Turns out the version I have (r139) is the latest stable version. I'm not willing to install betas over a stable version so I won't be able to open your cap, sorry. Thanks

  • BACLog - Evidently I need to upgrade my version before I can open your cap. I only purchased this software a few months ago!? I will let you know...

    - no. As I said, those are the only controls. This is not a playable character

  • Actually, because it has bullet I removed those. This is the only other reference to the sprite's "direction":

    <img src="http://www.eliyahna.com/temp/capture11.jpg" border="0" />

  • Sorry I just can't share that. No offense!!! I have months worth of work into it. There doesn't seem to be any "set" time that it happens. The screenshot above shows all there is to the sprite in question.

  • I'm having a problem with a bird sprite. It always faces the right way but it sometimes turns upside down.

    It uses 8 direction with only left & right enabled. I cannot use platform instead because it flies (platform makes it go along the ground).

    Here are the settings. Anything else I can try to keep it right-side up?

    <img src="http://www.eliyahna.com/temp/capture10.jpg" border="0" />