Search found 2 matches
- Thu Nov 17, 2016 3:23 pm
- Forum: Support and Development
- Topic: Total beginner lost in its first "separated" program [Solved]
- Replies: 5
- Views: 3689
Re: Total beginner lost in its first "separated" program
Hi there! You have two issues with the code; the first is that you're missing a return Jugador from Jugador.lua, and you need the first line in your main.lua to be local Jugador = require("jugador/Jugador") since you made it a local inside that file (which is a good thing), but that also ...
- Tue Nov 15, 2016 7:00 pm
- Forum: Support and Development
- Topic: Total beginner lost in its first "separated" program [Solved]
- Replies: 5
- Views: 3689
Total beginner lost in its first "separated" program [Solved]
Hi, I'm trying to make my first simple game separating the elements (player, enemies... ), but I see I'm lost in the first step. I'm trying to only draw a rectangle as a player on a black window, and these are the three files I'm working with. conf.lua function love.conf(t) t.window.title = "Ju...