NokiMo
Sasquatch B Studios
Sasquatch B Studios

patreon


Early Access - Handle Scrolling UI Like a Commercial Game (Custom Animations + Multiple Control Schemes + AutoScrolling) | Unity Tutorial

Hey guys!

I wanted to do another "how to handle it like a real game" type of video, as I really enjoy exploring how to take things just a little above and beyond to get them working as well as you would expect in...well...a real game!

This one is all about Scrolling UI. I was working on the Shop System for Samurado and realized I didn't know how to implement some of the things I wawnted, like "Auto Scrolling" and how to handle all of that with multiple control schemes, so I figured I'd figure it out, make a tutorial about it, and then implement it into Samurado!

Let me know what you think!

Early Access - Handle Scrolling UI Like a Commercial Game (Custom Animations + Multiple Control Schemes + AutoScrolling) | Unity Tutorial

Comments

Cheers!

Sasquatch B Studios

Awesome! So glad you found this helpful. It was kinda fun, yesterday I literally just nabbed the code from this tutorial and threw it into Samurado for the shop system I'm building. Felt really good lol! P.S. I found a bug where if you're hovering over a card with your mouse, and THEN you press something on your keyboard, it skips an iteration of the card (ie. goes 2 to the right/left or 2 rows up/down) This is because of a conflict happening between the Select in the OnButtonSelected script and the MenuController. You can fix this simply by moving your logic in "OnSelect" and "OnDeselect" in the OnButtonSelected script into a coRoutine that first waits 1 frame, and THEN executes the logic afterwards. you'll need to change 'return' to 'yield break' in a coroutine FYI.

Sasquatch B Studios

This is really helpful. I was going through a similar situation with inventory UI on my game. Perfect timing.

KB @ Birdtek Games


Related Creators