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

Functions

local function on_collision (e0, e1)
 

Variables

local entity = require "nngn.lib.entity"
 
local map = require "nngn.lib.map"
 
local player = require "nngn.lib.player"
 
local state = require "nngn.lib.state"
 
local texture = require "nngn.lib.texture"
 
local entities = {}
 
local warps = {}
 
local tex< close > = texture.load("img/chrono_trigger/house.png")
 
local data = map.data() or state.save({ambient_light = true})
 
 name = "house0"
 
 file = "maps/house0.lua"
 
 init = init
 
 on_collision = on_collision
 
 tiles = {tex.tex, 2, 0, 0, 256, 256, 1, 1, {0, 1}}
 

Function Documentation

◆ on_collision()

local function on_collision ( e0 ,
e1  )

Variable Documentation

◆ data

local function data = map.data() or state.save({ambient_light = true})

◆ entities

entities = {}

◆ entity

local entity = require "nngn.lib.entity"

◆ file

file = "maps/house0.lua"

◆ init

init = init

◆ map

local map = require "nngn.lib.map"

◆ name

name = "house0"

◆ on_collision

on_collision = on_collision

◆ player

local player = require "nngn.lib.player"

◆ state

local state = require "nngn.lib.state"

◆ 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, {0, 1}}

◆ warps

local warps = {}