Pages: [1]
  Print  
Author Topic: run fix  (Read 7482 times)
Zantier
Seedling
*
Posts: 2


View Profile
« on: October 06, 2016, 03:39:58 PM »

 Years ago, I used to play spelunky classic a lot, and I've gotten back into it recently. I prefer it to the HD version in many ways, but the one thing that always bothered me is you can't start/stop running in mid-air.

This is especially annoying when:
-Using a cape/jetpack. If you are running when you first leave the ground, you move really fast through the air until you touch the ground again.
-Running and jumping, then grabbing onto a ledge/ladder/rope. Even if you let go of the run button, when you jump off you'll still be running.

This was changed in the HD version, so now here's a fix (if you consider it one) for classic. I can't guarantee this was the best way to fix it, but it seems to work well. This was modified from v1.3.

http://www.filedropper.com/spelunkyv13runfixwindows

The code change is in Scripts/Characters/characterStepEvent. Here's the diff:

image: http://i.imgur.com/wje9UoC.png

text: http://pastebin.com/kLKFC1jX
« Last Edit: October 08, 2016, 12:44:00 PM by Zantier » Logged
halibabica
Bossy
Mossy
*
Posts: 2118


old guard


View Profile Email
« Reply #1 on: October 07, 2016, 09:14:05 PM »

Boy, is that some nitty gritty. Having still not played the HD version myself, I wouldn't even know the difference. It would be handy to be able to pick up speed midair, even though it doesn't make physical sense. I know I get stuck airborne with less momentum than I'd like sometimes...
Logged

Sometimes I wonder if I like Spelunky too much.
ManTrap mod - Tastes Like Spelunky
Hand-drawn comic - Spelunkying
Zantier
Seedling
*
Posts: 2


View Profile
« Reply #2 on: October 08, 2016, 12:35:25 PM »

It's made quite a difference for me, but I think that's because I run a lot.

But I think everybody will be able to notice a big difference with the cape and jetpack. It makes me wonder whether the original behaviour was intended.
Logged
halibabica
Bossy
Mossy
*
Posts: 2118


old guard


View Profile Email
« Reply #3 on: October 08, 2016, 09:28:48 PM »

It's hard to say. I never questioned it 'cuz it made sense you could only establish your momentum before you left the ground, but it's certainly more convenient, and gameplay trumps realism imo.
Logged

Sometimes I wonder if I like Spelunky too much.
ManTrap mod - Tastes Like Spelunky
Hand-drawn comic - Spelunkying
Pages: [1]
  Print  
 
Jump to: