Project

kokuban

0.0
No commit activity in last 3 years
No release in over 3 years
RubyKokuban installer and executer
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
>= 0

Runtime

~> 0.1.0
>= 0
 Project Readme

rubykokuban-gem

RubyKokuban installer and executer.

RubyKokuban?

You can write interactive applications be simplified by RubyKokuban.

def draw
  text 'Hello, rubykokuban!', 100, 100
  circle 350, 100, 50
end

hello-demo

To move the circle is very simple.

def setup
  set_window_size 480, 240
  @x = 0
end

def update
  @x += 1
end

def draw
  text 'Hello, rubykokuban!', 100, 100
  circle @x, 100, 50
end

move-demo

Sample code of drawing and shooting.

drawing-demo

Installation

$ gem install kokuban

Usage

Install RubyKokuban.app

$ kokuban install --latest

Installed?

$ kokuban list
osx (0.0.3)

Write a code

def draw
  text 'Hello, rubykokuban!', 100, 100
  circle 350, 100, 50
end

Execute script

$ kokuban exec hello.rb

Very, Very, Useful Hotkey

  • Ctrl+R (Be careful, not ⌘+R) - Reload script

Sample Code

rubykokuban-sample

$ git clone https://github.com/ongaeshi/rubykokuban-sample
$ cd rubykokuban-sample
$ kokuban exec mouse-shooting.rb

Platform

  • osx
  • win
  • linux
  • ios
  • android

Features

  • It's made with mruby + openFrameworks.
    • Not a library. It's an application that move independently.
  • Benefits that can be expected.
    • Run on multiple platforms the same code
    • Run in the mobile device as well as PC
    • Hide the code together in the binary file

Special Thanks