Search found 151 matches
- Wed May 06, 2015 9:31 pm
- Forum: General
- Topic: Questions about require, calling tables from files.
- Replies: 13
- Views: 6791
Re: Questions about require, calling tables from files.
Thanks, I try to be really ordered this time when making a game. Right now I'm requiring data for my player: require 'player' require 'graphics' In my player I have: player = { {x, y, controls = {w,a,s,d}} {x, y, controls = {w,a,s,d}} } To make it readable should I instead maybe: local player = requ...
- Wed May 06, 2015 6:57 pm
- Forum: General
- Topic: Why is (-1)^1.2 not defined?
- Replies: 6
- Views: 3998
Re: Why is (-1)^1.2 not defined?
It's not that important, ^2 was too high so I figured I'd use ^1.2, however it didn't work with negative numbers and now I know why. Of course 1.2 is a a/b kind of numeral, and as S0lll0s said, more or less a root of a number.
- Wed May 06, 2015 6:53 pm
- Forum: General
- Topic: Questions about require, calling tables from files.
- Replies: 13
- Views: 6791
Questions about require, calling tables from files.
Hey, I have some require questions.
Do I have to assign different data files to local names? Like:
Best case would be if I could just
In love.load and then for example call player[1];
Do I have to assign different data files to local names? Like:
Code: Select all
local player = require 'player'
Code: Select all
require 'player'
Code: Select all
function love.update()
player[1].x = 1
end
- Wed May 06, 2015 10:17 am
- Forum: General
- Topic: Integrating bump.lua into the love API
- Replies: 6
- Views: 2562
Re: Integrating bump.lua into the love API
You're welcome.
- Mon May 04, 2015 8:16 pm
- Forum: Games and Creations
- Topic: Nerd Age - My first love game
- Replies: 4
- Views: 2778
Re: My first love game - A space game
This looks super promising, great job. I totally agree with your "nice to have list". Space trading and such would be awesome. I noticed that the text at the bottom of the screen is barely visible . You could draw a rectangle or a sprite under it to make sure that it is always visible. Al...
- Mon May 04, 2015 8:14 pm
- Forum: Games and Creations
- Topic: Nerd Age - My first love game
- Replies: 4
- Views: 2778
Re: My first love game
Impressive! It seems not winnable though and I seem to have found a bug (see end). It'd be nice to have backdrops for text and information what the different consoles do. Not sure if it's possible to gen new ammo or how I lost my gun in the first place. Not sure if there's anything to do on planets...
- Mon May 04, 2015 6:07 pm
- Forum: Games and Creations
- Topic: Nerd Age - My first love game
- Replies: 4
- Views: 2778
Nerd Age - My first love game
Download: Love file: http://www.filedropper.com/unlimited_5 Exe file & game folder: http://www.filedropper.com/unlimited_6 -- Both .love and .exe are updated with new versions, no crash bugs. Screenshot: http://oi61.tinypic.com/30j47i9.jpg --------------------------------------------------------...
- Mon May 04, 2015 5:33 pm
- Forum: Support and Development
- Topic: Distributing your games (making a .love file)
- Replies: 278
- Views: 950590
Re: Distributing your games (making a .love file)
Last thing, possible to change the .exe icon?
- Mon May 04, 2015 5:07 pm
- Forum: Support and Development
- Topic: Distributing your games (making a .love file)
- Replies: 278
- Views: 950590
Re: Distributing your games (making a .love file)
So, I have made a love file. I want to make it .exe. I tried this sentence within CMD: copy /b love.exe+SuperGame.love SuperGame.exe
However, where should I put my .love file and the love.exe? Alternatively, how do I specify the adress within the command line?
However, where should I put my .love file and the love.exe? Alternatively, how do I specify the adress within the command line?
- Mon May 04, 2015 4:37 pm
- Forum: Support and Development
- Topic: Distributing your games (making a .love file)
- Replies: 278
- Views: 950590