## Starship Run

Show off your games, demos and other (playable) creations.
skyHights
Citizen
Posts: 78
Joined: Mon Aug 25, 2014 12:14 pm

### Starship Run

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.
Attachments
StarShip Run.love
Learning to Löve.

Joe Black
Prole
Posts: 39
Joined: Wed Jan 21, 2015 1:57 pm

### Re: Starship Run

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 )

qubodup
Inner party member
Posts: 775
Joined: Sat Jun 21, 2008 9:21 pm
Location: Berlin, Germany
Contact:

### Re: Starship Run

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:
lg.newImage("cat.png") -- made possible by lg = love.graphics
-- Don't force fullscreen (it frustrates those who want to try your game real quick) -- Develop for 1280x720 (so people can make HD videos)

norubal
Party member
Posts: 122
Joined: Tue Jan 15, 2013 5:55 am

### Re: Starship Run

That's nice, maybe some kind of power-ups or item will make the game better.

DaedalusYoung
Party member
Posts: 402
Joined: Sun Jul 14, 2013 8:04 pm

### Re: Starship Run

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.

### Who is online

Users browsing this forum: No registered users and 5 guests