Resource icon

[Open Assets] sloperollangle: Character Rotation on Slopes

Code:
[10:56 PM] Jimita: NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
[10:58 PM] Tatsuru: Do you wanna play god? Is that what you want?
[11:04 PM] Kitoko: golden this is illegal
The name is pretty self-explanatory. This Lua rotates the sprites of players against the angle of the slope they're on. Note that sloperollangle only rotates characters using their in-game roll angle; this doesn't require new sprites to be drawn by spriters to support it.

View attachment 13308

This is also 100% compatible with multiplayer!

View attachment 12809

Download today!

Commands:
Code:
cameraroll <on/off>: Whether the camera rolling feature is enabled or not.
(Exclusive to 2.2.2 and above). Default OFF.

cam_rollspeed <decimal>: How quickly the camera fully rolls to the slope you stand on. Default 0.1.
  • srb20117.gif
    srb20117.gif
    3.1 MB · Views: 5,218
  • srb20236.gif
    srb20236.gif
    3.2 MB · Views: 4,140
  • srb20405.gif
    srb20405.gif
    5.3 MB · Views: 5,318
Author
Golden
Views
18,508
First release
Last update

More resources from Golden

Share this resource

Latest reviews

Absolutely sick!

The autoturning camera gives an incredible effect when at high speeds, but when not, it's just bad. It'd be better if you made a version where the camera only moves when going above a certain speed.
Upvote 0
A simple trick that just makes the game look and feel so much nicer. I will forever have this script enabled, even in vanilla play.
Upvote 0
go to the discussion tab
Upvote 2
It looks really cool but how do you download it?
Upvote 2
OMG I NEEDED THIS
Upvote 0
Really nice modification for srb2! but i haven't been able to find a way to make it work with models, it works when you're standing on a slope ramp facing the ramps sides, but just stays normal when going up a slant, is there anyway to fix this?
Upvote 0
Damn, this is awesome (mainly with camera roll on)
but will this work with models any day ?
Upvote 0
A cute tweak. I keep it in my "always load during modified games" folder.
Upvote 0
This is kind of cursed, but this is still super good. Honestly, it can add a lot of neat touches in stuff like map packs and whatnot. (It also saves a lot of hassle for those that get bothered for characters not standing right on slopes.)
I'd definitely use it in my 2D maps.
Upvote 0
Back
Top