0 Members and 1 Guest are viewing this topic.
"welcome to the world of computers, where everything seems to be based on random number generators"
wowow, looks great! Downloading it right now.
This was a fun game a while back. Glad it was ported and I like the static effect. You should add a color mode, since, after all, the PRIZM is a color calc
As for the global variables, I don't think I'll change those(I don't really know how, plus I'd probably end up screwing it up ).
local var = blahlocal var2
Quote from: Spenceboy98 on April 21, 2013, 08:15:05 amAs for the global variables, I don't think I'll change those(I don't really know how, plus I'd probably end up screwing it up ).When you declare the variables, just tag local on them. Like this:Code: [Select]local var = blahlocal var2
Quote from: flyingfisch on April 21, 2013, 04:27:13 pmQuote from: Spenceboy98 on April 21, 2013, 08:15:05 amAs for the global variables, I don't think I'll change those(I don't really know how, plus I'd probably end up screwing it up ).When you declare the variables, just tag local on them. Like this:Code: [Select]local var = blahlocal var2What difference will it make?
Quote from: Spenceboy98 on April 21, 2013, 07:19:54 pmQuote from: flyingfisch on April 21, 2013, 04:27:13 pmQuote from: Spenceboy98 on April 21, 2013, 08:15:05 amAs for the global variables, I don't think I'll change those(I don't really know how, plus I'd probably end up screwing it up ).When you declare the variables, just tag local on them. Like this:Code: [Select]local var = blahlocal var2What difference will it make?Well, for one thing, it will make running the program twice in a row not give Error: Not enough memory. Plus it could increase speed.
Quote from: flyingfisch on April 21, 2013, 09:07:09 pmQuote from: Spenceboy98 on April 21, 2013, 07:19:54 pmQuote from: flyingfisch on April 21, 2013, 04:27:13 pmQuote from: Spenceboy98 on April 21, 2013, 08:15:05 amAs for the global variables, I don't think I'll change those(I don't really know how, plus I'd probably end up screwing it up ).When you declare the variables, just tag local on them. Like this:Code: [Select]local var = blahlocal var2What difference will it make?Well, for one thing, it will make running the program twice in a row not give Error: Not enough memory. Plus it could increase speed.Would I do this with all the variables(ALL)?