Skip to content

Porting Ruby 1.8 (mini version) and Ruby/SDL to Android JNI. Eriri is also the name of a character (英梨々) in Saekano: How to Raise a Boring Girlfriend.

Notifications You must be signed in to change notification settings

weimingtom/eriri

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eriri

Porting Ruby 1.8 (mini version) and Ruby/SDL to Android JNI
Eriri is also the name of a character (英梨々) in Saekano: How to Raise a Boring Girlfriend.

History:

2015-11-29: Reduce android view counts (just one LinearLayout and one DemoGLSurfaceView, see ONScripter.java). Now SDL::Screen.open may returns a screen smaller than DemoGLSurfaceView (bottom left alignment). I like this, which is different from origin (I use alpha.rb for test).
2015-08-08: Create mrubyjni, using NDK & VC6, only testing mrb_load_string.
2015-06-28: Fix keyboard event bug (SDLK_LEFT) of stetris.rb (under win32).
2015-06-07: Running success: bfont.rb, collision.rb, ellipses.rb, event2.rb, font.rb, fpstimer.rb, randrect.rb, sgetest.rb, stetris.rb, testsprite.rb, but keyboard event response and color key are not available now.
2015-06-02: Running alpha.rb and alphadraw.rb success (using SDL2 source).
2015-05-24: Running aadraw.rb (a sample of Ruby/SDL) success on Android and Visual Studio C++ 6.0.
2015-05-17: Rubysdl VC6 project (test version).
2015-05-10: Create rubysdl Android project, merging with rubyjni.
2015-05-02: Catch ruby exception (error handling) using ruby_cleanup(ruby_exec()).
2015-05-01: Porting simple ruby embeded program, compiled with VC6 and JNI Project, but different running method, need to be ported well. It can also load ruby script from assets folder directly under Android.

References:

TODO:

  • (FINISH) rubysdl VC6 project.
  • rubyjni can require .so in script file (but in fact not).
  • keyboard event.
  • color key.

etc ruby relatived script engine

RUBY COOKBOOK

  • see baidupan

YARV

ruby-implementations

hotruby (for as3)

xruby (compile rb to jar)

CoffeeScript (see VNMaker)

About

Porting Ruby 1.8 (mini version) and Ruby/SDL to Android JNI. Eriri is also the name of a character (英梨々) in Saekano: How to Raise a Boring Girlfriend.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published