kirksl's Forum Posts

  • 3 posts
  • Thanks for explaining the mechanics. Makes perfect sense. I don't agree that this isn't a bug though. From a black box perspective, I think it's fair that if the developer, in saying, this is my collision object and nothing gets past it, it's the platforms job to ensure that. If the design of the platform fails to enforce it, that shouldn't be the developers fault.

    I do like the option to let things pass through solids personally and this issue seems for the most part easy to mitigate. It would be nice if it wasn't a surprise followed by confusion however and exposed as maybe a property of a solid, such as Solid.BlockThreshold? For example if I set it to 50%, only half of the total bullets would collide, the others would pass through.

    Possible resolutions.

    -Document this behavior for now to prevent this conversation Is it documented?

    -Post a warning in the IDE when setting high speeds on bullets, etc that collision objects should be sized appropriately.

    -Assuming no performance loss, update the platform engine to calculate bullet direction, collision objects in it's path, pixel distance traveled per tick, bounce the bullet off collision in current tick if next tick will put bullet out of bounds, ...

    -Block high speed values for bullets, etc by some form of intelligent reasoning, maybe based on existing objects, or just in general, ...

  • Thanks for the feedback. I guess i'm still wondering if this is a bug with the platform? I say that because I thought the idea behind the platform was to abstract any issues or dealings like this away from the developer and "just work". If I say it's a solid, it's a solid, it absolutely will not allow anything to pass and the platform should calculate and guarantee that. Or maybe this is an intentional design that developers want, wherein x% of objects will escape a solid?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm running through the tutorial for Jumble Art at

    downloads.scirra.com/books/levelzero.pdf

    I've designed the app exactly how the PDF tells me to. When I set the Bullet Speed of the MonaPieces to 2000 they fail to stay within the 4 sprites arranged into a box with the solid behavior set. If I pull back the speed to 1000 the problem seems to go away.

    I thought this might be a timing issue so I set the Bullet initial speed to 0 and set it to 2000 after a 5 second Wait. The problem repro'd again.

    Is this a bug or is 2000 too high?

  • 3 posts