makotto's Recent Forum Activity

  • Hi guys!

    I am working on a small project and I need some help. The project has some sprites that play a sound when they are touched. The sound clip assigned to each sprite has a different length of time.

    I'm trying to assign the length of the last audio clip played to a global variable called AUDIO_LEN (using the Audio.Duration expression).

    The first time the sprite is touched, the value of AUDIO_LEN does not change. The second time the sprite is touched, the value of AUDIO_LEN is accurate.

    The expectation is for AUDIO_LEN to get the right value the first time.

    CAPX here.

    Thank you very much for your help!!!

  • Cool game. Love the artwork. I agree with Peralta, the orb needs to be changes. Overall really cool!

  • You could add a second variable called Final_Scale and set it to 1.00

    Add a second condition Scale <= Final_Scale (from the System, compare two values condition set), this way the condition will only execute until your Scale is equal to 1.

    So:

    Every 0.01 seconds && Scale <= Final_Scale -> Add 0.001 to "Scale" _. Set scale to "Scale"

    You want to stop the rotation when it's correctly aligned to the screen again... does that mean that you want it to rotate for 1 full revolution?

    If so, use a for loop

    For sprite.angle from 0 to 360 -> Sprite set Angle to: sprite.angle+1

    So this get the sprite angle (sprite.angle) and add 1 to it 360 times.

    Hopefully this helps.

  • Thanks Mineet. The graphics are really challenging. I wanted to use different sprites, but my drawing skills are pretty bad. I'm glad you liked them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks! I just fixed the broken link. Hopefully you will like this version!

  • Hi guys!

    So this a small game that I've been working on. Here is a small screenshot.

    <img src="http://theoriastudio.com/images/ScreenShots/ZomDef%20Screenshot.PNG" border="0">

    Its a top down shooter with some weapons for a mobile device. Any ideas or suggestions are welcome!!

    Theoria Studio

    theoriastudio.com

  • Thanks for posting the capx. I went over it, and made a few changes to the laser systems.

    Here are the changes I made

    FS1.capx

    Hopefully this helps. By the way, where did you get the sprites? they look pretty cool

  • The laser itself does not need a physics system.

    Here is a capx with the basic idea. Just need to fine tune the points for laser spawn. If you want the laser to be the same color after the bounce, you can use the same image for the sprites laser and laser2.

    dropbox.com/scl/fi/ktwhpizznh9wjin2ad57q/laser-idea.capx

  • Theoatrix:

    You need to create a Touch object.

    Set a condition with "At every tick" (system group) and "Is in touch" (touch group).

    Use the Sprite action "rotate towards position" with a rotation speed (given by you), and use Touch.X and Touch.Y as positions.

    Use the Sprite action "move forward" with a speed given by you.

    I'm including a CAPX with this idea. Hopefully this helps!

  • I had the same issue. Had to close Construct, the web browser (open to preview the game) and do a reboot on the pc. After that, it worked just fine.

  • I think this is really cool. Just like RandomFellow, I feel that you should not randomize the weapons. I liked the music too, it goes really well with the atmosphere of the game.

  • This is a pretty interesting concept. Just a little suggestion... You might want to include a mini tutorial (or one of those how to play screens). Since the game concept is so new, a lot of folks might not understand how to play it or what the goal is right away.

    Great game! I'd love to see the next release.

makotto's avatar

makotto

Member since 29 Mar, 2013

None one is following makotto yet!

Connect with makotto

Trophy Case

  • 11-Year Club
  • RTFM Read the fabulous manual

Progress

12/44
How to earn trophies