Eliyahna's Recent Forum Activity

  • Yes that did the trick. I assigned boolean value "OnOff" to my sound button and then coded it in as you said. Here is the code if anyone wants to see:

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

    Thanks GeometriX

  • I have a button that's a picture of a speaker named "Sound". When someone clicks it, it will turn to the animation version of the speaker with a red circle and line through it over it and all game sounds should become muted.

    If someone clicks it again, the speaker image should return to normal and the sounds of the game should become audible again but somehow my code is not working.

    Button animations are:

    Default: <img src="http://www.eliyahna.com/temp/soundon.png" border="0" />

    Off: <img src="http://www.eliyahna.com/temp/soundoff.png" border="0" />

    and the code is currently:

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

    Can anyone tell me why this isn't working or provide links to a helpful tutorial on the subject?

    Thanks!!

  • Ah of course!! You've taught me a lot thanks so much again. I know this thread will come in handy for others too.

  • Okay I have modified the lab4 code a little bit to fit my purpose. My sprite is transparent "Player" with pin for "Player Animations". She is still not flipping to face her direction so I'm not sure what I've done wrong cvp? Here is my new code now

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

  • Wow the lab3 sample helped me so much!! Now she moves perfectly :) Now just to figure out how to get her to know which way she's going so to set her animation. Thanks so much for your help.

  • Her angle stays straight with the keyboard controls. I hope by fixing her to stay straight with touch it doesn't ruin that?

  • Thanks very much! That works well she goes all around and follows my finger but now there are 2 new problems...

    She goes through solid objects & she flips and flops all around. She looks like a person so sometimes she flips to stand on her head or spins and it looks crazy. I know that's the angle, etc and can probably eventually fix it but what about stopping her from following my finger through solids?

    She is set to "collisions enabled" and her bullet set to bounce off solids.

  • I would like my player sprite to go to the finger on touch so that it can be moved without buttons. So wherever the finger touches, the sprite will "walk" to it.

    Here is my code. Any suggestions on why this is not working correctly?

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

  • Here's my try with the touch. As you can see, it changes the animation but she doesn't move. eliyahna.com/temp/MoveTest

    The files with the touch controls I added can now be viewed at dropbox.com/s/5opm21q2artssk7/MoveTest.zip

  • I have a character with 4 way movement via keyboard. I've been trying to add touch controls but I'm having a lot of problems. The character movement is loosely based on the ghost shooter.

    Here is a file containing my basic character and controls. Can someone point me to a link or suggest ideas to accomplish adding touch controls to this?

    dropbox.com/s/5opm21q2artssk7/MoveTest.zip

    Thanks!!

  • What do you mean when you simulate control? This sprite is not controlled by anyone...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have a bird. If I use platform, he goes along the ground. If I use 8 directions and limit to left & right, he flips upside down for left. He is NOT a player character so I can't use keyboard events. I tried if angle is between this & that angle - mirror... but I'm not sure why it's not helping. Any suggestions?

Eliyahna's avatar

Eliyahna

Member since 23 Jul, 2013

None one is following Eliyahna yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies