Unreal Engine: Using USQLite Database for Level Persistence and Save Games - Part 2 (Coin Pickups)

Subscribers:
11,300
Published on ● Video Link: https://www.youtube.com/watch?v=SzJyduKDqb0



Game:
Unreal (1998)
Duration: 52:38
1,145 views
25


In this three part series, we will cover how to use the USQLite plugin to maintain persistent objects across level loads, and as a bonus, get a free save game system in place as well.

https://www.unrealengine.com/marketplace/en-US/product/usqlite-database
https://forums.unrealengine.com/unreal-engine/marketplace/1466416-plugin-usqlite

In Part 2, we set up the databases, gain access, and save the existence state of our coin pickups, transferring that state back to the game world when the levels are loaded.

0:00 Multiple Databases vs. One Database
2:35 Creating the Databases
8:53 Setting up References to the Databases
19:45 Creating a Savable Variable in the Coin Blueprint
22:43 Hooking the Class Into the Database (Method 1)
29:27 Sending the Coin State to the Database
35:09 Fixing the Level Database Reference Bug (Oops!)
37:49 Verifying State Variable is Saved to the Database
41:47 Reading the State Variable Out of the Database
47:04 Causing the State Variable to Destroy the Actor
51:45 How to Reset the Databases

Facebook: https://www.facebook.com/RonHilerOnYouTube
Patreon: https://www.patreon.com/RonHiler
Twitter: https://twitter.com/RonHiler

Special thanks to all my $3+ patrons:
Michael Hillyard (https://www.youtube.com/TheAlmightyGeoff)
Tor Gregory (https://m.youtube.com/channel/UCnYrFaPuZjz6XSqkLfvjQBw Twitter: @tor_gregory)
Thank you so much gang, it is really appreciated!







Tags:
Unreal Engine
Level Persitence
Save Game
USQLite Database



Other Statistics

Unreal Statistics For Longplay Central

There are 5,078 views in 3 videos for Unreal. His channel currently has around 2 hours worth of content for Unreal, less than 0.11% of the total video content that Longplay Central has uploaded to YouTube.