VoxelPlugin
flecs
VoxelPlugin | flecs | |
---|---|---|
57 | 48 | |
1,523 | 5,530 | |
- | - | |
2.7 | 9.6 | |
21 days ago | 8 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.
VoxelPlugin
-
What are the limits of blueprints?
There's also a performance question. While we can now use Blueprint nativization to convert Blueprints to C++ the result will be a fairly naive version, fast enough for most purposes but not if you're trying to push every bit of performance. This is where you're looking at making sure you're hitting things such as using the CPU cache as well as possible for an ECS system (Look at ENTT or Flecs if you want to see what they're about and why you'd want one), or a system needing to process massive amounts of data quickly such as the Voxel Plugin.
-
How can I make a procedural terrain using a seed?
There are some existing plugins, such as the voxel plugin that you can use, though keep in mind features like multiplayer are behind a paywall.
-
Is unreal/unity efficient for a voxel game that has infinite, destructible and procedural world gen (like minecraft)?
Is unreal/unity efficient? No. There is large amounts of overhead, as they were designed for other types of games. Voxels have many unique optimisations that won't be available. You'll need to do a lot of "patch-work" to the engine. This patch-work may make this overhead extremely small, and there are some very powerful projects on these engines that are efficient (e.g., Voxel Plugin). Having to ignore a lot of the a game engines features, such as physics, is a key reason people decide to just go through the extra effort of making their own game engine.
-
Showing off some interstellar travel mechanics!
Thank you! I am using the Voxel Plugin for Unreal to generate my planets, there is a free version you can play around with: https://voxelplugin.com/
-
Managed to make my first online multiplayer game with physics,ragdolls and voxel terrain all by myself! (framerate drop it's due to OBS, game runs fine) Hardest part was finding information on how to make things work, so I'll be happy to give you some hints in the comments!
I used Voxel plugin
-
What’s the best procedurally generated terrain plugin, UE5
Anyway here it is https://voxelplugin.com/ you can research all about it.
-
Are there any good voxel game engines? *Lua compatible
No one has yet mentioned VoxelPlugin for Unreal which you could use alongside a Lua Unreal plugin.
-
Is there a way to create caves in unreal engine 5.1, similar to the brushify voxel plugin?
Try https://voxelplugin.com/
-
Looking for a way to edit terrain at runtime for a viva pinata like game.
I'd look at Voxel Plugin. It supports runtime edits.
-
How do you guys create open world games
Hmmm I don't have a lot of experience with that but I used the Voxel plugin once to make a planet map and it was pretty good. There's even a free version if you don't want to invest. Most other plugins cost hundreds so that's good. It has a ton of features, check it out.
flecs
-
ECS, Finally
I've also been enjoying building My First Game™ in Bevy using ECS. The community around Bevy really shines, but Flecs (https://github.com/SanderMertens/flecs) is arguably a more mature, open-source ECS implementation. You don't get to write in Rust, though, which makes it less cool in my book :)
I'm not very proud of the code I've written because I've found writing a game to be much more confusing than building websites + backends, but, as the author notes, it certainly feels more elegant than OOP or globals given the context.
I'm building for WASM and Bevy's parallelism isn't supported in that context (yet? https://github.com/bevyengine/bevy/issues/4078), so the performance wins are just so-so. Sharing a thread with UI rendering suuucks.
If anyone wants to browse some code or ask questions, feel free! https://github.com/MeoMix/symbiants
-
Databases are the endgame for data-oriented design
Flecs does just that: https://ajmmertens.medium.com/why-it-is-time-to-start-thinking-of-games-as-databases-e7971da33ac3
-
What's your way to create an ECS?
I'm trying to optimize my workflow as much as possible, and came across this thing called an ECS. After doing a little bit more digging I found some decent guides on how you would make one, I also found one premade called FLECS. FLECS is nice and all, but I was looking for something more simple that just has the bare bones of what I need and is also configurable. I haven't been able to really find anything like that, so I was wondering if anyone had an example of maybe their way of implementing an ECS. I know how to go about it, but I'm unsure of exactly what the code would look like.
-
Introducing Ecsact
Since we wanted a common game simulation that would be on both the server and the client we looked into a few libraries that would fit our ECS needs. It was decided we were going to write this common part of our game in C++, but rust was considered. C++ was a familiar language for us so naturally EnTT and flecs came up right away. I had used EnTT before, writing some small demo projects, so our choice was made based on familiarity. In order to integrate with Unity we created a small C interface to communicate between our simulation code and Unity’s C#. Here’s close to what it looked like. I removed some parts for brevity sake.
-
Prolog for future AI
Repository: https://github.com/SanderMertens/flecs
-
An in-game query engine heavily inspired by prolog
This is the project: https://github.com/SanderMertens/flecs (query engine implementation lives here: https://github.com/SanderMertens/flecs/tree/master/src/addons/rules)
-
What are the limits of blueprints?
There's also a performance question. While we can now use Blueprint nativization to convert Blueprints to C++ the result will be a fairly naive version, fast enough for most purposes but not if you're trying to push every bit of performance. This is where you're looking at making sure you're hitting things such as using the CPU cache as well as possible for an ECS system (Look at ENTT or Flecs if you want to see what they're about and why you'd want one), or a system needing to process massive amounts of data quickly such as the Voxel Plugin.
-
What's the hot tech stack these days?
If I knew C++ and I'd heard about it before I started my current project, I would have been tempted to use this https://github.com/SanderMertens/flecs which can be built to WASM. Of course you still need JavaScript in the front end to link to the WASM part. I've recently been using esbuild to bundle my front end code, which does a pretty similar job to webpack, but is a bit faster.
-
Bevy and WebGPU
When do think bevy will support entity-entity relationships ? https://github.com/bevyengine/bevy/issues/3742.
Flecs ECS already supports this: https://github.com/SanderMertens/flecs/blob/master/docs/Rela...
-
any resources for expanding on ECS?
For a modern engine you’re probably best looking at Unity’s DOTS. You may also want to check out some of the different open source ECS libraries such as flecs and EnTT are two popular ones for C++, but there’s lots of them. Largely you’ll see lots of different approaches taken, all with their own pros and cons. Not all of them will be performant (some focus more on the design benefits) while others will be optimised for certain use cases. What you should prioritise will depend on your specific needs.
What are some alternatives?
cashgenUE - Runtime Procedural Terrain Generator for UnrealEngine
entt - Gaming meets modern C++ - a fast and reliable entity component system (ECS) and much more
Minetest - Minetest is an open source voxel game-creation platform with easy modding and game creation
JUCE - JUCE is an open-source cross-platform C++ application framework for desktop and mobile applications, including VST, VST3, AU, AUv3, LV2 and AAX audio plug-ins.
TileMapEditor3D - Tile map editor 3D with 3D terrains
Boost - Super-project for modularized Boost
building-blocks - A voxel library for real-time applications.
SDL - DEPRECATED: Official development moved to GitHub
UE5VoxelTutorial - A collection of voxel mesh generation algorithms
Folly - An open-source C++ library developed and used at Facebook.
VoxelTerrain - This project's main goal is to generate and visualize terrain built using voxels. It was achieved using different approaches and computing technologies just for the sake of performance and implementation comparison.
Seastar - High performance server-side application framework