Advertisement
lavalevel

This is how I load those groups from maps_layout

Jun 10th, 2012
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.24 KB | None | 0 0
  1.     layout0 = require('layout_maps')
  2.     group = self.view
  3.     maps_sf = require('loq_sprite').newFactory( 'sheet_gameUI', 'sheet_mapTiles', 'sheet_mapsbackgound' )
  4.     group.maps = layout0.createLayout(maps_sf)
  5.  
  6.     group:insert(group.maps.groups.layout0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement