Ooga Booga Game Devs
Log In
Community
Classroom
Calendar
Members
Leaderboards
About
Log In
1
Fahad Alqarni
Jul '24 •
Other
Bit flags instead of bools?
in this Entity struct in entry_randygame.c file in randy's fork there are 4 bools, wouldn't it be better performance instead to create a u8 entity_flags and use bit flags instead such as ENTITY_DESTROYABLE, ENTITY_IS_VALID, ENTITY_IS_ITEM, etc?
Like
1
10 comments
1
Bit flags instead of bools?
powered by
Ooga Booga Game Devs
skool.com/game-dev-grinders-8513
A group for game devs who want to ship great games from scratch in C, while mastering the ancient art of Caveman Programming
3k
Members
0
Online
1
Admin
JOIN GROUP
Suggested communities
28Pilates
AI Automation Society
Franzese Family
That Pickleball School
Top Chess Gang
Build your own community
Bring people together around your passion and get paid.
Get started
Powered by