Zum Inhalt springen

RubyGosuTutorial: Unterschied zwischen den Versionen

Oneup (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Vierlex (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(2 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 6: Zeile 6:
* for super mario style platformer tile physics see [http://jnrdev.72dpiarmy.com jnrdev]
* for super mario style platformer tile physics see [http://jnrdev.72dpiarmy.com jnrdev]


shortcut:
<pre>require 'gosu'
class GameWindow < Gosu::Window
  def initialize
    super(640, 480, false)
    self.caption = "Gosu Tutorial Game"
   
    @background_image = Gosu::Image.new(self, "media/Space.png", true)
  end
  def update
  end
  def draw
    @background_image.draw(0, 0, 0);
  end
end
window = GameWindow.new
window.show</pre>


== Poit (Isn't Puit). ==
== Poit (Isn't Puit). ==
* open source ruby game : [http://github.com/oneup/puituniverse/tree/master poit universe]
* open source ruby game : [http://github.com/oneup/puituniverse/tree/master poit universe]
* sort of //Nil Isn't Liero//
* for git usage see [[GitTutorial]]




Zeile 23: Zeile 45:
* Animation System built-in (PuitWars' kyoto has this)
* Animation System built-in (PuitWars' kyoto has this)
</div>
</div>
[[Kategorie:Gamedev]]
[[Kategorie:Howto]]