Search found 4 matches

by Outlaw11A
Mon Mar 25, 2013 10:10 pm
Forum: Support and Development
Topic: Debug Console
Replies: 4
Views: 4464

Re: Debug Console

WOW! Thanks for the help guys! Will defs look into this.
by Outlaw11A
Sun Mar 24, 2013 3:27 am
Forum: Support and Development
Topic: Debug Console
Replies: 4
Views: 4464

Debug Console

Hey Guys! I was wondering if someone could help me out with the debug console that can be opened if it is true in the conf.lua file. Am I able to view variable values in it? Could I change the variables from the console, then have them change the game? How would I go about doing this? Any help would...
by Outlaw11A
Tue Mar 19, 2013 10:28 am
Forum: Support and Development
Topic: Running another main.lua from inside a game
Replies: 2
Views: 2191

Re: Running another main.lua from inside a game

What you are looking for, is called game state. Have a variable "state" of type string where you save, which scene you are in. In love.update and love.draw you first check which state you are in and run the corresponding function Example: function love.load() state = 'intro' end function ...
by Outlaw11A
Tue Mar 19, 2013 9:25 am
Forum: Support and Development
Topic: Running another main.lua from inside a game
Replies: 2
Views: 2191

Running another main.lua from inside a game

Hi all! I have been creating a game, and have run into a problem. I have created separate scenes, that are separate from each other. I want it so that, when something is clicked in one scene, it loads another scene. The folder structure is as so: menu - /textures/ /sounds/ /main.lua intro-1 - /textu...