Bor Engine | devLog #002
Bor Engine | devLog #001
Bor Engine | devLog #000
I want to keep track of my progress in my latest quest: creating my own game engine!
It will be built on top of openGL using C++.
I’ll leave it open source but mostly uncommented, keep that in mind if you want to check out the code: it will be messy!
Why “Bor Engine” you say?
Mainly because I was bored and wanted to create a 3D engine…soooo “Bor3D Engine”? ikr
I’ll think later about a fitting acronym…
[edit]
Almost forgot: link to the code, hosted on GitHub
Bor Engine | devLog #001
Bor Engine | devLog #002
Bor Engine | devLog #003
Bitwise Operations and Bitfields in C++
Basics of Logic:
0 && 0 == 0 0 && 1 == 0 1 && 1 == 1 0 || 0 == 0 0 || 1 == 1 1 || 1 == 1 !0 == 1 !1 == 0
Bitwise operations:
1 & 0 == 0 1 | 0 == 1 unsigned char data = 0; unsigned char flag = 4; unsigned char flag2 = 8; data = 00000000 flag = 00000100 flag2 = 00001000 data = data | flag; data = 00000100 data = data | flag2; data = 00001100 00001100 & 00000100 -------- 00000100 // now we know that flag is set into data data = ~data; data = 11110011
Learning SDL #003
Event Driven Programming and Input Handling
Learning SDL #002
I can load BMPs!
I’ll have to wait for PNGs…
Learning SDL #001
Some infos about my setup:
OS: Windows 10 64bit
IDE: Visual Studio 2015
SDL 2 headers and binaries: v2.0.4 (download page)
After I completed the setup I created my first SDL window.
Yay! A white filled window!
Learning SDL #000
This will not be a tutorial.
This is only me logging my progress while I follow the SDL tutorial that you can find here!
Phool v0.0.1
After one day of unity thinkering:
Messing with the rotating speed
Pretty good AI movements
Bullets with no collision
Every bullet is affected by gravity…
OnTriggerEnter is not getting triggered for every bullet…
…but this works!