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

Orca examples ported to odin #50

Merged
merged 4 commits into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ jobs:
odin check sdl2/opengl $FLAGS
odin check wgpu/microui -target:windows_amd64 $FLAGS
odin check orca/breakout -target:orca_wasm32 $FLAGS
odin check orca/clock -target:orca_wasm32 $FLAGS
odin check orca/ui -target:orca_wasm32 $FLAGS
21 changes: 13 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
*.exe
*.ll
*.obj
*.pdb

**.exp
tetroid.lib
build.bat
*.exe
*.ll
*.obj
*.pdb

**.exp
tetroid.lib
build.bat

# orca samples

orca_output
module.wasm
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,9 @@ Assets and third-party libraries are provided under their own license. If in dou
* [07-texturing](https://github.com/odin-lang/examples/tree/master/learn_metal/07-texturing)
* [08-compute](https://github.com/odin-lang/examples/tree/master/learn_metal/08-compute)
* [09-compute-to-render](https://github.com/odin-lang/examples/tree/master/learn_metal/09-compute-to-render)

## Orca

* [breakout](https://github.com/odin-lang/examples/tree/master/orca/breakout)
* [clock](https://github.com/odin-lang/examples/tree/master/orca/clock)
* [ui](https://github.com/odin-lang/examples/tree/master/orca/ui)
Binary file added orca/breakout/data/Literata-SemiBoldItalic.ttf
Binary file not shown.
Binary file added orca/breakout/data/ball.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added orca/breakout/data/brick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions orca/breakout/data/test_read.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Hello, ressource file
Binary file added orca/breakout/data/underwater.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading