rose和女主闲聊时说“你结束后真性感”,后面就分手了,之后又和好,不过也没有她俩的床戏,都是以接吻直接跳过。很遗憾,对吗...
我的第一次回答似乎没出现。Ruby可以写游戏。
基本上Ruby可以调用Windows API和DirectX API或者使用.net,在开发能力和开发速度上拥有优势。
著名的RPG制作大师(RPG Maker VX)就是使用Ruby作为核心的(参见RGSS),使用这类引擎做出的游戏保守估计数量超过10万。
国内有人做的(信赖铃音-莫扎特之梦)可以去搜索下
Miyako是一个Ruby游戏开发库,使用了SDL。可以编写跨平台的单机或者网络游戏。
可以去Ruby社区看看。
Python是不错,可是我不喜欢这种要注意空格的程序。IronPython,Jython不成气候。
考虑到游戏的速度因素,ruby,python全完蛋。lua来了,虽然lua实在贫弱
虽然我看着C就头疼,但是我不得不承认:这东西还是开发游戏的主力。
当然也包括他那畸形的兄弟C++(畸形是指过于复杂,外加不是完全的面向对象化。当然lua,python也不完全的面向对象)
估计楼主是看中了Ruby的开发速度和前景才选择Ruby吧。
先安装rubyinstaller,下载并解压DevKit,注意,这两个版本要对应,网页上有说明(http://rubyinstaller.org/downloads/),解压DevKit后,打开目录,运行devkitvars.bat(是不是必须的不确定)。打开cmd,进入DevKit的解压目录
ruby dk.rb
---
Configures an MSYS/MinGW based Development Kit (DevKit) for
each of the Ruby installations on your Windows system. The
DevKit enables you to build many of the available native
RubyGems that don't yet have a binary gem.
Usage: ruby dk.rb COMMAND [options]
where COMMAND is one of:
init prepare DevKit for installation
review review DevKit install plan
install install required DevKit executables
and 'install' [options] are:
-f, --force overwrite existing helper scripts
-------------
ruby dk.rb init
---
Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.
--------------------------------
ruby dk.rb install
---
Invalid configuration or no Rubies listed. Please fix 'config.yml'
and rerun 'ruby dk.rb install'
如果出现的是这个,则需要修改config.yml
加入
- C:\Ruby200-x64
---
[INFO] Updating convenience notice gem override for 'C:/Ruby200-x64'
[INFO] Installing 'C:/Ruby200-x64/lib/ruby/site_ruby/devkit.rb'
这是对的
---------------------
gem install ruby-debug-ide
---
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed ruby-debug-ide-0.4.17
Parsing documentation for ruby-debug-ide-0.4.17
Installing ri documentation for ruby-debug-ide-0.4.17
1 gem installed