Yeah. NO OOB TRIGGERS, JUST A CUSTOM CODE THAT MAKES CERTAIN TEXTURES KILL THE MARBLE ON TOUCH. This is much better than simply having oob triggers on every poison/lava surfaces which are pretty tedious to place.
Custom code for "oob textures" (textures that kill the marble on touch)?
- SummerArmy
- Topic Author
- Offline
- Novice Marbler
- I make levels.
Yeah. NO OOB TRIGGERS, JUST A CUSTOM CODE THAT MAKES CERTAIN TEXTURES KILL THE MARBLE ON TOUCH. This is much better than simply having oob triggers on every poison/lava surfaces which are pretty tedious to place.
Please Log in or Create an account to join the conversation.
- Blasted
- Offline
- Senior Marbler
- Speedrunner and Level Maker
- Posts: 768
- Thank you received: 109
My Twitch: www.twitch.tv/blastedmarble
My Twitter: twitter.com/BlastedMarble
Please Log in or Create an account to join the conversation.
- SummerArmy
- Topic Author
- Offline
- Novice Marbler
- I make levels.
Also, when will be the next PQ update released?
Please Log in or Create an account to join the conversation.
- Weather
- Offline
- Professional Marbler
- ≡
- Posts: 491
- Thank you received: 270
Please Log in or Create an account to join the conversation.
- Jiquor
- Offline
- Professional Marbler
- STOPX Creator
- Posts: 366
- Thank you received: 163
And you said blackplate was a horrible idea in the past LOL. That part of the update reminds me of blackplate.Blasted wrote: The next PQ update will include a lava plane that sends you out of bounds when entering it, unless you have a fireball PowerUp with you. But I don't know if that's what you're looking for, since you don't want any OOB triggers.
Weather is correct - there's portions of the code that could also be found in M.B.P.U by Whirligig231 - you might want to ask him for permission before you use anything of his though.
Edit: Wow I posted here. RandomityGuy and I were figuring something out for D.L.C 5 of STOP II. Now that it's resolved, I won't be here until I need something else. Who knows how long that might be.
STOPX Creator. Getting better by every release.
Please Log in or Create an account to join the conversation.
- whirligig
- Offline
- Professional Marbler
Jiquor wrote: Weather is correct - there's portions of the code that could also be found in M.B.P.U by Whirligig231 - you might want to ask him for permission before you use anything of his though.
FYI, my pronouns are they/them.
The MBPU code is implemented as Weather suggests; it's a weird, hacky solution. There is a better solution available in MBPU 1.6: you can use the functions mSurfaceFriction(), mSurfaceRestitution(), and mSurfaceForce() to get the friction, restitution, and force of the last surface the marble touched. Then you could set friction to something specific like 0.1337 and check it every frame (or every time the marble bounces), forcing the marble OOB if it's sufficiently close (like < 0.0001) to the magic number.
In order to do this, though, you'd need to include some of MBPU 1.6's engine code. If any PQ devs want to get in contact with me to get the relevant code added to the game, I'd be happy to give it away (Discord's probably the best way to contact me for that).
Please Log in or Create an account to join the conversation.