Тёмный
No video :(

Swerve input tutorial in Unity | Hyper casual games 

Rakib Jahan
Подписаться 1,5 тыс.
Просмотров 16 тыс.
50% 1

This is the most common input system used in many popular hyper casual games like Cube Surfers, Stack Colors, Giant Rush etc. This is mostly seen in runner games
Get the scripts here: github.com/rak...
🔥 Find more: www.rakibjahan...

Опубликовано:

 

27 фев 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@sachinsoni5044
@sachinsoni5044 3 года назад
By using transform.translate when player swerve in speed it will pass through object
@010UR
@010UR 8 месяцев назад
thank you bro
@BroxAGM
@BroxAGM Год назад
How do you animate with this code ? When you pressing but not moving left or right, resetting animation is making player look like jittering every frame
@BroxAGM
@BroxAGM Год назад
it is jittering while moving slowly because of lastframeposition setting in getmousebutton. How to solve it? Normalized makes it feel delayed
@sefaylmaz9291
@sefaylmaz9291 3 года назад
It works fine thank you for tutorial. I forked your repository!
@clastergaming6394
@clastergaming6394 Год назад
Thank you !!
@mracipayam
@mracipayam 2 года назад
Thank you.
@acikgozemre
@acikgozemre 2 года назад
Thank you!
@zorkgames9688
@zorkgames9688 3 года назад
how I can set limits to the player along the x axis ? so the player can't fall into the right/left😁
@rakibjahan
@rakibjahan 3 года назад
just tweak the max swerve amount and keep the starting local position of the player at x=0
@zorkgames9688
@zorkgames9688 3 года назад
@@rakibjahan It's limits the player moving speed but not set a limits so the player can't position cannot be less than -4.5 and more than 4.5 along the x axis, can you give me an idea how to do it? I'm waiting your response!
@revulpes6071
@revulpes6071 2 года назад
I know it's late, you've probably solved it by now. But for anybody that still tries to solve this; you can use Mathf.Clamp function to clamp x values in between -4.5 to 4.5. So even if the x value gets over 4.5, clamped value will stay 4.5.
@Dranzer10HD
@Dranzer10HD 2 года назад
@@revulpes6071 can you show an exmaple please?
@BroxAGM
@BroxAGM Год назад
@@Dranzer10HD vector3 blabla = transform.position; blabla.x = Mathf.clamp(blabla.x, -4.5,4.5); tranform.position = blabla;
@SeVeN-vj4oq
@SeVeN-vj4oq Год назад
hi bro can link the code of player mover runner
@mrityunjaydwivedi9930
@mrityunjaydwivedi9930 3 года назад
Can u make a tutorial how hyper casual games make endless levels. Pick this please
@rakibjahan
@rakibjahan 3 года назад
Can't guarantee as hyper casual games use a level based approach rather than endless.
@mrityunjaydwivedi9930
@mrityunjaydwivedi9930 3 года назад
I saw that on many vodoo games like jonnytrigger
@rakibjahan
@rakibjahan 3 года назад
@@mrityunjaydwivedi9930 Jonny Trigger uses a level based approach where each level is handcrafted
@mrityunjaydwivedi9930
@mrityunjaydwivedi9930 3 года назад
Thanks for letting me know that but is this not difficult to make like 1000 levels
@rakibjahan
@rakibjahan 3 года назад
@@mrityunjaydwivedi9930 Yes and no. Certain layouts are reused many times for eg, the part between two checkpoints.
@swarupmohanty8236
@swarupmohanty8236 2 года назад
Bro can you tutorial for boomerang
@aishafaisal9467
@aishafaisal9467 3 года назад
Can you say where did you learn to make this hyper casual game ... or any course ... pls I love too make this cool stuff
@rakibjahan
@rakibjahan 3 года назад
Actually there's no specific course for this as far as i know. You just learn normal game dev and then go from there
@egunan
@egunan 3 года назад
nice tutorial!
@rakibjahan
@rakibjahan 3 года назад
Thank you
@kushalbaid
@kushalbaid 3 года назад
Pls bring more
@Rm-qz1ro
@Rm-qz1ro 2 года назад
Bro this work on iOS?
@adnaan_animations8136
@adnaan_animations8136 3 года назад
awsome tutorial ......... did you create the course ?! anyway thanks for the tutorial
@rakibjahan
@rakibjahan 3 года назад
Not yet. I will do short tutorials for now like this one. Let me know what you would like to see next.
@adnaan_animations8136
@adnaan_animations8136 3 года назад
@@rakibjahan can you make a tutorial on making a small hyper casual game . Please
@rakibjahan
@rakibjahan 3 года назад
@@adnaan_animations8136 I will make a short tutorial on the mechanics of 'Cube Surfers'
@adnaan_animations8136
@adnaan_animations8136 3 года назад
can you say where did you learn to create this cool hyper casual games ... or can you suggest any course . i didnt find any on internet . hope you helps
@rakibjahan
@rakibjahan 3 года назад
@@adnaan_animations8136 Actually there's no specific course for this as far as i know. You just learn normal game dev and then go from there
@unknownworldhindi7592
@unknownworldhindi7592 3 года назад
Can you help me
@RainForced
@RainForced 3 года назад
this work on android too ?(scripts)
@rakibjahan
@rakibjahan 3 года назад
yes, Unity android
@bluedragongaming6958
@bluedragongaming6958 2 года назад
It won't work it's bad man
@unknownworldhindi7592
@unknownworldhindi7592 3 года назад
Hello bro
Далее
How to ACTUALLY get into Gamedev
14:01
Просмотров 714 тыс.
How to Code (almost) Any Feature
9:48
Просмотров 674 тыс.
Moon pioneer like stacking mechanic in unity3d
17:42
Unity Performance Tips: Draw Calls
4:24
Просмотров 186 тыс.
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 704 тыс.
The Clever Way to Count Tanks - Numberphile
16:45
Просмотров 944 тыс.
The 6 Design Patterns game devs need?
24:20
Просмотров 365 тыс.
The Internet Played My Game (and it did not go well)
9:27