=DEMO 1=
http://www.slimesalad.com/forum/download.php?id=928
The original, with constant floor friction and zero air friction.
=DEMO 1.1=
http://hamsterrepublic.com/tmp/bellchaos-demo1.1.zip
Exactly the same, but with extra friction (ground and air) when no arrow keys are being pressed.
Is the different friction scheme in demo 1.1 a step in the right direction? or a step in the wrong direction?
Yes, demo 1.1 is an improvement.
100% (4)
No, demo 1.1 makes it worse!
0% (0)
Meh, 'bout the same.
0% (0)
Total Votes: 4
Maaaaassive improvement. Now I can see that this is a pretty awesome game, at least conceptually, and it has better controls than any other OHR sidescroller I've played. It's funny how small changes in physics can totally alter how these games feel.
My website, the home of Motrya:
http://www.jshgaming.com
My website, the home of Motrya:
http://www.jshgaming.com
Yep, the change is pretty small. Here is the whole diff :)
Code:
===================================================================
--- bellchaos.hss (revision 3430)
+++ bellchaos.hss (working copy)
@@ -1271,6 +1271,7 @@
apply climbing(sl)
player keys(sl)
force of gravity(sl)
+ if(pushing left == 0 && pushing right == 0 && pushing down == 0 && pushing up == 0) then(extra friction(sl))
apply crouching(sl)
regen magic(sl)
try to pick up bell(sl)
@@ -1582,6 +1583,18 @@
)
end
+script, extra friction, sl, friction=1, begin
+ variable(force, antifriction)
+ antifriction := get antifriction(sl)
+ if(antifriction >> 0) then(
+ exit script
+ )
+ force := get force x(sl)
+ if(force >> 0) then(force -= friction, if(force << 0) then(force := 0))
+ if(force <<0>> 0) then(force := 0))
+ set force x(sl, force)
+end
+
script, force of friction, sl, begin
variable(force, crouch, friction, antifriction)
antifriction := get antifriction(sl)
===================================================================
--- bellchaos.hss (revision 3430)
+++ bellchaos.hss (working copy)
@@ -1271,6 +1271,7 @@
apply climbing(sl)
player keys(sl)
force of gravity(sl)
+ if(pushing left == 0 && pushing right == 0 && pushing down == 0 && pushing up == 0) then(extra friction(sl))
apply crouching(sl)
regen magic(sl)
try to pick up bell(sl)
@@ -1582,6 +1583,18 @@
)
end
+script, extra friction, sl, friction=1, begin
+ variable(force, antifriction)
+ antifriction := get antifriction(sl)
+ if(antifriction >> 0) then(
+ exit script
+ )
+ force := get force x(sl)
+ if(force >> 0) then(force -= friction, if(force << 0) then(force := 0))
+ if(force <<0>> 0) then(force := 0))
+ set force x(sl, force)
+end
+
script, force of friction, sl, begin
variable(force, crouch, friction, antifriction)
antifriction := get antifriction(sl)



