December 11, 2017, 10:54:34 PM
News: Hey, we have forums!
  Pages: [1] 2 3
Print
Author Topic: New Aquaria Wiki  (Read 41987 times)
ryos
Bit Bit
****
Posts: 57


View Profile
« on: January 12, 2009, 02:58:40 AM »

As per DangerMouse's request, here's a new thread about the new wiki. The old thread for the old wiki was here. Access the new wiki here. And, uh, have fun?
« Last Edit: June 28, 2009, 02:38:16 AM by Alec » Logged
Xiagan
Global Moderator
Dream Bit
**********
Posts: 1452


"Does absolution lie above the waves?"

xiagan@gmail.com
View Profile
« Reply #1 on: January 12, 2009, 05:39:18 PM »

Maybe you should change the name to "Aquaria Modding Wiki"? Or are there plans to include the normal wiki stuff too?
Sorry if this is already explained in another topic, since I'm not into modding I only read the releating topics from time to time...
« Last Edit: January 12, 2009, 05:42:21 PM by Xiagan » Logged

"Sire, I had no need of that hypothesis." (Laplace)

~ www.xiagan.net ~
Danger Mouse
Hero Bit
*********
Posts: 624


Shush.

3302048 dmousefan dangermouse
View Profile WWW
« Reply #2 on: January 12, 2009, 06:05:04 PM »


Thanks Ryos.
Logged
ryos
Bit Bit
****
Posts: 57


View Profile
« Reply #3 on: January 12, 2009, 06:32:28 PM »

I see little reason to limit the scope to modding, beyond avoiding stepping on the other wiki's toes. And if I were running the strategy wiki, I wouldn't mind an upstart with a broader scope competing for information...but that's me, and I'm willing to listen to reason. Do we know who started the strategy wiki? I'd love to hear what they think.
Logged
delve
Extra Bit
*****
Posts: 114



View Profile
« Reply #4 on: January 13, 2009, 06:40:12 PM »

Quote
(cur) (last)  22:03, 12 December 2007 Ixis (Talk | contribs) (New page: {{stub}} {{needinfobox}} {{needcat}} {{Header Nav|game={{subst:PAGENAME}}|num=0}} {{Infobox |title=Aquaria |image= |developer=Bit-Blot |publisher=Indie |released=12/07/07 |genre=Action Adv...)
(emphasis mine)

The first few main page edits are attributed to 'Ixis', a user that apparently doesn't exist at StrategyWiki (though may have at one point, I don't know enough about Wikis to say). However, there is certainly an Ixis here, though they appear not to have been active since Feb 08.

Personally, I've made a few edits on SW and contemplated several more. But I'm perfectly agnostic about it. If this community would rather dump all data into a single wiki I'm fine with that. I'm definitely not keen on replicating the data in a second location though, that would be obscene.
Logged
Particlese
Bit Bit
****
Posts: 85



View Profile
« Reply #5 on: January 15, 2009, 03:36:27 AM »

Thank you very much for this, Ryos!  I love all the function documentation, and I'll definitely be adding descriptions if no one beats me to it.  They were very nice to have last weekend while I was mucking about with Lua for the first time.

As for the content, I'd be happy either way.
« Last Edit: January 15, 2009, 03:40:19 AM by Particlese » Logged
Dolphin's Cry
Bit Bit
****
Posts: 61


View Profile
« Reply #6 on: January 15, 2009, 08:47:37 PM »

I see little reason to limit the scope to modding, beyond avoiding stepping on the other wiki's toes.
I see no problem in extending the new wiki beyond modding, but pragmatically thinking, I also see no reason to duplicate the information that is already available on StrategyWiki. It might even be a good idea to put a link to the Aquaria page on StrategyWiki on the main page, just so that visitors know it's there.
Logged

Can you hear the dolphin's cry?
delve
Extra Bit
*****
Posts: 114



View Profile
« Reply #7 on: January 15, 2009, 09:08:23 PM »

I've already done that. They get picky about external links there, so I made an external link page in the appendices that includes a link to the new one.
Unless they've deleted that too. I haven't looked today.  Huh?
Logged
Chibi
Dream Bit
**********
Posts: 1443


Deus Ex Aquaria


View Profile WWW
« Reply #8 on: January 16, 2009, 12:19:45 AM »

I can understand why they would be cautious about links - somebody could post a link to an infected or fake site.
Logged


Life is a sexually transmitted disease with a 100% mortality rate. [Click the signature for +1 health!]
delve
Extra Bit
*****
Posts: 114



View Profile
« Reply #9 on: January 16, 2009, 12:55:03 AM »

I think they're more concerned about 'style'. Basically they want external links in their own page I think. I assume they have reasons.
Logged
Particlese
Bit Bit
****
Posts: 85



View Profile
« Reply #10 on: January 18, 2009, 04:57:57 AM »

I like the new wiki, and I've added some info, but now I have some questions.  My edit caused the function to run beyond the edge of its allotted box on a 1280-wide screen in FireFox3, so I put in a carriage return and added some white space to make it more readable, since Lua doesn't seem to care about white space within function calls.  The function I did this to was setControlHint().

My questions after making the change are:
1.  For long functions like this, should we put in carriage returns, and if so, is there a characters-per-line limit we should go by, and should we put an ellipsis or something at the end of each broken line?  If Lua has a line-continuation character, that might be good to use so people can copy+paste+edit more directly.
2.  Is it okay to add white space like I did?  I know some languages are very picky, and I'm new to Lua, but spaces don't seem to mess up my function calls.
3.  If you refer to a function call in the text portion of a topic, should you write it like "myFunction", "myFunction()", or "myFunction(...)"?  In my case, I put the ellipsis there since calling it without parameters crashes Aquaria.  Not that it would have been very useful if it didn't crash, but still.
4.  Should optional parameters be indicated somehow in the function line?  For example:
Code:
setControlHint (string text,  [boolean leftButton], [boolean rightButton], [boolean middleButton],
               [number time], [string  texture],    [number  songID],      [number  scale])

setControlHint (string text[,  boolean leftButton[, boolean rightButton[, boolean middleButton[,
                number time[,  string  texture[,    number  songID[,      number  scale]]]]]]])
5.  Syntax highlighting would be nice, even just for indicating variable types, but I doubt it would be worth it to do it manually.  If you're willing and/or able, there's something like this that could be used, I think.  If it's a pain to add or you don't want it in for other reasons, don't worry about it.
« Last Edit: January 18, 2009, 05:45:31 AM by Particlese » Logged
Dolphin's Cry
Bit Bit
****
Posts: 61


View Profile
« Reply #11 on: January 18, 2009, 10:13:12 PM »

1.  For long functions like this, should we put in carriage returns, and if so, is there a characters-per-line limit we should go by, and should we put an ellipsis or something at the end of each broken line?  If Lua has a line-continuation character, that might be good to use so people can copy+paste+edit more directly.
Lua does not care about line breaks in most cases, so this is perfectly fine. There also is no line-continuation character, because Lua simply does not need one. (The cases where a line break is significant in Lua are rather esoteric.)

2.  Is it okay to add white space like I did?  I know some languages are very picky, and I'm new to Lua, but spaces don't seem to mess up my function calls.
Lua cares about spaces and tabs even less than it cares about line breaks. Adding white space is never an issue, leaving it out only in some cases. In particular, if you use .. (the string concatenation operator) to concatenate two number (they will be converted to strings implicitly), you may not leave out the white space between the first number and the .. operator:
Code:
1 .. 2 -- gives "12"
1..2 -- syntax error, as Lua considers the first . to be a part of the first number (1.).

3.  If you refer to a function call in the text portion of a topic, should you write it like "myFunction", "myFunction()", or "myFunction(...)"?  In my case, I put the ellipsis there since calling it without parameters crashes Aquaria.  Not that it would have been very useful if it didn't crash, but still.
I usually go with "myFunction" or - if I want to stress that I'm talking about a function - "myFunction()". If you want to use it in a script, you should look at the signature instead of just copying a reference from some explanatory text anyway.

4.  Should optional parameters be indicated somehow in the function line?
The practice so far has been to specify the default value of an optional parameter using the "Type name = value" notation. In cases where I wasn't sure about the default value, I have used a question mark ("Type name = ?").
Logged

Can you hear the dolphin's cry?
Guy
Bit Bit
****
Posts: 62


View Profile
« Reply #12 on: January 18, 2009, 11:24:29 PM »

I just tried signing up but I get a MediaWiki internal error.

Danger Mouse, you said you had copies of all the old stuff, have you put any of that up?
Logged
Particlese
Bit Bit
****
Posts: 85



View Profile
« Reply #13 on: January 19, 2009, 05:30:22 AM »

That clears up everything.  Thanks!
Logged
ryos
Bit Bit
****
Posts: 57


View Profile
« Reply #14 on: January 19, 2009, 07:32:39 PM »

5.  Syntax highlighting would be nice, even just for indicating variable types, but I doubt it would be worth it to do it manually.  If you're willing and/or able, there's something like this that could be used, I think.  If it's a pain to add or you don't want it in for other reasons, don't worry about it.

I installed that extension a while ago, based on feedback from Titch. Wink
Logged
  Pages: [1] 2 3
Print
Jump to: