nngn
Loading...
Searching...
No Matches
house1.lua File Reference

Variables

local entity = require "nngn.lib.entity"
 
local map = require "nngn.lib.map"
 
local player = require "nngn.lib.player"
 
local texture = require "nngn.lib.texture"
 
local entities = {}
 
local tex< close > = texture.load("img/chrono_trigger/house.png")
 
 name = "house1"
 
 file = "maps/house1.lua"
 
 state = {zsprites = true}
 
 init = init
 
 on_collision = function(e0, e1)
 
 reset = function() nngn:lighting():set_ambient_anim({f = {}}) end
 
 data = map.data()
 
 tiles = {tex.tex, 2, 0, 0, 256, 256, 1, 1, {1, 1}}
 

Variable Documentation

◆ data

data = map.data()

◆ entities

entities = {}

◆ entity

local entity = require "nngn.lib.entity"

◆ file

file = "maps/house1.lua"

◆ init

init = init

◆ map

local map = require "nngn.lib.map"

◆ name

name = "house1"

◆ on_collision

on_collision = function(e0, e1)

◆ player

local player = require "nngn.lib.player"

◆ reset

reset = function() nngn:lighting():set_ambient_anim({f = {}}) end

◆ state

state = {zsprites = true}

◆ tex< close >

local tex< close > = texture.load("img/chrono_trigger/house.png")

◆ texture

local texture = require "nngn.lib.texture"

◆ tiles

tiles = {tex.tex, 2, 0, 0, 256, 256, 1, 1, {1, 1}}