Search found 4 matches

by fwoop
Sat Jun 25, 2011 10:28 am
Forum: Games and Creations
Topic: CCG: Gangrene
Replies: 11
Views: 13280

Re: CCG: Gangrene

Nice game!
Some bugs:
1) Plagueflies tooltip says +2 plague, where the effect is actually +3.
2) Diversion tooltip says requires 3 supply, but you can play it with less, even 0 supply.
by fwoop
Mon Oct 04, 2010 1:16 am
Forum: General
Topic: math.floor()
Replies: 21
Views: 5314

Re: math.floor()

In layman terms, Floor cuts all the decimal rubbish off the end. Sometimes called truncation.

examples:
floor(3.14159) returns 3
floor(4.99999998) returns 4
floor(5) returns 5
by fwoop
Sat Oct 02, 2010 10:57 pm
Forum: Games and Creations
Topic: LoveWars prototype/demo
Replies: 34
Views: 8976

Re: LoveWars prototype/demo

Interesting. I hadn't thought of doing that. I just implemented it and I have to agree, the levels are now far easier to edit by hand. The only potential pitfall is that it's now harder to have more than 36 tiles in a tileset. I hope that won't be a problem in the project I'm using it for. It can b...
by fwoop
Fri Oct 01, 2010 9:17 pm
Forum: Games and Creations
Topic: LoveWars prototype/demo
Replies: 34
Views: 8976

Re: LoveWars prototype/demo

spirulence, if you use lua's double square bracket notation for strings, then you can get a nicer looking way to represent your levels: local level = [[ ........................ ........................ ........................ ........................ ....................1111 .........................