So the caterpillar party has always been hard-coded to the default walking speed of 4
That meant that any time you changed your leader's walking speed, the party would stretch out or scrunch up, like this:
That was fine if you liked it, and were okay with adjusting your scripts to cope for the misalignment (I'm keeping the old behavior in Wandering Hamster because I like the way it looks)
However, if you hate the caterpillar stretch-and-scrunch, I have good news for you!
There is now a general preference bitset "Keep caterpillar length the same when speed changes" (or there will be in tomorrow morning's nightly build)
All you have to do is turn this bit on, and you can change your walking speed and keep the caterpillar party together, like this:
This bitset will probably become the default in newly created games.
Also, as a nice bonus, the hero positioning code is now more cleaned-up. Will that make any other future features easier to implement? Only time will tell! (larger active party? baby steps, baby steps.)
Caterpillar party at non-default walking speeds
Moderators: Bob the Hamster, marionline, SDHawk
- Bob the Hamster
- Lord of the Slimes
- Posts: 7658
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact:
Caterpillar party at non-default walking speeds
Last edited by Bob the Hamster on Wed May 31, 2017 10:00 pm, edited 1 time in total.
- The Wobbler
- A Scrambled Egg
- Posts: 2817
- Joined: Mon Oct 15, 2007 8:36 pm
- Location: Underwater
- Contact:
I wasn't even aware this occurred with changing speeds. Shows how little I've used caterpillar mode. I have to say, I kind of like the scrunching up! Of course, not in all instances, but in your example, it's actually quite endearing. I can imagine it looking good when walking through mud or other terrains.
I look forward to a future where I can have 99 heroes in walkabout all creating a massive mess on screen.
I look forward to a future where I can have 99 heroes in walkabout all creating a massive mess on screen.
My pronouns are they/them
Ps. I love my wife
Ps. I love my wife
- Pepsi Ranger
- Liquid Metal Slime
- Posts: 1457
- Joined: Thu Nov 22, 2007 6:25 am
- Location: South Florida
- Rogissidor
- Slime
- Posts: 22
- Joined: Tue Apr 11, 2017 12:25 pm
- Bob the Hamster
- Lord of the Slimes
- Posts: 7658
- Joined: Tue Oct 16, 2007 2:34 pm
- Location: Hamster Republic (Ontario Enclave)
- Contact: