A downloadable game

Download NowName your own price

リーンスクリプトとそのサンプルゲームです。

データフォルダはパッキングしてないんで同封しているテキストファイルを見ながら頑張って移植してください。


I combined TJ's ADS script with clickhere's wall run shader and created a sample game that includes a functioning lean mechanic.

During gameplay, you can lean left or right using the Z/X keys.

To implement Lean in other projects, copy and paste the scripts from the data folder while referring to the enclosed text file.

Warning! This script has two flaws:

- 3D weapons do not follow screen rotation

- When using a skybox, the sky also tilts

So, this script only works properly indoors or on maps using a simple solid-color skybox.

If you use a skybox, you'll need to disable rotation processing(don't use Vertex Shader), resulting in a lean mechanic that only moves left and right, like in System Shock 1 or Perfect Dark.

If there's a way to prevent only the skybox from tilting, please let me know. I'll make the correction.



Script/Shader Source:

ADS script - TJ

Wallrun vertex Shader - Clickhere

Slide mechanic - Pixelwolf

StatusReleased
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
Authoryugi yanagui
GenreShooter
Tagsefpse, FPS, Singleplayer
ContentNo generative AI was used

Download

Download NowName your own price

Click download now to get access to the following files:

LeanV3.zip 7 MB

Development log

Comments

Log in with itch.io to leave a comment.

this is insane! Thanks for this man excited to play with it 🔥🔥🔥

The smooth zoom feature in the ADS script you shared was incredibly helpful when creating a script to rotate the camera naturally. I'm very grateful