5 ways you can store variables and access them from anywhere within your project.
Methods:
1. Data Tables
2. Function libraries
3. Actor components
4. Data assets
5. Class defaults
6. Game instance, game mode, and game state
You can store colours, floats, arrays, vectors, textures -- literally whatever. Store them all in a clever place to reduce time spent editing your code when you make changes, while also reducing your dependencies for clean migration.
Example cases:
- Colour palettes / libraries
- Float tables for movement parameters (gravity, speed, and so on)
- Enemy/character health
- Game versioning / watermarking
- Achievement lists
===
Support me below:
Downloadable blueprints:
✨Marketplace: https://www.unrealengine.com/marketpl...
✨Gumroad: https://jacksonnexhip.gumroad.com/
Popular blueprints:
🛍️ Endless Random World Generator: https://jacksonnexhip.gumroad.com/l/E...
🛍️ Enemy Waves Spawning System: https://www.unrealengine.com/marketpl...
🛍️ Simple Flying AI: https://www.unrealengine.com/marketpl...
Find me:
🎮 My Games (Itch): https://nexhip.itch.io/
🎮 Discord: / discord
🎮 Running Robot Man 4 on Steam: https://store.steampowered.com/app/17...
^ Wishlist my game on Steam.
#GameDevelopment #IndieGames #GameDesign #unrealengine