filmov
tv
A Virtual World - JavaScript Course: Lesson 8 / 11 [Saving the World]

Показать описание
Welcome to the course where we build a self-driving car simulation in a virtual world using HTML, CSS and JavaScript. In this video we'll learn a critical phase of our UI development journey! So far, we've been saving our graph data in local storage and regenerating it when the page loads. But in this way we lose those markings, can't store multiple worlds, and the random appearance of trees might not be something you want.
Moreover, as we move into working with real-world data, you'll realize that drawing such extensive graphs manually isn't practical. That's why it's crucial to explore a more efficient approach: storing information in actual world files that can be loaded when needed! 🌍
Let's learn about data persistence and discover how to save and load your graph efficiently, preserving all your hard work and making your UI development experience smoother.
Have Fun! :-)
⭐PLAYLIST⭐
⭐FINAL APP⭐
💻CODE💻
7. Markings = follow along
8. Saving The World = code after this lesson
⭐ALL PREREQUISITES⭐
⭐Emoji I used in the video⭐
📁
☕Buy me a Coffee?☕
⚡️Join this Channel⚡️
⭐Timestamps⭐
00:00 Introduction
01:09 Saving in Local Storage
04:09 The Problems with the Quick Solution
05:28 The Proper Solution
07:33 Loading the Envelopes
11:16 Loading the Buildings and the Trees
14:14 Loading the Markings
21:30 Saving and Loading from File
28:56 Storing the Zoom / Drag info
Moreover, as we move into working with real-world data, you'll realize that drawing such extensive graphs manually isn't practical. That's why it's crucial to explore a more efficient approach: storing information in actual world files that can be loaded when needed! 🌍
Let's learn about data persistence and discover how to save and load your graph efficiently, preserving all your hard work and making your UI development experience smoother.
Have Fun! :-)
⭐PLAYLIST⭐
⭐FINAL APP⭐
💻CODE💻
7. Markings = follow along
8. Saving The World = code after this lesson
⭐ALL PREREQUISITES⭐
⭐Emoji I used in the video⭐
📁
☕Buy me a Coffee?☕
⚡️Join this Channel⚡️
⭐Timestamps⭐
00:00 Introduction
01:09 Saving in Local Storage
04:09 The Problems with the Quick Solution
05:28 The Proper Solution
07:33 Loading the Envelopes
11:16 Loading the Buildings and the Trees
14:14 Loading the Markings
21:30 Saving and Loading from File
28:56 Storing the Zoom / Drag info
Комментарии