Guest User

Untitled

a guest
Feb 21st, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. require 'YAAC3'
  2.  
  3. UhuMath.seedRandomGenerator
  4.  
  5. UhuRenderer.enterVideoMode(0, 0, UhuRenderer::VSYNC)
  6.  
  7. halfX, halfY = UhuRenderer.activeContextResolution.map { |n| n * 0.5 }
  8. UhuController.worldBounds = SpatialBounds.new(-halfX, +halfX, -halfY, +halfY)
  9.  
  10. UhuController.addObject YAAC3.new
Add Comment
Please, Sign In to add comment