Verge 3 Tutorials
Displaying 1-12 of 12 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
TomT64

Seeing as Verge 3 is just around the corner, do any of the developers want to send me a nice function list so I can get started on a tutorial? Also, whatever tools you have that are going to be used for CHRs and Maps would be helpful to this purpose. Thanks.

Posted on 2004-02-16 11:21:56

blues_zodiakos

I believe, from reading the Verge 3 Roadmap (in the general discussion forum) that the documentation for Verge 3 will be released at the same time as the preliminary release - you'll probably have to experiment instead until there is some more work done. However, you can learn quite a bit by downloading the source of the two main released demos, Just a Demo and Timeless and going through them. The main file you will want to look at is System.VC, as this is the uncompiled script that has the autoexec function - the first function that is called when verge executes. Going through that function and checking out all the things it calls is the easiest way to figure out what is going on for the time being, unless you are inclined to look at the documentation (is there any?) for Verge 2 and try to compare how they are different.

I think you can get both demos from the Verge 3 files section here on this site - if timeless isn't there yet, you can get it through a link in the general forum.

Posted on 2004-02-16 16:50:45

andy

Symbols ripped from the v3 executable.

I have no idea what they all do, or even how many arguments they expect, or of what type, though. You're on your own for that.

Posted on 2004-02-16 17:06:09

Overkill

Look at v3-vergec.txt, it tells enough info for all the non-map related functions you'll need (map/entity functions don't work yet). Also, looking at the code from the other demos can help.

[edit by mcgrue: closed an unclosed b tag.]

Posted on 2004-02-16 20:49:09 (last edited on 2004-02-16 21:57:05)

rpgking

Hmm.. Music Start Cache, Music Stop Cache, Suspend Music, Resume Music... I wonder if this is for starting up music from specific points like modposition in Verge1... Or maybe I'm way off ;)

Posted on 2004-02-16 22:49:10 (last edited on 2004-02-16 22:50:43)

Omni

Er...where'd you get that v3-vergec.txt file? I've got Timeless, Pulser, and Zaril's demo, and it's not in any of them. I can't find it in the V3 files section either.

Posted on 2004-02-16 23:19:14

TomT64

I believe this was a "leaked" file. Anyway check out my textbox demo.

Also I should mention I'm going to have a real tough time making any sort of advanced tutorial with the following quirks in V3:

-No floating points
-No local structs or arrays
-No passing structs or arrays as variables to a function
-No returning structs or arrays from a function

Are any of these "features" going to be reversed?

Posted on 2004-02-17 23:02:27

zeromus

that would be nice wouldnt it; probably not; probably not; probably not

there are other priorities

with proper mental adjustments, the last 3 are not problems anyway

Posted on 2004-02-17 23:09:04

zeromus

Look at v3-vergec.txt, it tells enough info for all the non-map related functions you'll need (map/entity functions don't work yet). Also, looking at the code from the other demos can help.

thanks, but i could have told you that

Posted on 2004-02-17 23:10:10 (last edited on 2004-02-17 23:11:54)

TomT64

The problem is creating libraries that are uber-simple. Even a textbox can become a tedious working given the non-local and non-returnable nature of arrays and structs.

Posted on 2004-02-17 23:11:19

vecna

Several things in this thread.
Yes, if you have "v3-vergec.txt", that is a leaked file. It is not intended to be used.

I DID upload a version that does apply to the release EXEs. You can find it here.

You'll note that the music API has changed. Basically the only functions that are the same are PlayMusic() and StopMusic(). The SFX and advanced music interfaces are not released as there is no v3 EXE released yet that uses them. Everything that is not in the v3vergec.txt uploaded to my site is subject to change (and some of that still is).

Please keep in mind that V3 is NOT DONE. If it was complete there would official zips on the site with tools and docs and a packin game. There isn't. We have encouraged people, to some degree, to check things out, because there is a lot you CAN do in V3 as it stands. But it is by no means done.

As for missing features being "reversed", its not like these are features that V2 and we just took them out because we didn't like them. However, again, V3 is not done, and even after the first official release, it will continue to evolve. Our release strategy with V3 is more like V1 than V2 (if anyone is here that remembers V1 releases - they started out with a fairly limited functionality, and had frequent releases that added what was missing) so even if a feature is not present in the first official release of V3 does not mean that it's not planned. To answer specific issues, floats probably will be added - later on down the line. The others may be possible, again, later, but are not presently planned. The new V3 compiler is a LOT more extensible than V2 VCC, but it has never been my intention to rival other full programming languages. It IS a scripting language. And I guarantee that most of the things you could do with passing structs, you can do EASILY without needing to do that - you just have to change the way you're thinking about the problem a bit. I suppose with everyone these days being trained on Java and other OO languages its not surprising that procedural solutions don't come naturally to some people... but this is basically a "retrogaming" platform, after all.

Posted on 2004-02-17 23:49:54

TomT64

Yeah zero set me straigth on a couple of ways to fix my specific problem. However, I stand by feeling that those features being added would be a great help. No big deal without though, right now.

Posted on 2004-02-18 02:50:45


Displaying 1-12 of 12 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.