Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'YAAC3'
- UhuMath.seedRandomGenerator
- UhuRenderer.enterVideoMode(0, 0, UhuRenderer::VSYNC)
- halfX, halfY = UhuRenderer.activeContextResolution.map { |n| n * 0.5 }
- UhuController.worldBounds = SpatialBounds.new(-halfX, +halfX, -halfY, +halfY)
- UhuController.addObject YAAC3.new
Add Comment
Please, Sign In to add comment