[Suggestion] Sticky terrain flag
This could've been brought up before, but even so, it was probably 10 years ago or so and couldn't find the topic.
Anyways, lfGlue. Could add some variety to gameplay as another terrain type, that would make stuff stick. It would be represented by yellow color on masks.
Behavior:
-reduce hedgehog speed and jump power to 1/2 (or 1/3, or disable jumps at all?)
-any weapon falling on it doesn't bounce at all; it's like everything becomes a sticky mine (imagine a melon glued from underneath)
-I guess that's all, not much philosophy to it
As another suggestion, would be nice if this was the anti-portal terrain. Bouncy terrain could be useful to, like, bounce portals. Right now it blocks them. Glue terrain couldn't have interesting interactions with portals anyways, so it could block them instead of bouncy one. Also portal blockers would cause less problems this way.
I think that's all. Would be nice to also have it as a flag for themes (similar to ice). I could use it for Beehive.
Yeah, the only reason bounce is the anti-portal terrain is someone wanted an anti-portal terrain and we had to come up with some terrain type for it, and bounce was the most popular. Also apparently bounce liquid in portal 2 doesn't allow portals.
But making glue the anti-portal terrain could be even more annoying if a poor hog was stuck on it barely able to hop about.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Adding a new land flag is a HUGE deal and should be done with care.
And when land is both glued and icy, what would it mean?
What if is land is both glued and bouncy?
The more important question is: Where shall it actually be used?
We would need some content in the game that uses this, otherwise it'll be pointless anyway.
Hi, I am a Hedgewars developer.
And of course on maps/themes (and if it becomes a theme option, my theme using it will eventually appear)
My themes / Theme Editor / Code contributions /
Dank
WRT land being both icy and bouncy. yes. the flags can be stacked. You can have indestructible bouncy ice.
The question is how to access it. Well, from lua:
https://hedgewars.org/kb/LuaGameplay
PlaceSprite (search for it since the bbcode linking was being dumb about the [ in the link and I'm too lazy to fix it)
The masks do *NOT* support this 'cause the colour situation would be getting a bit too convoluted at that point.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev
Huh. Then speed and jump reduction could be two separate properties. If land is both sticky and slippery, your hogs would walk with normal speed and wouldn't slide, but still had hindered jumps. If the land was both sticky and bouncy, your hogs would be slower, but they could jump normally and the terrain would bounce things like normal terrain. Sticky + bouncy + slippery would act like normal terrain.
Oh, and for one more quirk, sticky terrain could prevent cake from moving.
My themes / Theme Editor / Code contributions /
Dank
Yes, in practice right now bouncy land modifies Elasticity while Ice modifies Friction.
Sticky, if it was a thing, would presumably modify both, but also require a special case in the hog jump code to reduce upwards force, as well as special casing in object collision to nullify gravity.
... and maybe a sprite overlay of glue fibres on the idle objects or something if it could be made non-ugly.
And yeah cake movement would be another special case.
--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev