Rory's Forum Posts

  • Wrong section bro

  • There are Push Notifications with CocoonJS, however, it isn't implemented as a plug and play feature Construct 2 as of yet. But I think with some knowledge of javascript you can implement it yourself.

  • For now I'm using a Facebook App which generates a link.

  • I wouldn't mind selling the Capx to my game projects for learning purposes, for now I've been giving them out free when people PM me for them :)

  • 0:38,1

    Hahaha, really nice visuals and clever gameplay!

  • Possible, but hard :)

  • Last I heard, wasn't CocoonJS also experienting with WebGL support? If that's successful, would C2's memory management already be used?

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I really want to get a co-op harvest moon styled game done.

    Can't wait for it :( my dreams will come true with your success Velojet

    Go go go!

  • Yeap BluePhaze is right, you can calculate that with distance(StartX,StartY,EndX,End.Y) :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Nope, unfortunately not. C2 doesn't have read/write permissions for files on the player's disk.

  • Sometimes I just die for no apparent reason :(

  • I would make 4 variables.

    StartX

    StartY

    EndX

    EndY

    On touch begin, I would set StartX and StartY as Touch.X and Touch.Y.

    On touch end, I would set EndX and EndY as Touch.X and Touch.Y once again.

    What I'd have had there would be the start and end of my drag. From there I could use the angle(StartX,StartY,EndX,EndY) to find the angle the player has drawn. From there, I can launch the projectile to the Angle I just calculated. If it's inverse or anything like that, you could just use -(angle(StartX,StartY,EndX,EndY)) or something mathematical along that lines.

    <img src="smileys/smiley1.gif" border="0" align="middle" /> Hope this helps!

  • retrodude Thanks for the nice comments, I used separate objects and pinned them to the monkey. I like streamlining things, my monkeys are actually one Sprite object, with 4 different animations, this simplifies so much of the switching in between, and the pinning pins to the position say no.2 which would be the hat point.

    That's because the game is meant for iOS, and it is meant to be retro-styled, so I limited the game's resolution to about 1/4 of the actual iOS resolution :)

  • Yeah, the obvious advantages of C2 separating pinning and moving the object to the point would be that you can pin two objects which don't need to be at preset points, endless possibilities in physics games.

    Glad the advice helped!