Skip to content

Instantly share code, notes, and snippets.

@tomekc
Created December 3, 2015 23:58
Show Gist options
  • Select an option

  • Save tomekc/afa726dd0583731cf064 to your computer and use it in GitHub Desktop.

Select an option

Save tomekc/afa726dd0583731cf064 to your computer and use it in GitHub Desktop.
Handy Corona SDK snippets for games
-- Disable pixel smoothing
display.setDefault( "magTextureFilter", "nearest" )
-- Physics debugging: place in scene file in global scope
physics.setDrawMode( "hybrid" )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment