Загрузка...

How To Make A Leaderboard In Godot Tutorial, Using Silentwolf plugin. Easy and Simple Implementation

How To Make A Leaderboard In Godot Tutorial, Using Silentwolf plugin. Easy and Simple Implementation

Godot Tutorial
Godot 4.5
Godot 4
Leaderboard
Godot Beginner Tutorial
Godot Tutorial 2d
Godot Tutorial 3d
Godot Engine
Godot Games
Godot 2D Game
Godot Full Tutorial
Godot Leaderboard
Leaderboard Godot 4
Godot Online Leaderboard
Godot firebase leaderboard
Godot Silent Wolf

#godot #godottutorial #godotengine #godot4 #godot3d #indiegame #leaderboard

In this video we go through on making of a leaderboard in Godot Project using a very simple and easy to use plugin called Silentwolf. We will look at a demo project where we will make a system of submitting a score in leaderboard and making a leaderboard scene and loading the leaderboard scores.

Silent wolf link : https://silentwolf.com/
SilentWolf has been offering backend services for Godot engine since 2019. Today we announce that SilentWolf officially supports Godot 4.
Godot 4 is a major update to the Godot engine. It brings a lot of new features and improvements to the engine. We are excited to support this new version of Godot.
The new version of the SilentWolf addon (0.9.0) works just like before. You can download it from the download page, and start adding leaderboards, player accounts and player data to your game in minutes.
The new addon does more than just make SilentWolf available in Godot 4. It introduces type hints to every function signature, improves the performance of some functions, fixes some bugs and makes it even easier to start using SilentWolf. The code has also been refactored and is now cleaner and better organised.
SilentWolf documentation
You can find the documentation related to each SilentWolf feature on the website like before. Since we support both Godot 3 and Godot 4 we've introduced tabbed code blocks that you can copy and paste straight into your game's code to integrate SilentWolf.
Here's an example below.
SilentWolf documentation tabbed code blocks
Stay tuned for more improvements to the docs in the future.
Migration from Godot 3 to Godot 4
Others have written about porting games from Godot 3 to Godot 4 and Godot will propose to change the code automatically when loading a Godot 3 game for the first time when opening Godot 4. If you want to migrate a game using SilentWolf to Godot 4 a lot will stay the same but there are some changes that you need to be aware of. We go to great lengths to ensure backwards compatibility between different versions of the SilentWolf addon for Godot engine, but changes to the Godot engine meant that we had to make some changes to the addon that will impact your game. We also took the opportunity to change a few function and signal names to make them more consistent.
These changes include:
Coroutines: coroutine syntax has changed in Godot 4 (and the "yield" keyword has been replaced with "await"). Almost all SilentWolf functions are asynchronous, and SilentWolf makes extensive use of signals and coroutines so your code calling our functions will need to be updated accordingly.
Signal names: we've reduced the number of signals by combining 'success' and 'failure' signals into 'complete' signals (e.g. 'sw_get_scores_complete'), indicating that the async function has returned a result, whether good or bad. By awaiting these signals you can get the full results in a variable called sw_result.
Function names: we've modified a few function names for consistency and simplicity (e.g. 'SilentWolf.Scores.persist_score(player_name, score_value)' now becomes 'SilentWolf.Scores.save_score(player_name, score_value)'.
In terms of data, the following will be migrated automatically if you upgrade your existing game to Godot 4:
Leaderboard definitions and configurations
Player accounts
Player data
The only data that will not be migrated automatically will be your scores. This is because we have revamped the way scores are persisted in SilentWolf, to make save and retrieving scores even more performant and future-proof the architecture. If you wish to have your scores migrated over to the Goot 4 version of your game please contact us.
Built-in scenes
All the built-in scenes that were available for Godot 3 have been adapted to Godot 4 an we've designed a theme (available at res://addons/silent_wolf/assets/themes) that you can customise to your liking. Just like in the Godot 3 addon, we don't recommend that you use or moify the built-in scenes directly (although you can if you want to). Instead, we recommend that you copy the scenes into your project and modify them there. This way you can easily update the addon in the future without losing your changes.
The built-in scenes can be used as-is if you want to quickly get started with SilentWolf, or they can serve as inspiration for your game's own custom UI.

Видео How To Make A Leaderboard In Godot Tutorial, Using Silentwolf plugin. Easy and Simple Implementation канала Code Artist
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять