Hey there! Welcome to Vuelto's repo! Vuelto is a fast and lightweight Go game engine which uses CGo and OpenGL to display your graphics. It is really easy to start with, but it can be really powerful to work with. It's cross-platform, meaning that every game you make with Vuelto will work on Windows, Linux, Mac and Web (Coming soon). It's also open-source, meaning that you can see the source code and contribute to the engine. Have fun!
There are some extra things you will need to use Vuelto.
- A C compiler
- A Go compiler
- Xorg development packages (For Linux only)
For a installation guide, go here.
We have a Go package published, so run this command to add it to your go.mod:
go get vuelto.me@latest
All of our examples are inside the examples directory, so take a look there is you want a example. Here one small example of how easy Vuelto is:
package main
import (
vuelto "vuelto.me/pkg"
)
func main() {
w := vuelto.NewWindow("Image Example - Vuelto", 800, 600, false)
ren := w.NewRenderer2D()
image := ren.LoadImage("your_image1.png", 300, 300, 250, 250)
image1 := ren.LoadImage("your_image2.png", 100, 100, 150, 150)
for !w.Close() {
image.Draw()
image1.Draw()
w.Refresh()
}
}
Are you curious how to use Vuelto? Our docs are hosted on our website, so go here to see them.
Want to know which features are coming to Vuelto? You can find our roadmap on the website.
We have a discord server at this link. It's a fun server mainly created for vuelto, but you can talk about whatever you want. So come join us!
We are fully open to contributions, but I will check and test your code before merging it into the dev branch. All your code thats accepted will only be merged into the dev branch, and will be later released with the next release.
Vuelto is licensed under the GPLv3 Licence. Any PR's that go mainly about changing the licence won't be accepted.