FeatherFace's Forum Posts

  • 4 posts
  • Thanks Keepee. That's a nice way of doing it. I think distinguishing between platforms/instances is straight-forward enough, it's the 'is within 20px' bit that I'm really struggling with. Is there a function I've missed that allows you to do this?

  • I'm rediculously slow responding to this but thanks both for the pointers!

    Why is that when you find a new hobby, all of a sudden work, wife and family all find reasons to take up more of your time?? <img src="smileys/smiley24.gif" border="0" align="middle" />

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Howdy peeps,

    I'm a C2 novice (like, ghost shooter and jungle platformer graduate novice!) and have decided the best way for me to get to grips with some more of the functionality is to try and make some simple games that I already play. That way I don't have to think too hard about designing game mechanics, just implementing them!

    So I've decided Game 1 is going to be Doodle Jump - don't laugh, it passes the time on the train!! <img src="smileys/smiley1.gif" border="0" align="middle" />. On the face of it, it seems a pretty straightforward game and I've found the Infinite Jumper demo so that's given me a start but I've found myself struggling with how to prevent new platforms being created too close to eachother - Doodle Jump always has them spaced at least a platform height apart.

    If you've seen the code in the Infinite Jumper demo, you'll see that platforms are created fairly well spaced from eachother. To get closer to the Doodle Jump appearance though, I've increased the number of platforms created each cycle but now occasionally a couple will be created really close to eachother. I'm fine if they touch cos I've just added a collision check but is there a way to create something like a 'proximity' check?

    e.g. "If Instance A is within 20px of Instance B > Destroy Instance B (or move it away maybe?)"

    Any advice would be greatly appreciated!

    Cheers

    FF

  • I'm new to C2 and game development so apologies if this is a dumb question...

    Why would you want to chain Event Sheets together? Is it just so it's easier to navigate or is there a limit to what you can add on a single event sheet? Surely having one event sheet per layout is more straightforward?

  • 4 posts