aaaaxy
g3n
aaaaxy | g3n | |
---|---|---|
5 | 6 | |
203 | 2,640 | |
- | 0.9% | |
9.7 | 4.3 | |
9 days ago | 13 days ago | |
Go | Go | |
Apache License 2.0 | BSD 2-clause "Simplified" 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.
aaaaxy
-
Making Games in Go for Absolute Beginners
> Your game looks great, congrats on your progress! I especially enjoyed how the zoom works when you're leaving/arrive planets, and the unique propulsion system (also, the anchor made me giggle!).
Thank you. Feedbacks are very much appreciated. There is still a long was until an eventual release, but it's very fun to work on it.
> I tend to not need many, so I'd be curious if you can recall any structure in particular which you couldn't find? No biggie if not.
I had trouble finding basic structures like sets or linked lists, as much as more specific ones like R-tree, M-tree, KD-tree quad-tree or specific kinds of tries.
When quickly searching on Google, there are pretty much always some results, but when looking at the details it's not that great. Most of the packages have some kind of flaw that was a deal-breaker for me. Most common ones are:
- The package is something developed by one guy 4 years ago, and has pretty much no stars and is abandoned
- The structure is somehow backed by the native `map`, meaning that it has the same randomized iteration order
- There is some kind of logic to try to handle multi-threading, mixed-up with the data structure's logic. Often with mutexes/locks, thus killing the performance. My game is pretty much only mono-thread, and I just need something simple and that does not care about synchronization.
- The structure is not generic, but only uses `interface{}`
- The structure lacks tests or have unreadable code made of 1-letter variables
> I'm not a game dev, but I've seen some larger games such as https://github.com/divVerent/aaaaxy/tree/main/internal (if you haven't played it before—do it!) which seems to be able to place everything into separate packages without issue, so perhaps there's something to gleam from their architecture?
Thanks for the reference. After looking at it, is seems to me that they are creating really tiny packages made of one or two files. I don't want my codebase to end-up with thousands of 1-file packages, it does not seem very maintainable. I want to keep having packages with clearly defined purposes and domains.
> Hash map iteration shouldn't be sorted in _any_ language (here's Rust, for example https://play.rust-lang.org/?version=stable&mode=debug&editio... (Python makes it _appear_ as if dicts are sorted hash maps, but that's only because it doesn't only use a hash table, but a vector as well (same as you'd have to do in Go))), otherwise it would cause both portability and security (https://github.com/golang/go/issues/2630) issues. You should probably be using a b-tree if you aren't willing to sort it yourself.
I think that you didn't understand my message (or I didn't explain clearly enough). I do not need the items to be sorted, I need the iteration order to be consistent.
Let's say that I insert A, B and C in a map, then want to iterate on it. I will get an unspecified order, maybe ABC, maybe CBA, maybe BAC, which does not matter to me. However, in any language, this order will be consistent across all future iterations unless the data is changed. This is a natural property of any data structure. So if I got CBA in the first loop, I will also get CBA in the second and third loops.
In golang this is not the case because they actively inserted a random order. It means that even if the data does not change, I may get CBA in the first iteration, but BAC in the second, then ABC... Which created a ton of issues for me.
> If you don't care about unloading https://github.com/pkujhd/goloader
- aaaaxy: A nonlinear 2D puzzle platformer taking place in impossible spaces.
- Aaaaxy is a nonlinear 2D puzzle platformer taking place in impossible spaces
-
⟳ 1 apps added, 37 updated at f-droid.org
AAAAXY (version 1.2.280+20220822.2294.9ff4b8b7): A nonlinear 2D puzzle platformer taking place in impossible spaces.
g3n
-
Making Games in Go for Absolute Beginners
I've been working on a game over the past year in Go using https://github.com/g3n/engine. I picked Go because I like the language and wanted to learn it. I picked g3n-engine because I wanted to work in 3d after making a few 2d games in the past.
Making games is so much more challenging and rewarding than almost all of the work I've done for pay. There's always so much more to learn that doesn't feel like just relearning how to do the same thing except with a different framework of the week.
-
What would be the closest thing to Unity/Unreal C#/C++ for Go to create games/animations/visual work?
as well as possibly (G3N) https://github.com/g3n/engine
-
3d with Ebitengine?
and https://github.com/g3n/engine
- Can Go be used for game development?
-
Is there a 3D game library or engine made in Go that's usable and not restrictively licensed?
https://github.com/g3n/engine is BSD 2-clause.
-
How should I approach plotting (2d and 3d) in Golang project?
Or... You might consider writing directly to a frame buffer and rendering the graphics directly, currently Go doesn't have anything like matplotlib, but there are options like 3d game engines: http://g3n.rocks/ https://azul3d.org/
What are some alternatives?
osmdroid - OpenStreetMap-Tools for Android
Ebiten - Ebitengine - A dead simple 2D game engine for Go
chaofun-app - 炒饭( https://chao.fun/app )App工程
Azul3D - Azul3D - A 3D game engine written in Go!
app - Think fearlessly with end-to-end encrypted notes and files. For issues, visit https://standardnotes.com/forum or https://standardnotes.com/help.
raylib-go - Go bindings for raylib, a simple and easy-to-use library to enjoy videogames programming.
fritter - A privacy-friendly Twitter frontend for mobile devices
Pixel - A hand-crafted 2D game library in Go
NewsBlur - NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.
go3d - A performance oriented 2D/3D math package for Go
goloader - load and run golang code at runtime.
go-sdl2 - SDL2 binding for Go