Skip to main content

News

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - DaVince

31
Articles / DaVince's scripting tutorial
For Sphere and/or JavaScript newbies: this tutorial is written for you guys! 8)

Here it is.

I improved it. Well, most of it. I rewrote some sections and a bunch of sentences so it's hopefully more clear and accurate than before. I formatted some examples and other stuff.

Also, I got off my lazy ass and wrote the tutorial on objects. I tried taking an approach where an example is followed. It only teaches the basics, but the basics should be good enough for this tutorial. Could anyone read through it and see if I haven't made any dumb mistakes (or suggest improvements)? Some stuff I should really, really add?
32
Site Comments / Wiki: a way to support the examples
I recently added the columns template to the wiki, which means we can now put stuff on the wiki in columns.

The advantage of this is that you can, for example, put a block of code and some comments about the code side-to-side in code examples. For example, in this Font.drawText article. The code is shown on the left, the supporting comments for each line are neatly separated and shown on the right.

I was thinking - is it an idea to do it like this on all the API pages with examples? It seems a bit more illustrative to do that.
33
Sphere General / Sphere game launcher talk
(This topic has been split off from this: http://forums.spheredev.org/index.php/topic,96.0.html)

(After finding out the startup game couldn't reach the files I wanted to reach...)
Bleh. Well, that's too bad. At least the startup game should have been able to.

I'm thinking of writing something Wx-based instead, then. When I get the time.
34
Script Support / How to get to the Sphere root?
I could have sworn that / would get you the root directory, but GetFileList() doesn't seem to like it (in both 1.5 and 1.6)... It'll just say this:

Code: [Select]
Invalid path: '/'


Doing some tricks with ../../ etc. gives me the same issues. Anyone know how to get there? I'm trying to make a new startup game that loads icon.png files from game dirs, but I just can't seem to get to the files... I even looked at the old Sphere 1.1 startup game and it didn't help whatsoever.
35
It's back! Well, kind of. Things are still being uploaded (and info.txt files are being added to them first).

Download Sphere games, releases and resources here

Short URL: http://tinyurl.com/spheredownloads
36
Site Comments / The main site
http://www.spheredev.org/

"Coming soon!"

But there are forums now! Could the main domain have a little link to that, maybe? And maybe the Wiki (though it's less ready than the forums)?
37
GMail thinks that Spherical emails are spam. It should be obvious why if you check the attached screenshot... The addresses mismatch or they're not verified to belong to each other or whatever. This should be fixed.
38
Site Comments / Spherical Wiki
I figured it would be a good idea to make a new thread regarding discussion of the new wiki.

To start out, I salvaged and copied over the function reference page from the old wiki (thank you, WayBackMachine!):
http://wiki.spheredev.org/Functions

Also started porting over my tutorial, though the subpages which contain the bulk of the content hadn't been cached so I have to manually restyle everything (will finish this later):
http://wiki.spheredev.org/DaVince_scripting_tutorial