JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   JCS & Scripting (http://www.jazz2online.com/jcf/forumdisplay.php?f=5)
-   -   JJ2 AngelScript Presets! (http://www.jazz2online.com/jcf/showthread.php?t=19491)

Jerrythabest Feb 28, 2013 10:09 AM

From my experience bitwise operators always come last, so you should always use parentheses around those in these situations. (Haven't tested.)

EDIT: Read below.

Seren Feb 28, 2013 11:43 AM

Here's the manual. The parentheses aren't necessary.

Jerrythabest Feb 28, 2013 02:06 PM

Hey, interesting. Apparently I was wrong. I'll edit my post to reduce confusion.

Seren May 6, 2013 08:05 AM

I think the code snippets section should be divided into two categories based on whether they are meant for level designers or coders. The former usually need ready, specific scripts that might only have a set of values to be modified, while the latter require "libraries", i.e. sets of enums, classes and functions that help them avoid reinventing the wheel. The difference can be compared to that between a level editor and a library. Currently most, if not all of the snippets belong to the designer-friendly category (with Grytolle's triggar zones somewhat standing out due to necessity to write a short piece of own code), but it's partly because I don't want to create a mess there. If any level makers come there for presets I imagine they would be easily confused by scripts that promise everything but do nothing.

Jerrythabest May 6, 2013 12:10 PM

Yes, I agree. Sounds very reasonable.

Stijn May 7, 2013 02:57 PM

Well, there's tags, for now. I might make explicit categories if people would actually upload more scripts :P

cooba Sep 12, 2013 06:36 AM

Have you always wanted a trigger crate to do more cool stuff than just changing a trigger, but you've felt the code was pretty ugly, and then wished for something like onCrate()?

Here's pretty much it:

http://www.jazz2online.com/snippets/...ashing-a-crate

cooba Oct 20, 2013 06:01 AM

But Violet, how do I flip tiles vertically?

Jerrythabest Oct 20, 2013 07:31 AM

Now we finally have a truly valid reason for replacing JCS with MLLE in the next release :p

Treylina Oct 20, 2013 01:01 PM

In that case, MLLE should be made 1.24 compatible. Or is it already? I can't be bothered to look through the entire thread (nor can I find it anymore).

In the case of MLLE vs webJCS, I don't like using webJCS much, it's too intensive on my computer. It's only good for live collaberations.

Violet CLM Oct 20, 2013 01:06 PM

One of MLLE's big strengths is that it's everything-compatible, including Battery Check, AGA, 1.10o, and 1.00g/h. :P It's big weaknesses are that it's got some big bugs and isn't currently available for download.

Jerrythabest Oct 20, 2013 01:11 PM

... And that it's lead developer is suffering from another project that is taking up all his time :)

Love & Thunder Oct 21, 2013 04:19 PM

I quite agree with Treylina about MLLE and WebJCS, and -- in case anyone's curious and has forgotten -- the MLLE thread is called "Playing catchup with DJazz".
(Also, if anyone wants it and Violet's okay with it, I could upload the version I have installed on this computer to my public Dropbox.)


All times are GMT -8. The time now is 06:48 PM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online