Page 7 of 7
Re: Proto-RTS
Posted: Fri Jun 11, 2010 12:03 am
by Robin
Jasoco wrote:Occasionally "self.lifetime" is being passed as empty.
Nope, it means self.lifetime < 5.002445.*
Depending on context, it could probably be replaced with
Code: Select all
and (self.lifetime < 5.002445 or math.random(self.lifetime / 10) == 1) then
or something
*Value found by experimentation: math.random(5.002445 / 10) is the highest value that errors
Re: Proto-RTS
Posted: Fri Jun 11, 2010 12:23 am
by Jasoco
Hmm, yeah. I noticed that the only time the game ran, the number being printed (Via my added print() line) was always 6 or higher.
Re: Proto-RTS
Posted: Fri Jun 11, 2010 3:42 am
by Geti
Huh, cool, that's easy to fix. it just means that math.random() is getting a number that it "perceives" as 1, and when you only feed math.random() one number it treats the other index as 1, therefore there is no interval. Will do it tonight I hope.
The game takes so long to load because of the map generation process. You get a nice readout in the console if you run it from a CLI, and in windows.
Re: Proto-RTS
Posted: Fri Jun 11, 2010 5:50 am
by bartbes
Title of this bug report: "math.random randomly crashes"
Re: Proto-RTS
Posted: Sat Jun 12, 2010 6:05 am
by Geti
added a version with embedded windows binaries for the lazy ones out there
same drop :
http://drop.io/tr0fk4d
also fixed that bug
Re: Proto-RTS
Posted: Sat Jun 12, 2010 7:08 am
by Lap
I think the main love page should have a screenshot from this and Ten-Second War to showcase what can be made with love. This is a great project.
Re: Proto-RTS
Posted: Sat Jun 12, 2010 8:47 am
by Geti
Lap wrote:I think the main love page should have a screenshot from this and Ten-Second War to showcase what can be made with love. This is a great project.
Wow, that means a lot man!
cheers!
Re: Proto-RTS
Posted: Sat Jun 12, 2010 9:52 am
by bartbes
Lap wrote:I think the main love page should have a screenshot from this and Ten-Second War to showcase what can be made with love. This is a great project.
I've been telling rude and thelinx we need newer screenshots, I completely agree with you.
Re: Proto-RTS
Posted: Sun Jun 20, 2010 2:01 pm
by Virox
I'm glad to see this project is still active. Looking forward to further developments!
Re: Proto-RTS
Posted: Wed Jun 23, 2010 4:31 am
by Geti
Virox wrote:I'm glad to see this project is still active. Looking forward to further developments!
I'm working on it on and off (mostly off at the moment, I have a lot of other stuff to do) but the next thing planned is some form of GUI for more casual players, and then likely some optimisation. Glad you're enjoying it.