nngn
Loading...
Searching...
No Matches
fiona.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 texture = require "nngn.lib.texture"
 
local entities = {}
 
local tex< close > = texture.load("img/chrono_trigger/fionas_forest.png")
 
 name = "fiona"
 
 file = "maps/fiona.lua"
 
 state = {ambient_light = true, shadows_enabled = true, zsprites = true}
 
 init = init
 
 on_collision = on_collision
 
 reset = function() nngn:lighting():set_ambient_anim({f = {}}) end
 
 tiles = {tex.tex, 2, 0, 0, 256, 256, 1, 1, {0, 0}}
 

Function Documentation

◆ on_collision()

local function on_collision ( e0 ,
e1  )

Variable Documentation

◆ entities

entities = {}

◆ entity

local entity = require "nngn.lib.entity"

◆ file

file = "maps/fiona.lua"

◆ init

init = init

◆ map

local map = require "nngn.lib.map"

◆ name

name = "fiona"

◆ on_collision

on_collision = on_collision

◆ player

local player = require "nngn.lib.player"

◆ reset

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

◆ state

state = {ambient_light = true, shadows_enabled = true, zsprites = true}

◆ tex< close >

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

◆ texture

local texture = require "nngn.lib.texture"

◆ tiles

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