Search found 1 match

by Ezzam
Tue Aug 23, 2011 8:49 am
Forum: Support and Development
Topic: Switching gamestates
Replies: 3
Views: 2709

Switching gamestates

This is my first post here, so hello everyone. I've got a problem with gamestates. Here's the main.lua: require 'game' require 'menu' game.load() function love.load() end function love.update(dt) currstate.update(dt) end function love.draw() currstate.draw() end currstate = menu First, i load game.l...