diff options
| author | realtradam <[email protected]> | 2022-01-15 05:26:09 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-01-15 05:26:09 -0500 |
| commit | 1b267b74a154abee9b67adc15474bf8c30ba33a8 (patch) | |
| tree | beece03604f9288d8c5adf25462c73638ef3607b | |
| parent | cc5b21837424190ee652fe6fe7051956caa48796 (diff) | |
| download | FelFlameEngine-1b267b74a154abee9b67adc15474bf8c30ba33a8.tar.gz FelFlameEngine-1b267b74a154abee9b67adc15474bf8c30ba33a8.zip | |
desktop no longer has illegal operation
| -rw-r--r-- | Rakefile | 4 | ||||
| -rw-r--r-- | game/lib/hello.rb | 2 | ||||
| -rw-r--r-- | game/main.rb | 2 | ||||
| m--------- | mruby | 0 | ||||
| -rw-r--r-- | vendor/lib/tux/raylib/libraylib.a | bin | 8876638 -> 2519508 bytes |
5 files changed, 6 insertions, 2 deletions
@@ -35,6 +35,10 @@ namespace :build do system("../../mruby/bin/mrbc -Bbytecode -obytecode.h main.rb") end end + desc 'Launch the game' + task :playtest => :single_file do + system("./mruby/build/host/bin/mruby build/temp/main.rb'") + end desc 'Build the game for web' task :web => :bytecode do Dir.mkdir("build/web") unless File.exists?("build/web") diff --git a/game/lib/hello.rb b/game/lib/hello.rb index fd184d5..022d649 100644 --- a/game/lib/hello.rb +++ b/game/lib/hello.rb @@ -1 +1 @@ -puts 'hello' +puts Raylib.platform diff --git a/game/main.rb b/game/main.rb index 079d298..37c8207 100644 --- a/game/main.rb +++ b/game/main.rb @@ -1,2 +1,2 @@ require 'lib/hello.rb' -Ye.c_method +Raylib.init_window(1000, 300, "poggies") diff --git a/mruby b/mruby -Subproject 9907ca5891213fde40694f2ae1d47789ab45601 +Subproject fd640fbcbe227cb318498e2319b7856f5d3da71 diff --git a/vendor/lib/tux/raylib/libraylib.a b/vendor/lib/tux/raylib/libraylib.a Binary files differindex 692fc69..546e4ad 100644 --- a/vendor/lib/tux/raylib/libraylib.a +++ b/vendor/lib/tux/raylib/libraylib.a |
