Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

itch.ioitch.io logo & titleitch.io logo

Browse GamesGame JamsUpload GameDeveloper LogsCommunity
Log inRegister
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
DragonRuby Game Toolkit »Community

Try this structure:

################ app/main.rbrequire 'app/init.rb'require 'app/tick.rb'################ app/init.rbColor = [100,100,100]module Init  def fun    puts "sup"  endend################ app/tick.rbclass Game  include Init       end$game = Game.newputs Color           def tick  puts Color           $game.fun          end
itch.io on Twitteritch.io on Facebook
AboutFAQBlogContact us
Copyright © 2025 itch corp ·Directory ·Terms ·Privacy ·Cookies

[8]ページ先頭

©2009-2025 Movatter.jp