Unity 3D Playmaker Creating Flappy Birds - Adding High Score

preview_player
Показать описание
In this mini Unity 3D Playmaker Creating Flappy Birds tutorial, we will be taking a look at adding high score to the game. In this fourth installation of the tutorial, we will using Playmaker to get player prefs to check for high score, and then during gameplay, to set the high score.

Unity package of the files for you to start your project

(to Join my discord server add a comment and I'll reply with the latest invite code)

Contents:
0:00 Introduction
0:15 Add a New State to get Player Prefs
2:30 Adding Score Check State with an Int Compare
3:22 Update high Score state
4:03 Add a Set Player Prefs
4:36 Add a Set Int Value
4:59 Convert Int to String to convert high score into a text string
5:36 Updating UI with the high score text string using Set Property
6:00 Run through of all that I added and how it works again
6:42 Giving it a test to see it in action

👉🏼 To Sign up for email updates on my latest tutorials and game progress.

····················································································

········································­­·······································­·­····

► All content by Bliz Studio is 100% free. I believe that education should be available for everyone. Any support is truly appreciated so I can keep on making content free of charge.

········································­­·······································­·­····

♪ "Once Was" by Kwon @ Youtube
Рекомендации по теме
Комментарии
Автор

Dude this was such a great tutorial. I’m so glad you decided to help us non-coders be creative in game development.

JoeGamer
Автор

I see you went through with my recommendation. Awesome video Jerry! Love your content.

.s
Автор

Incredible tutorial, i must say with the inclusion of player prefs you improved the game im making tenfold, i didn't think keeping the last session's score would be valuable till now ^^

Great idea and wonderful tutorial

Zorai
Автор

can these flappy bird tutorials apply to a 2D flappy game or are your tutorials 3D specific?

travelourworlds
Автор

can you adapt this for the end when you hit a target? or something like that, like the bird to get home

heykuze
Автор

Is it worth to learn Playmaker in 2022 ?

HopeXGamers
Автор

when i restart my game the high score = the pipe score but i want to keep the high score in the UI not the pipe score lower than last time, how could i slove it?

小樹人的好玩遊戲