First campaign javascript dissected
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: First campaign javascript dissected
Hmm, on lvl2 the timer is set to 4 hours too, even though it's wzscript and timer value is different 
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: First campaign javascript dissected
Per: i'm ready to commit the first level, more or less refactored to my liking, with docstrings for libcampaign, could you hang around in -dev some time today or tomorrow (or next weekend) to investigate any buildbot problems that i may accidentally cause, on the server side?
I should be available for pinging most of the time. And i think it shouldn't be hard; i added the relevant line to Makefile.am and to javascript.tex, and i guess it's enough. And then i guess i'd proceed on my own. And i guess i'd have to push it to master to get the docs used?
You do not have the required permissions to view the files attached to this post.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: First campaign javascript dissected
I mean, the server may fail to run autogen.sh properly, or something like that.
Compiling the documentation locally works well for me, to both pdf and html.
Or maybe i just push in a new branch and you merge it when ready to ...
Second level almost ready.
Edit: pushed d480fd0 and 9d6203e, into a separate branch.
Will make a new thread now, and probably a wiki page, for further discussion.
Compiling the documentation locally works well for me, to both pdf and html.
Or maybe i just push in a new branch and you merge it when ready to ...
Second level almost ready.
Edit: pushed d480fd0 and 9d6203e, into a separate branch.
Will make a new thread now, and probably a wiki page, for further discussion.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Goth Zagog-Thou
- Regular

- Posts: 1582
- Joined: 06 Jan 2007, 08:08
- Location: Delta Base
Re: First campaign javascript dissected
I'll get started on Mission 2 then. 
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: First campaign javascript dissected
Mission 2 is already done in the second commit, next step is the power module and the away mission. I'm preparing a wiki page now.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Goth Zagog-Thou
- Regular

- Posts: 1582
- Joined: 06 Jan 2007, 08:08
- Location: Delta Base
Re: First campaign javascript dissected
Hehe, nice, beat me to it. Very well, Mission 3 then. 
[EDIT] Are we using any elements from the prototype Libcampaign yet, or are we sticking to the items in the .pdf file?
[EDIT] Are we using any elements from the prototype Libcampaign yet, or are we sticking to the items in the .pdf file?
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: First campaign javascript dissected
We are using a *lot* of them. Actually, most likely *all* of them. And the PDF i posted is already outdated. Try to learn-by-example or see the code of the library for up-to-date documentation (or runAre we using any elements from the prototype Libcampaign yet?
Code: Select all
make javascript-doc
make javascript-doc-htmlMaps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
-
Goth Zagog-Thou
- Regular

- Posts: 1582
- Joined: 06 Jan 2007, 08:08
- Location: Delta Base
Re: First campaign javascript dissected
Yep, I was looking at your Cam1.js Refactor and I saw the include. I'll hop over to the new thread in a sec. That's the new Wiki entry. heh.
-
Per
- Warzone 2100 Team Member

- Posts: 3780
- Joined: 03 Aug 2006, 19:39
Re: First campaign javascript dissected
Sorry, I was off mountain hiking this weekend. I just had a look at your commits, and they look fine to me. Feel free to push to master.NoQ wrote:Per: i'm ready to commit the first level, more or less refactored to my liking, with docstrings for libcampaign, could you hang around in -dev some time today or tomorrow (or next weekend) to investigate any buildbot problems that i may accidentally cause, on the server side?I should be available for pinging most of the time. And i think it shouldn't be hard; i added the relevant line to Makefile.am and to javascript.tex, and i guess it's enough. And then i guess i'd proceed on my own. And i guess i'd have to push it to master to get the docs used?
(Not sure if campaign documentation should be in the same document as the js API, but that we can sort out later once we see the big picture clearer.)
-
NoQ
- Special

- Posts: 6226
- Joined: 24 Dec 2009, 11:35
- Location: /var/zone
Re: First campaign javascript dissected
Oh well, here goes nothing (:Feel free to push to master.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
-
Goth Zagog-Thou
- Regular

- Posts: 1582
- Joined: 06 Jan 2007, 08:08
- Location: Delta Base
Re: First campaign javascript dissected
Okee dokey. I'll wait for Buildbot to do the fresh build and I'll grab it.