Last active
December 22, 2015 11:39
-
-
Save unaunagi/6467162 to your computer and use it in GitHub Desktop.
豆腐プログラミング Code on Rmake編
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
game.on_init do | |
scene_change :start_scene | |
end | |
scene :start_scene do |s| | |
s.on_init do | |
sp = s.sprite :position => [100, 100] #スプライトの作成と、表示位置の指定 | |
sp.set_color 255, 255, 255, 255 #スプライトの色を白(不透明)に設定 | |
sp.set_dest_size 50, 50 #スプライトの大きさを縦横50ピクセルに指定 | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment