Magic Enum C++
Godot
Our great sponsors
Magic Enum C++ | Godot | |
---|---|---|
44 | 2,743 | |
4,390 | 82,940 | |
- | 2.1% | |
8.4 | 10.0 | |
8 days ago | 5 days ago | |
C++ | C++ | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Magic Enum C++
-
What C++ library do you wish existed but hasn’t been created yet?
I'm not sure this is quite what you're asking for, but this library has been super helpful to me in the past : https://github.com/Neargye/magic_enum
- Usable Magic Enums for C++
-
Fully Permissive License C++ Logger For Embedded System
Also, a shoutout to Magic Enum: https://github.com/Neargye/magic_enum
- Favorite Ways of Stringifying Enums
-
enum_name (yet another enum to/from string conversion utility >=C++11)
What does this have to offer over magic_enum?
-
quill v2.7.0 released - Asynchronous Low Latency C++ Logging Library
But it's a hack, and I prefer not to use hacks in production, because of their significant limitations:
-
Enums print numbers instead of words
You can either write a to string(view) function for your enum or use https://github.com/Neargye/magic_enum
-
Enums with methods
Why reinvent the wheel? magic_enum
-
Error: Boost bimap can't convert const CompatibleKey to Key&
Also if you want to convert enum members to string representation I suggest you just use magic_enum instead, much smaller dependency.
-
Macro to write enum and converter from and to string
Magic Enum provides that.
Godot
- Web Game Engines and Libraries
-
Name it Better (ideas for making more informative names)
Here's an example file tree from a part of the Godot game engine source code.
-
Ask HN: Yo wants to build a game, I'm lost. What can I do?
Godot [1] is a very nice game engine. There's a game on Itch.io that teaches the scripting language it uses [2], and a ton of great tutorials on YouTube for beginners and experts alike.
[1]: https://godotengine.org/
- Show HN: GodotOS: A Fake Operating System Interface Made in the Godot Engine
- Unity Software cutting 25% of staff in 'company reset' continuation
-
Show HN: Mutable.ai – Turn your codebase into a Wiki
The Bitcoin and Mastadon links don't seem to be working! (wiki not found)
Would love to see this for Godot (https://github.com/godotengine/godot). Maybe Maplibre too (https://github.com/maplibre/maplibre-native)!
-
My thought on different engines
Godot Engine is a free and open-source game engine. The story started as an in-house engine of an Argentinian studio in 2007, and since 2014, it's been a community-driven project with a lot of contributors.
- How do "feature flags work"
-
Duplicated Enemies all respond to a signal belonging to a different instance of that enemy.
I think this is the PR.
-
no cell on microbe stage
Thrive is starting. Log output (due to buffering this is likely not in real time): Godot Engine v3.5.stable.mono.thrive.d2ad79a40 - https://godotengine.org OpenGL ES 3.0 Renderer: GeForce GT 710/PCIe/SSE2 Async. shader compilation: OFF
What are some alternatives?
Nameof C++ - Nameof operator for modern C++, simply obtain the name of a variable, type, function, macro, and enum
bevy - A refreshingly simple data-driven game engine built in Rust
Protobuf - Protocol Buffers - Google's data interchange format
o3de - Open 3D Engine (O3DE) is an Apache 2.0-licensed multi-platform 3D engine that enables developers and content creators to build AAA games, cinema-quality 3D worlds, and high-fidelity simulations without any fees or commercial obligations.
cereal - A C++11 library for serialization
Cocos2d - Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
GDevelop - :video_game: Open-source, cross-platform game engine designed to be used by everyone.
Boost.Serialization - Boost.org serialization module
Panda3D - Powerful, mature open-source cross-platform game engine for Python and C++, developed by Disney and CMU
pfr - std::tuple like methods for user defined types without any macro or boilerplate code
ursina - A game engine powered by python and panda3d.