Skip to content

Commit

Permalink
Merge pull request #50 from Skytrias/orca-examples
Browse files Browse the repository at this point in the history
Orca examples ported to odin
  • Loading branch information
laytan authored Aug 22, 2024
2 parents 16b3e64 + 54e4060 commit 0954e14
Show file tree
Hide file tree
Showing 15 changed files with 1,591 additions and 8 deletions.
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

0 comments on commit 0954e14

Please sign in to comment.