Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V1.1 #8

Merged
merged 143 commits into from
Jan 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
b93d63c
Web support (WIP) + Window sytem
dimkauzh Mar 18, 2024
53d10ea
Update ci_check.yml
dimkauzh Mar 18, 2024
abd4830
Update ci_check.yml
dimkauzh Mar 18, 2024
30768c8
Update Makefile
dimkauzh Mar 18, 2024
4d31fdc
Cleaning up + moving windowingsystem to the custom one
dimkauzh Mar 19, 2024
6f33bb3
Wow
dimkauzh Apr 4, 2024
70f507f
Update mkdocs.yml
dimkauzh Apr 4, 2024
690c509
Revert website changes back
dimkauzh Apr 4, 2024
615768a
Testing with Mac opengl
dimkauzh Apr 6, 2024
d3337c6
This should work now
dimkauzh Apr 6, 2024
277a932
pls
dimkauzh Apr 6, 2024
750e3a2
PLS :sob:
dimkauzh Apr 6, 2024
2416b3e
Finished webgl bindings
dimkauzh Apr 29, 2024
9a48607
Small things
dimkauzh May 19, 2024
feafc06
Work on the 1st layer, new license and more
dimkauzh Jul 22, 2024
eed74e5
GoFMT
dimkauzh Jul 22, 2024
393290e
Docs + Format action
dimkauzh Jul 22, 2024
659f9ca
Legacy opengl fix
dimkauzh Jul 22, 2024
80f3a49
Git broke
dimkauzh Jul 22, 2024
4736ee6
Small changes to gl.h
dimkauzh Jul 22, 2024
2a585dc
Small upgrades
dimkauzh Jul 26, 2024
5721274
Small docs update
dimkauzh Aug 1, 2024
4b9a635
Badges updates
dimkauzh Aug 1, 2024
4ddc4c3
Working ofc
dimkauzh Aug 19, 2024
9f5483f
New changes hehe
dimkauzh Sep 3, 2024
6229180
From custom to generated
dimkauzh Nov 3, 2024
96f0f9c
Fixed up the errors
dimkauzh Nov 3, 2024
1587a79
Gigantic license changes
dimkauzh Nov 11, 2024
9fc309a
DAMN THIS LOOKS GOOD
dimkauzh Nov 12, 2024
7a97715
ZED GOTTA CHILL :sob: :pray:
dimkauzh Nov 12, 2024
dad29bf
Added blog part to the website
dimkauzh Nov 12, 2024
2d02062
Update mkdocs.yml
ZakaHaceCosas Nov 12, 2024
d832278
Update index.md
ZakaHaceCosas Nov 12, 2024
4a38f6d
just wrote a cool blog article :D
ZakaHaceCosas Nov 12, 2024
f89500d
Add post cover
ZakaHaceCosas Nov 12, 2024
7e954dd
Add design image
ZakaHaceCosas Nov 12, 2024
8c29af1
Update were-one-year-old.md
ZakaHaceCosas Nov 12, 2024
5ec88dd
Update README.md
ZakaHaceCosas Nov 12, 2024
6220c15
Add banner
ZakaHaceCosas Nov 12, 2024
8a52a6e
Create CODE_OF_CONDUCT.md
ZakaHaceCosas Nov 12, 2024
f00f6e8
Create CONTRIBUTING.md
ZakaHaceCosas Nov 12, 2024
6ebb9b6
Update LICENSE.md
ZakaHaceCosas Nov 12, 2024
bf6bc03
Create SECURITY.md
ZakaHaceCosas Nov 12, 2024
7cff9d6
This one looks better
ZakaHaceCosas Nov 12, 2024
4b41f5a
Update index.md
ZakaHaceCosas Nov 13, 2024
afb7d71
Update README.md
ZakaHaceCosas Nov 13, 2024
abed968
Rename logo/banner-darkmode.png to logo/old/banner-darkmode.png
ZakaHaceCosas Nov 13, 2024
18e97d5
Rename logo/banner-nobg.png to logo/old/banner-nobg.png
ZakaHaceCosas Nov 13, 2024
e6f626a
Rename logo/banner.png to logo/old/banner.png
ZakaHaceCosas Nov 13, 2024
e3e5faf
Rename logo/banner1.png to logo/old/banner1.png
ZakaHaceCosas Nov 13, 2024
646369b
Rename website/logo/banner-darkmode.png to website/logo/old/banner-da…
ZakaHaceCosas Nov 13, 2024
9dd4d77
Rename website/logo/banner-nobg.png to website/logo/old/banner-nobg.png
ZakaHaceCosas Nov 13, 2024
4d987e2
Rename website/logo/banner.png to website/logo/old/banner.png
ZakaHaceCosas Nov 13, 2024
a6bb6b7
Rename website/logo/banner1.png to website/logo/old/banner1.png
ZakaHaceCosas Nov 13, 2024
b168e27
Add files via upload
ZakaHaceCosas Nov 13, 2024
5514b62
Add files via upload
ZakaHaceCosas Nov 13, 2024
428e2ec
Add files via upload
ZakaHaceCosas Nov 13, 2024
7014b59
Logo and stuff, feat @ZakaHaceCosas
dimkauzh Nov 13, 2024
a3b3d44
Help trying to fix the merge conflict :sob:
dimkauzh Nov 13, 2024
2a9a948
Create banner-nobg.png
dimkauzh Nov 13, 2024
12292e3
Merge branch 'latest' into latest
dimkauzh Nov 13, 2024
17f08fa
Merge pull request #9 from ZakaHaceCosas/latest
dimkauzh Nov 13, 2024
a1aff33
Last piece of maintance
dimkauzh Nov 13, 2024
2742d52
Fixing up small things
dimkauzh Nov 13, 2024
e0c3409
Hopefully this works? :sob:
dimkauzh Nov 24, 2024
a1ac5a5
Finally some good ring 2 progress
dimkauzh Dec 2, 2024
b73ba00
Tiny update
dimkauzh Dec 2, 2024
e6c0be4
Fixed up some things
dimkauzh Dec 2, 2024
4054792
Update README.md
dimkauzh Dec 3, 2024
9fa29b8
Moving domains
dimkauzh Dec 4, 2024
3eb1014
THIS WAS THE ISSUE!?!!?!!
dimkauzh Dec 4, 2024
75e66a0
Cleaning up
dimkauzh Dec 4, 2024
07186d3
Fixing favicon issue
dimkauzh Dec 5, 2024
5b4b4eb
Oopsies
dimkauzh Dec 5, 2024
bd30261
Update README.md
ZakaHaceCosas Dec 5, 2024
847debe
Merge pull request #11 from ZakaHaceCosas/patch-1
dimkauzh Dec 5, 2024
2b244ca
Update README.md
dimkauzh Dec 5, 2024
0d772d6
Update about.md
dimkauzh Dec 5, 2024
a69536b
Lots of possible improvements
dimkauzh Dec 5, 2024
5383987
Getting ready for future texture support (havent touched web yet)
dimkauzh Dec 11, 2024
9f908aa
Fixed ci_check
dimkauzh Dec 13, 2024
458a9c6
Shaders loading and some shader prototypes
dimkauzh Dec 13, 2024
dedbdb8
Fixing up things and more
dimkauzh Dec 13, 2024
8beaaa4
Update README.md
dimkauzh Dec 13, 2024
620ebc3
hi
ZakaHaceCosas Dec 13, 2024
0073fdd
Merge branch 'vuelto-org:latest' into latest
ZakaHaceCosas Dec 13, 2024
9344815
fix a buncha typos and formatting issues
ZakaHaceCosas Dec 13, 2024
b81d46c
Merge pull request #12 from ZakaHaceCosas/latest
dimkauzh Dec 13, 2024
7236b4e
how did this happen
dimkauzh Dec 14, 2024
916f046
Testing with redirects
dimkauzh Dec 14, 2024
9f0f46a
Merge branch 'latest' of github.com:vuelto-org/vuelto into latest
dimkauzh Dec 14, 2024
4f7907f
Some improvements 🔥
dimkauzh Dec 17, 2024
4a1b34f
tiny tiny bug 🐛
dimkauzh Dec 18, 2024
72bbc08
commit for no reason
dimkauzh Dec 19, 2024
d9edfbd
Head-start on the event system
dimkauzh Dec 19, 2024
1d725a5
switching machines
dimkauzh Dec 20, 2024
652088b
Bump golang.org/x/image from 0.0.0-20190227222117-0694c2d4d067 to 0.18.0
dependabot[bot] Dec 20, 2024
764c658
Merge pull request #13 from vuelto-org/dependabot/go_modules/golang.o…
ZakaHaceCosas Dec 20, 2024
1d216f0
Added NixOS support
dimkauzh Dec 22, 2024
4c0b144
Switching to flakes
dimkauzh Dec 24, 2024
1fc5543
NIIIIIIX FLAAAAAAAKES
dimkauzh Dec 24, 2024
5c0c57f
use MkDocs blog plugin
ZakaHaceCosas Dec 30, 2024
fedabc0
remove useless thingy
ZakaHaceCosas Dec 30, 2024
1d7b24b
Update flake.nix
dimkauzh Dec 30, 2024
52662e8
Moving textures?!?!?!
dimkauzh Dec 30, 2024
491e548
Thanks nixos, now i got no sleep
dimkauzh Dec 31, 2024
42e8b74
ig sleep is really necessary
dimkauzh Dec 31, 2024
ab73689
Only a little left!
dimkauzh Dec 31, 2024
f0037af
WHAT?!!!?!?!?
dimkauzh Dec 31, 2024
f489129
Warning fixes
dimkauzh Dec 31, 2024
e81bdbd
Update mkdocs.yml (change colors so logo visible on light mode)
ZakaHaceCosas Dec 31, 2024
ef1f558
Update v1.md
ZakaHaceCosas Dec 31, 2024
55773f3
Ready for move!
dimkauzh Dec 31, 2024
942258b
Merge branch 'latest' of github.com:vuelto-org/vuelto into latest
dimkauzh Dec 31, 2024
771511c
It works? WAIT LETSGO
dimkauzh Jan 1, 2025
a37c289
Few things left
dimkauzh Jan 1, 2025
59b87c2
hehe
dimkauzh Jan 1, 2025
53b7623
Examples are now fine
dimkauzh Jan 1, 2025
2e14bd8
fix typos in code
ZakaHaceCosas Jan 1, 2025
6caa594
document V1.1 (commit 1/n)
ZakaHaceCosas Jan 1, 2025
1ee8af9
document V1.1 (commit 2/n)
ZakaHaceCosas Jan 1, 2025
e51fb7b
fix code typos
ZakaHaceCosas Jan 1, 2025
be081e3
document V1.1 (commit 3/n)
ZakaHaceCosas Jan 1, 2025
1692631
document V1.1 (commit 4/n)
ZakaHaceCosas Jan 1, 2025
4602c49
hi
dimkauzh Jan 1, 2025
86abf0a
update license comment
ZakaHaceCosas Jan 1, 2025
fbf0900
that's better
ZakaHaceCosas Jan 1, 2025
d42efe6
Fixing the docs
dimkauzh Jan 1, 2025
c29e4df
Merge branch 'latest' of github.com:vuelto-org/vuelto into latest
dimkauzh Jan 1, 2025
0a28c88
New tutorial and small updates :)
dimkauzh Jan 3, 2025
a85ee6d
fix formatting, typos, and shell examples
ZakaHaceCosas Jan 3, 2025
0213215
uhm yeah
dimkauzh Jan 4, 2025
2dba5ae
Merge branch 'latest' of github.com:vuelto-org/vuelto into latest
dimkauzh Jan 4, 2025
b321eee
Lin gan guli guli guli quasa lin gan gu, lin gan gu
dimkauzh Jan 4, 2025
0f800ba
Lin gan guli without chicken
dimkauzh Jan 4, 2025
9f199b9
dima forgor to remove this (lin gan guli guli whatever)
ZakaHaceCosas Jan 4, 2025
d4bf441
guess what's coming?
ZakaHaceCosas Jan 4, 2025
99e1a13
always an error before releasing, right?
ZakaHaceCosas Jan 4, 2025
785876c
test
ZakaHaceCosas Jan 4, 2025
d3ecd4e
test2
ZakaHaceCosas Jan 4, 2025
7d218ac
test3
ZakaHaceCosas Jan 4, 2025
4d6410d
test4 (final??)
ZakaHaceCosas Jan 4, 2025
7685346
there we go lads!
ZakaHaceCosas Jan 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/ci_check.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ name: ci_check

on:
push:
branches: "main"
branches:
- latest
- stable

pull_request:
branches: "main"
branches:
- latest
- stable

jobs:
build:
Expand All @@ -15,7 +19,7 @@ jobs:
fail-fast: false

matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
build_type: [Release]
c_compiler: [gcc, clang, cl]
include:
Expand All @@ -28,6 +32,9 @@ jobs:
- os: ubuntu-latest
c_compiler: clang
cpp_compiler: clang++
- os: macos-latest
c_compiler: clang
cpp_compiler: clang++
exclude:
- os: windows-latest
c_compiler: gcc
Expand All @@ -42,7 +49,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: '1.22'

- name: Update Packages (Linux)
if: startsWith(matrix.os, 'ubuntu')
Expand All @@ -57,3 +64,4 @@ jobs:

- name: Make Ci_Check
run: make ci_check

36 changes: 36 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Go Format Check

on:
push:
branches:
- latest
- stable

pull_request:
branches:
- latest
- stable
jobs:
go-fmt-check:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22'

- name: Check Go format
run: |
files=$(gofmt -l .)
if [ -n "$files" ]; then
echo "Following files arent formatted:"
echo "$files"
exit 1
else
echo "Everything is formatted."
fi

12 changes: 7 additions & 5 deletions .github/workflows/mkdocs.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
name: MkDocs Deploy
name: MkDocs Deploy
on:
push:
branches:
- master
- main
- latest
- stable

permissions:
contents: write

jobs:
deploy:
runs-on: ubuntu-latest
Expand All @@ -18,12 +20,12 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache
restore-keys: |
mkdocs-material-
- run: pip install mkdocs-material
- run: pip install mkdocs-material mkdocs-redirects
- run: mkdocs gh-deploy --force
6 changes: 6 additions & 0 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ CMakeFiles/
.cmake
Testing
site

.env
.envrc
.direnv/

internal/gl/opengl/old
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Vuelto Changelog

## Vuelto 1.1 (05/01/2025)

### Breaking changes

- Updated to OpenGL 3.3 Core, breaking compatibility with unsupported hardware.
- `DrawLine()` now takes arguments in the order `x1 y1 x2 y2`, instead of `x1 x2 y1 y2`.
- `Image` struct now uses a `Pos` parameter with `Vector2D` type instead of `X,Y` `float32` param for position.
- `Line` struct now uses `Pos1` and `Pos2` params with `Vector2D` type instead of `X1, Y1, X2, Y2`.
- `Rect` struct now uses `Pos` param with `Vector2D` type instead of `X, Y`.

### Additions

- Support for targeting web (WASM + WebGL 2.0).
- Event system
- KeyPressed, KeyPressedOnce, and KeyReleased
- Mouse position
- `GetDeltaTime()`
- Framerate managing
- `GetFPS()`
- `SetFPS()`

### Changes

- The above mentioned breaking changes.
- Params `X` and `Y` (and `Z`) for `Vector2D` and `Vector3D` are now of type `float32` instead of `float64`.
- Improved performance.

<!-- TODO: review older versions and log their changes -->
2 changes: 1 addition & 1 deletion CNAME
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1 @@
vuelto.me
vuelto.pp.ua
19 changes: 19 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Vuelto Code of Conduct

Vuelto is built by developers, for developers. We are committed to fostering a welcoming and inclusive community. By participating in this project, you agree to the following principles:

1. **Respect Everyone**
Treat all contributors with kindness and respect. Discrimination, harassment, or offensive language is not tolerated.

2. **Collaborate Openly**
Share ideas, feedback, and code in a constructive and respectful manner. Assume good intentions and work to resolve disagreements with empathy.

3. **Stay Professional**
Keep discussions focused on the project. Avoid disruptive behavior, spamming, or derailing conversations.

4. **Be Inclusive**
Make the community accessible to everyone, regardless of experience level, background, or identity.

Violations of this Code of Conduct may result in warnings, bans, or other actions as necessary. If you experience or witness any unacceptable behavior, please report it to the maintainers.

Together, let's build a community where creativity and collaboration thrive!
53 changes: 53 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Contributing rules

We are happy and welcome if you want to contribute to Vuelto. But please consider a few details before continuing:

1. Branch: Please when working on your fork, work in the dev branch, because we only will accept commits to the dev branch. It will later be released with the next version of Vuelto.
2. Explain: Please explain why this should be considered and merged. That will make our life easier.
3. Test: Please test your code before even opening a new pull request.
4. Documentation: Please, if you’re adding something new, like a feature, please document everything.
5. Format: Please, run `make format` for formatting of the code.

Not following these rules
If we see a pull request that doesn't follow these rules, we will tell you that, and close the pull request.
We allow you to re-open a new pull request, but we expect you to have your code fixed.
So make sure that you followed [the rules](#contributing-rules)

Some technologies we are using

- GLFW: We use this for the desktop windowing
- “syscall/js”: We use this to interact with the JS runtime
- glow: Generate OpenGL Go bindings (only happened one)
- CGo: Interface to use C with Go

## How to setup the work environment

If you want to contribute, you have to set up the work environment, so you can develop vuelto the right way.

1. Run `go mod tidy` to install all the packages
2. Fork [the repository](https://github.com/vuelto-org/vuelto).
3. Clone your forked github repository:

```bash
git clone https://github.com/your_username/vuelto.git
```

4. Change the branch to the dev branch to follow rule \#1:

```bash
git checkout dev
```

## Pull Request

If you're ready with your changes, then you must follow a few steps before pull requesting.

1. Run `make` to format your code:

```bash
make format
```

Then make sure your pull request code works without erroring and you followed the [contribution rules](#contributing-rules)

After all of this, you can create a pull request and one of our main organization members will look at it.
Loading
Loading