curv's Recent Forum Activity

  • I'd suggest that you create a very small, invisible block that is stuck to each image point on each pipe object. Testing to see if they're facing each other then just becomes a matter of testing whether a block is overlapping another block.

    https://dl.dropbox.com/u/14522925/PipeConnections.capx, without the grid system implemented.

    Thanks Geometrix that's awesome, this is how I envisaged ImagePoints working but obviously not! Sorry I'm new!

    Thanks for the capx that's exactly what I need. So is pinning the way to go for this or do I add a box to the actual image?

    Thanks for your help guys

  • You could always check the angle of the sprite. If you have one straight pipe sprite you rotate, the object's angle would tell you exactly which way the pipe is pointing.

    How would this work for a pipe that is curved at one end?

  • So I have a pipe based game, where the idea is to rotate the pipes so they join together. Each pipe obviously has two ends and rotates 90 degrees each time.

    I have the rotation working and have set an Imagepoint for each end of the pipe (End1 and End2).

    If I have let's say a 4x4 grid, each containing an instance of my Pipe sprite how can I check if at any point their ImagePoints are facing each other (in otherwords we can connect the two pipes). This method would need to work as I scale up the grid to say 50 x 50.

    Does anyone have any idea? This forum rocks btw, always get a quick answer!

    Many thanks

  • ok thanks

  • Thanks Newt I forgot to add that the line will not be straight it would an 'S' shape for example.

  • Ok so I want to allow a user to essentially draw a line but when their mouse is released the line is replaced with a sprite (or a series of). For example a pipe using a repeating (seamless) PNG so it looks normal and not stretched or anything

    Is this kind of thing possible in Scirra?

  • Does anyone have any idea of how to achieve an effect like Piperoll here - youtube.com/watch

    I'm guessing a grid with series of sprites that can be rotated 4 ways, but not sure how you would do the following:

    1) Detect whether a connection has been made?

    2) If connection has been made then how do you mask the water so it progresses through the pipe?

    Many thanks for your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • only two PMs?

    Looking to build a relationship with an artist for lots of upcoming work..

  • Errrm... Yes exactly like that. I'm PM'ing you a question now

    That is awesome...

  • If you're interested please PM me samples of your work and rates.

  • Is there a more feasible way, obviously wouldn't look as good but anyway?

    i saw a few older examples called Quaziblobs, that looks good but would it be playable?

  • Hi

    How would I go about allowing a user to draw a solid platform (line). In a kind of 'build your own' level.

    After the level has been created (by the user) he hits the start button and then the game character can interact with the platforms i.e. jump on them etc..

curv's avatar

curv

Member since 2 Jan, 2013

None one is following curv yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies