Building a Game Engine Resource Manager - RayLib 2D Challenge Part 12

  Рет қаралды 454

Kea Sigma Delta

Kea Sigma Delta

2 ай бұрын

In the last episode we had Scarfy cheerfully running around collecting coins. But, there was a problem looming. Every coin/object was loading its own copy of the textures & sounds that it needed, which is a massive waste.
What we need is a resource manager. Hans builds a simple resource manager in this video, and eliminates the duplicate resources.
Click the following link for a summary (and to download the source code):
keasigmadelta.com/blog/raylib...
Other useful resources:
- Learn how to build software with C++'s de-facto standard build system: cmaketutorial.com/
- Learn OpenGL ES 3 + SDL2: keasigmadelta.com/gles3-sdl2-...
- More made by us: keasigmadelta.com/store/
- Support inquiries: keasigmadelta.com/support/
Connect with us:
- / keasigmadelta
- / keasigmadelta
- keasigmadelta.com/subscribe/
QUESTION - What would you like us to make next, on this channel? Comment below...
About
At Kea Sigma Delta we enjoy creating useful stuff using software & electronics, and helping others to do the same.

Пікірлер: 21
@Orla462
@Orla462 2 ай бұрын
Thanks for the tutorial. How did you learn raylib?. I want to go about learning raylib but i don't know where i should start.
@KeaSigmaDelta
@KeaSigmaDelta 2 ай бұрын
You're welcome. I learnt Raylib basically by looking at the Cheatsheet, & examples. However, I already have extensive programming experience, including in computer graphics. So, I already have a fair idea of how things are done. You could start by looking at my RayLib2D series from the start: kzbin.info/www/bejne/oGGmZaKuZsx5rs0 I have been thinking about about building a course, provided there's enough interest.
@alexmo6538
@alexmo6538 29 күн бұрын
Please show us how we can create this Android apk game!
@KeaSigmaDelta
@KeaSigmaDelta 28 күн бұрын
I might have a look at that later.
@Nebula_Protogen752
@Nebula_Protogen752 17 күн бұрын
When I tried to compile the code, I got this error .... "Error LNK2019 unresolved external symbol DrawTextureTiled referenced in function "public: class raylib::Texture & __cdecl raylib::Texture::DrawTiled(struct Rectangle,struct Rectangle,struct Vector2,float,float,class raylib::Color)" (?DrawTiled@Texture@raylib@@QEAAAEAV12@URectangle@@0UVector2@@MMVColor@2@@Z) C:\ Src Code\out\build\x64-Debug\ Src Code C:\ Src Code\out\build\x64-Debug\TileMap2D.cpp.obj 1" What can I do to fix this?
@KeaSigmaDelta
@KeaSigmaDelta 16 күн бұрын
I'll try to look into this for you later, when I have time. in the meantime, try deleting your build sub-directory, and build it again from scratch.
@KeaSigmaDelta
@KeaSigmaDelta 15 күн бұрын
I just tried building from scratch using the files I uploaded to the website, and it worked just fine. How are you trying to build it? Using CMake as per the ReadMe? Or did you try to create your own Visual Studio project? If it's the latter, then you need to link to RayLib 4.5.0. The CMake build script will download and build RayLib automatically.
@Nebula_Protogen752
@Nebula_Protogen752 15 күн бұрын
@@KeaSigmaDelta oooh, I was using a version of Raylib that was newer, please give me a link to 4.5.0
@Nebula_Protogen752
@Nebula_Protogen752 15 күн бұрын
@@KeaSigmaDelta I made it as my own visual studio project, using cmake. I had to comment out several functions from files in the third party folder without knowing why. Well now I know why, I downgraded to an older version of Raylib that didn't have the comments Raylib-cpp needed. I'll let you know if this works as soon as I can
@Nebula_Protogen752
@Nebula_Protogen752 15 күн бұрын
@@KeaSigmaDelta and I still got that same error. Do you have a discord account so we can talk about this over there?
CMake vs Make - A developer's perspective
8:16
Kea Sigma Delta
Рет қаралды 3,6 М.
How to Start Gamedev in 2024
10:28
Sasquatch B Studios
Рет қаралды 385 М.
🍟Best French Fries Homemade #cooking #shorts
00:42
BANKII
Рет қаралды 60 МЛН
Шокирующая Речь Выпускника 😳📽️@CarrolltonTexas
00:43
Глеб Рандалайнен
Рет қаралды 12 МЛН
When Jax'S Love For Pomni Is Prevented By Pomni'S Door 😂️
00:26
Increíble final 😱
00:37
Juan De Dios Pantoja 2
Рет қаралды 63 МЛН
Why is Raylib becoming so popular?
9:24
Chris_PHP
Рет қаралды 17 М.
AIs learn to WALK
20:21
Pezzza's Work
Рет қаралды 52 М.
CMake vs Make - a real life comparison (with actual code)
12:16
Kea Sigma Delta
Рет қаралды 264
Bugged Biomes & Auras Are AWESOME in Sol's RNG
20:07
BachaBlox
Рет қаралды 96 М.
CMake, How it Works (At Three Different Levels)
4:36
Kea Sigma Delta
Рет қаралды 7 М.
Boolean Algebra & Redstone Logic Gates - LRR #3
15:45
mattbatwings
Рет қаралды 156 М.
ВЫ ЧЕ СДЕЛАЛИ С iOS 18?
22:40
Overtake lab
Рет қаралды 104 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 5 МЛН
Настоящий детектор , который нужен каждому!
0:16
Ender Пересказы
Рет қаралды 288 М.