Page 1 of 1

Starship Run

Posted: Sat Mar 28, 2015 5:45 pm
by skyHights
This is a basic space invaders clone with three different types of enemies that I have been working on for a LONG time, the coding is terrible as it is one of the first projects that I started and I don't know what I was thinking not adding notes. Anyway, here you go forum.

Re: Starship Run

Posted: Sat Mar 28, 2015 9:12 pm
by Joe Black
I've got this error while launching the game :

Code: Select all

Error boot.lua339: conf.lua4: attempt to index field 'screen' ( a nil value)
I think you must write something like t.window instead of t.screen (in love9x )

Re: Starship Run

Posted: Sun Mar 29, 2015 10:01 am
by qubodup
Joe Black wrote:I think you must write something like t.window instead of t.screen (in love9x )
That solves it for me.

Related: https://www.love2d.org/wiki/Config_Files is confusing. It references love.conf and conf.lua at the same time but I can't edit it.

Video:

Re: Starship Run

Posted: Sun Mar 29, 2015 10:16 am
by norubal
That's nice, maybe some kind of power-ups or item will make the game better.

Re: Starship Run

Posted: Sun Mar 29, 2015 1:51 pm
by DaedalusYoung
qubodup wrote: Related: https://www.love2d.org/wiki/Config_Files is confusing. It references love.conf and conf.lua at the same time but I can't edit it.
What do you mean you can't edit it?

conf.lua is the filename of the configuration file. love.conf is the name of the function that should be defined in that file.

So you create a new file, called conf.lua, copy and paste the love.conf function as found on the wiki into that file, then edit the values as you need it.