procrastinator's Forum Posts

  • You'll also need to set the width to distance(x1,y1,x2,y2)

  • I honestly can't think what you'd be doing wrong for the bullets to slide after being pinned to an object.. hard to say without a capx or some code snippets really.

  • Add a bullet behaviour to both but disable by default.

    Then on collision..

    local anglePlayerEnemy

    anglePlayerEnemy = angle( Player.X, Player.Y, Enemy.X, Enemy.Y )

    Player 8direction disable

    Player bullet set angle of motion to anglePlayerEnemy + 180

    Player bullet enable

    Enemy 8direction disable

    Enemy bullet set angle of motion to anglePlayerEnemy

    Enemy bullet enable

    Wait 0.5

    Player bullet disable

    Player 8direction enable

    Enemy bullet disable

    Enemy 8direction enable

    Set the bullet speed to something like 30.. you'll need to tweak this and the wait 0.5s to get the result you're after.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • haha yeah well.. only sometimes.. ;p

  • Looks pretty cool. I can tell you're having fun making it!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Create a global text variable.. StopAllSounds = "no"

    Then when you STOP ALL sounds.. set StopAllSounds = "yes"

    Then you can use that with every x seconds like..

    +Every x seconds

    +StopAllSounds = "no"

    • play your sounds..
  • If you follow that tutorial... READ THE COMMENTS too. There's a few corrections there. Good luck man!

  • EXPFall yeah the export went fine. I used cocoonjs because of the handy launcher app on my phone. So if it performed well in that, then it was going to be fine when I finally exported it.

    There's a nice tutorial on here - cocoonjs tutorial. Not sure how useful it is now.. did scirra even enable cocoonjs support again? I haven't looked. As for cordova or something, I'd look into the tutorials. It always looks a lengthy complicated process, but once you do it once, it's just routine to do it again.

    Hope it all works out for you

  • EXPFall thanks I'm not happy with the artwork at all. Not really sure why I chose to do pixelled at that size. This game was done for a variety of reasons..

    1) finally finish a game and release on google play (really wanted to learn the process of this)

    2) have fun learning Spriter finally (and it worked :} ) although I should've cleaned up the pixels..

    3) since I was sick of seeing Flappy Bird clones EVERYWHERE.. I needed a way to vent.. :}

    Thanks for trying it!

  • JamesXXXYZ It takes a little getting used to. I have a samsung S3 and it has touch sensitive buttons right on the edge.. if I can play it on that, then anyone can ;p There's a tutorial mode on the main menu where the birds fly a bit slower. The trick is to ake your thumbs off the screen. Believe me, it works better

    hahah yes.. it is :}

    Thanks for checking it out!

  • Yeah, there's a plugin in the plugins section. Never used the plugin myself but a lot of people have.

  • I think Spriter has that stuff built in. I never tried he collison stuff from Spriter though so I can't say for sure.

    But without Spriter, what you could do is, create some image points in the extremes frames of your animations. Like place an image point at the fist on the punching frame. Then when the player punches, create a collision box there and check for a collision. Maybe add a 0.2s delay at that frame. That's how I did it in my Slappy Burd game,.