yhara / dxopal

Game development framework for Opal, API compatible to DXRuby

Home Page:https://yhara.github.io/dxopal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

z value of Window.draw () does not work

mieki256 opened this issue · comments

z value of Window.draw () does not work.

example.
http://blawat2015.no-ip.com/~mieki256/diary/201802241.html#201802241

I think

  sorted = @@draw_queue.sort{|a, b| a[0] == b[0] ? a[1] <=> b[1] : a[0] <=> a[1] }

->

  sorted = @@draw_queue.sort{|a, b| a[0] == b[0] ? a[1] <=> b[1] : a[0] <=> b[0] }

Oh that's right. Thanks!