Display
font attributes have been revised. Use#text_font
&#text_size
in place of#font_family
&#font_size
. UseFont
instances in place of font names.Display#rotate
now takes aVector
instead of aNumeric
. Replace occurances of#rotate
with#rotate_z
.Display#transformation
has been removed.Game::config
has been removed. To set a game's display size, usedisplay.size = <vector>
in a game's#setup
.- Projects now have a
code/config.rb
file. Copy it over from a new 0.4 game project. Web
runner now scales the display to use all available space. To preserve pixel art, setfactorial_scaling
totrue
inconfig.rb
.
- Entrypoint has been changed from
code/code.rb
tocode/game.rb
(contents ofcode/code.rb
need to be moved tocode/game.rb
). Image
does not support#path=
.Sound
does not support#path=
,#to_n
and#pause
(use#stop
).