Pixel
bevy
Our great sponsors
Pixel | bevy | |
---|---|---|
15 | 573 | |
4,403 | 32,210 | |
- | 3.8% | |
3.9 | 9.9 | |
6 months ago | 4 days ago | |
Go | Rust | |
MIT License | MIT OR Apache-2.0 |
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.
Pixel
-
Installing Pixel library (https://github.com/faiface/pixel) without go get
All tutorials I could find are either outdated or skip over installation, and the https://github.com/faiface/pixel/wiki/Building-Pixel-on-Windows github page is not detailed at all.
-
Create ui button for game (faiface/pixel)
Hi! I'm making a game using faiface/pixel. It's a very cool lib, but I can't find any examples for creating a menu button (as in the screenshot). I have read all the documentation and haven't found an answer to the questions below:
- Library for game dev
-
What 2D Go Game Framework Do You Use, and What are Its Pros and Cons?
From what I've seen, Ebitengine seems to be the most popular choice among hobby and professional game devs, but there are other frameworks as well like oakmound/oak and faiface/pixel that continue to be maintained on Github to this day.
-
Game engine for programmars
faiface/pixel: A hand-crafted 2D game library in Go
-
Could Golang ever be used in the meat-and-potatoes of video game development?
I don't see why it can't be used in video game development in fact, there are already a few games made in go like Bear's Restaurant though most of them seem to be 2D games That is also a few game engines/frameworks/library made in go like G3N, Ebiten, pixel and go-gl I have seen a few Youtube Videos where people make games in go like Gaming in Go Making an MMO I think what is Missing is gaming engines with a GUI like unity, unreal and Godot but nothing stopping someone from making one other than the massive time/money investment it takes
-
Wrote a Chip8 emulator to teach myself Go, it is one of the most comfortable languages I have ever used.
For learning Go, A Tour of Go, and tutorials from libraries I used (Pixel and Beep), as well as a lot of Googleing.
-
Any "simple" projects with particularly well-written and/or well-documented code for a beginner to look through?
Btw, for game engines/libraries in Go, feel free to check out Ebiten, or my Pixel.
-
Can I get a quick code review of my simple start to a Go based RogueLike?
I have played around with the Python TCOD tutorial before this, but the library I'm using (Pixel) is very different. I think it's more similar to PyGame.
- Lightweight Websocket library a simple game server?
bevy
-
Web Game Engines and Libraries
Missing one of the best choices as long as "maturity" isn't on the top of your list: Bevy - https://bevyengine.org/
Game engine written in Rust, leveraging ECS in almost every place and way, with a really capable WASM export option. Wrestling ECS for the first time might take you some time, but in my experience helps you keep game code as clean and decoupled as game code could be.
-
3D and 2D: Testing out my cross-platform graphics engine
I don't see WASM/WebGPU changing anything when it comes to gaming, as an industry, personally. 3d visualizations and interactive websites? Yeah definitely a nice improvement over WebGL 2, if years late.
WebGPU is pretty far behind what AAA games are using even as of 6 years ago. There's extra overhead and security in the WebGPU spec that AAA games do not want. Browsers do not lend themselves to downloading 300gb of assets.
Additionally, indie devs aren't using Steam for the technical capabilities. It's purely about marketshare. Video games are a highly saturated market. The users are all on Steam, getting their recommendations from Steam, and buying games in Steam sales. Hence all the indie developers publish to Steam. I don't see a web browser being appealing as a platform, because there's no way for developers to advertise to users.
That's also only indie games. AAA games use their own launchers, because they don't _need_ the discoverability from being on Steam. So they don't, and avoid the fees. If anything users _want_ the Steam monopoly, because they like the platform, and hate the walled garden launchers from AAA companies.
(I work on high end rendering features for the Bevy game engine https://bevyengine.org, and have extensive experience with WebGPU)
-
What Are Const Generics and How Are They Used in Rust?
I was working through an example in the repo for the Bevy game engine recently and came across this code
-
WebAssembly Playground
That's possible. I did spend quite a bit of time tinkering with compiler flags, and followed the recommendations.
Some notes I found just now seems to agree with my results, though: https://github.com/bevyengine/bevy/issues/3978#issuecomment-...
-
Immediate Mode GUI Programming
I cannot recommend immediate mode GUI programming based on the limitations I've experienced working with egui.
egui does not support putting two widgets in the center of the screen: https://github.com/emilk/egui/issues/3211
It's really easy to get started with immediate mode, it's really easy to bust out some UI, but the second you start trying to involve dynamically resized context and responsive layouts -- abandon all hope. The fact it has to calculate everything in a single pass makes these things hard/impossible.
... that said, I'm still using it for https://ant.care/ (https://github.com/MeoMix/symbiants) because it's the best thing I've found. I'm crossing my fingers that Bevy's UI story (or Kayak https://github.com/StarArawn/kayak_ui) become significantly more fleshed out sooner rather than later. Bevy 0.13 should have lots more in this area though (https://github.com/bevyengine/bevy/discussions/9538)
- A minimal working Rust / SDL2 / WASM browser game
-
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
-
Intel CEO: 'The entire industry is motivated to eliminate the CUDA market'
These days, some game engines have done pretty well at making compute shaders easy to use (such as Bevy [1] -- disclaimer, I contribute to that engine). But telling the scientific/financial/etc. community that they need to run their code inside a game engine to get a decent experience is a hard sell. It's not a great situation compared to how easy it is on NVIDIA's stack.
[1]: https://github.com/bevyengine/bevy/blob/main/examples/shader...
-
Trying to write a game with mods loaded at runtime
This is the API you need: https://github.com/bevyengine/bevy/pull/9774
- Not only Unity...
What are some alternatives?
Ebiten - Ebitengine - A dead simple 2D game engine for Go
Amethyst - Data-oriented and data-driven game engine written in Rust
raylib-go - Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
Godot - Godot Engine – Multi-platform 2D and 3D game engine
engo - Engo is an open-source 2D game engine written in Go.
Fyrox - 3D and 2D game engine written in Rust
go-sdl2 - SDL2 binding for Go
piston - A modular game engine written in Rust
Leaf - A game server framework in Go (golang)
RG3D - 3D and 2D game engine written in Rust [Moved to: https://github.com/FyroxEngine/Fyrox]
Oak - A pure Go game engine
specs - Specs - Parallel ECS