Mastasurf's Forum Posts

  • You do not have permission to view this post

  • Wow. just... wow...

    That's going on the site. Thanks!

  • This is my first attempt at creating a game with C2. It resembles Asteroids style game-play, but has a few twists to it. Controls are enabled for mobile devices although the game hasn't been thoroughly tested with them. Any feedback or optimization suggestions are appreciated.

    <img src="http://mustardsucks.com/Mustaroids.png" border="0">

    Mustaroids - Mustardsucks.com

    Controls

    Keyboard

    Up Arrow - Thrust

    Down Arrow - Brakes

    Left/Right Arrow - Rotate

    Space - Shoot

    Mouse/Touch

    Touch (outside player bubble) - Move, Rotate and shoot

    Touch (inside player bubble) - Rotate and shoot

    * move speed increases as the distance between the player and the touch-point increase.

    Special thanks to wgfunstorm for the Playtomic plug-in and to Ashley for creating such a wonderful tool.

    p.s. Yes, I really hate mustard...

  • If I'm understanding the problem correctly you could try taking the ship's current angle and subtracting 90 degrees. So, when you want to go back to default you would set the angle of the turret to Ship.Angle-90.

    Regarding your second question, you just need to add a condition to your firing event that checks to make sure the enemy is within a certain angle of your ship's. Here's a snippet of code from a project I'm working on that seemed to work.

    <img src="http://dl.dropbox.com/u/31346541/C2/FireInRange.PNG" border="0" />

  • OK. I have restarted several times and the icons still don't show up. I'm not sure if this helps, but the button highlight effect works when I mouse over where the icons should be.

  • I'm actually running Windows7. It was working before I updated to the latest version. Later tonight I'll double check to see if the problem still exists after restarting.

  • Both the "origin and image points" and "set collision polygon" icons stopped showing up in the Jan 2nd build.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads