Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

WebJCS

Reply
 
Thread Tools
Grytolle Grytolle's Avatar

JCF Member

Joined: Sep 2004

Posts: 4,126

Grytolle is a forum legendGrytolle is a forum legendGrytolle is a forum legend

Dec 17, 2011, 05:39 AM
Grytolle is offline
Reply With Quote
pwn.
__________________
<center></center>
Ktos.

JCF Member

Joined: Oct 2010

Posts: 78

Ktos. is doing well so far

Dec 17, 2011, 01:27 PM
Ktos. is offline
Reply With Quote
Oh, thats looking interesting, but that level could use some eyecandy. Maybe I'll try to check if you are doing anything sometimes. Also, for some reason my WebJCS doesn't work properly, I mean, I can't open it via shortcut. It says that it can't find specified path(Even when I specified correct path in settings.ini). Is that possibile that this program can't read some specific letters like, for example, polish "ś"?

Also, how to force that thing to save in my jj2 directory(I have got only "save as" option available)? Bah.


Oh, I had to edit one more time because yes, this program can't read polish characters.

"B" key doesn't work with 200% zoom.

Last edited by Ktos.; Dec 17, 2011 at 02:40 PM.
EvilMike EvilMike's Avatar

JCF Member

Joined: Jun 2001

Posts: 3,478

EvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHART

Dec 17, 2011, 03:03 PM
EvilMike is offline
Reply With Quote
Quote:
Originally Posted by DJazz View Post
Me, Cirno and Sir. Ementaler made a screencast of realtime level collaboration in WebJCS! Enjoy!

This is really cool, makes me want to get back into jj2 level making.
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Dec 20, 2011, 11:10 PM
djazz is offline
Reply With Quote
Textured background!

Coming soon!

Only works for you with WebGL support.
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler
Sean Sean's Avatar

JCF Member

Joined: Oct 2010

Posts: 720

Sean is a forum legendSean is a forum legend

Dec 20, 2011, 11:58 PM
Sean is offline
Reply With Quote
And here we were, thinking WebJCS was finished.
__________________
drop by my SoundCloud or something if you want, it's my life's pride
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Dec 21, 2011, 12:10 AM
Violet CLM is offline
Reply With Quote
What does that do to the FPS? I recall it slowing things down fairly significantly in WebJJ2.
__________________
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Dec 21, 2011, 02:40 AM
djazz is offline
Reply With Quote
Quote:
Originally Posted by Violet CLM View Post
What does that do to the FPS? I recall it slowing things down fairly significantly in WebJJ2.
That was 2D context, not hardware accelerated. WebGL is OpenGL and it runs on your GPU. Alone, the textured background get 60 fps
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Dec 21, 2011, 08:55 AM
Violet CLM is offline
Reply With Quote
Excellent.
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Dec 23, 2011, 07:34 AM
Love & Thunder is offline
Reply With Quote
When I open it, it doesn't let me select any Tilesets, and any levels I try to open with it say "Tileset not found". I set it up properly and everything.
__________________
Sean Sean's Avatar

JCF Member

Joined: Oct 2010

Posts: 720

Sean is a forum legendSean is a forum legend

Dec 23, 2011, 07:43 AM
Sean is offline
Reply With Quote
Or did you? Are you running an old version? Because I had that problem once and DJazz fixed it with a new update. Granted, I don't actually know what your settings.ini file contains.
__________________
drop by my SoundCloud or something if you want, it's my life's pride
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Dec 24, 2011, 10:20 AM
Love & Thunder is offline
Reply With Quote
Quote:
Originally Posted by My "settings.ini" File
[server]
port=8000
; Autoclose tries to detect if the client closes.
; In that case, the server closes too
; Set to false to disable (good for debugging, bad for collaboration)
autoclose=true
; Set to true to enable collaboration
; You need to forward the port to your computer
; with your router. Then give your external IP
; to others to join. For example:
; http ://123.345.567.789:8000/
collaboration=false

[folders]
; Paths are looked in the order numbered
; Start on 1, then 2 and so on...
; If two files found have the same filename,
; the first file found will be used.
;
; Note: When you run your level, make sure
; the tileset is in the same folder as your Jazz2.exe
1="C:\Program Files\Jazz Jackrabbit 2 - The Secret Files"
; Wine (Linux) path (replace with your username):
; 1=/home//.wine/drive_c/Games/Jazz2/

[paths]
; The path to the Jazz2 executable to run
; In my case, I use JJ2+
; %1 gets replaced by the level's filename upon run.
run="C:\Program Files\Jazz Jackrabbit 2 - The Secret Files\Jazz2.exe" %1
; For Wine (Linux), replace with your username.
; run="/home//.wine/drive_c/Games/Jazz2/Jazz2+.exe" %1
;
; The path to Google Chrome, used to load up the app automaticly
; The following works in Windows Vista and Windows 7, not Windows XP
chrome="C:\Users\Robo4900\AppData\Local\Google\Chrome\Appl ication\chrome.exe"
; chrome=
; Following command is for Linux. Short and simple, isn't it?
; chrome=google-chrome
That is what my settings.ini file says. Enjoy. Oh, and WebJCS is in "C:\Program Files\WebJCS", if that's any help.

EDIT: Almost forgot to mention that I'm running the latest version.
__________________

Last edited by Love & Thunder; Dec 24, 2011 at 10:22 AM. Reason: Added a space between http and :// to prevent JCF autolinkifying it(If that's even a word).
Sean Sean's Avatar

JCF Member

Joined: Oct 2010

Posts: 720

Sean is a forum legendSean is a forum legend

Dec 24, 2011, 10:40 AM
Sean is offline
Reply With Quote
The easiest thing to do would be to put WebJCS in your Jazz 2 folder. I'm not sure if it actually changes anything, but mine works fine and WebJCS is in the same folder. I don't really see any problem with it either. Maybe DJazz will be able to answer your question.
__________________
drop by my SoundCloud or something if you want, it's my life's pride
cooba cooba's Avatar

JCF Veteran

Joined: Jan 2004

Posts: 7,812

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Dec 24, 2011, 10:44 AM
cooba is offline
Reply With Quote
I had this problem too but now it works just fine and I don't remember how I got the error in the first place.

(This is the least useful post ever but at least you can look at my sig)
Jgke Jgke's Avatar

JCF Member

Joined: Sep 2006

Posts: 974

Jgke is an asset to this forumJgke is an asset to this forum

Dec 24, 2011, 11:09 AM
Jgke is offline
Reply With Quote
; 1=/home//.wine/drive_c/Games/Jazz2/
DJ <3
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Jan 5, 2012, 05:21 AM
djazz is offline
Reply With Quote
I'm just toying around with the tile cache. At the moment you can't use this like Reworder, but I'm getting there...
This only previews how the tilecache will look like upon saving.
You can toggle it on/off from the Settings dialog.

Click for large image:
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 5, 2012, 12:09 PM
Toni_ is offline
Reply With Quote
I'm not familiar with "Reworder". Could you explain me what is this about?
Jgke Jgke's Avatar

JCF Member

Joined: Sep 2006

Posts: 974

Jgke is an asset to this forumJgke is an asset to this forum

Jan 5, 2012, 12:15 PM
Jgke is offline
Reply With Quote
Reworder is a program that allows you to, for example, use triggers on foreground layers.
Ask again if you want technical details.

Last edited by Jgke; Jan 5, 2012 at 01:52 PM. Reason: todo: start thinking while posting
Violet CLM Violet CLM's Avatar

JCF Éminence Grise

Joined: Mar 2001

Posts: 10,978

Violet CLM has disabled reputation

Jan 5, 2012, 12:23 PM
Violet CLM is offline
Reply With Quote
Quote:
Originally Posted by Jake View Post
Reworder is a program that allows you to, for example, use triggers on foreground scenery layers.
Less ambiguous.

Its main use is being able to use any animated tile as trigger scenery, even if it's in another layer or already has another event on it. It also works with destruct scenery, buttstomp scenery, collapse scenery, etc., but trigger scenery is almost certainly most common. However, it has a very limited interface, relies on awkward external files, and its function would better be properly integrated into a level editor.
__________________
EvilMike EvilMike's Avatar

JCF Member

Joined: Jun 2001

Posts: 3,478

EvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHART

Jan 5, 2012, 07:00 PM
EvilMike is offline
Reply With Quote
Cool webjcs is adding support for this. Usually you have no reason to do such low-level editing, but it can be handy for a few tricks. I used tile cache trickery in a level once (Light Switch) and it wasn't really easy, even with Reworder (save the level in jcs = you gotta run reworder all over again).
Jgke Jgke's Avatar

JCF Member

Joined: Sep 2006

Posts: 974

Jgke is an asset to this forumJgke is an asset to this forum

Jan 6, 2012, 02:59 AM
Jgke is offline
Reply With Quote
EM, did you know that Reworder has macros?
EvilMike EvilMike's Avatar

JCF Member

Joined: Jun 2001

Posts: 3,478

EvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHARTEvilMike is OFF DA CHART

Jan 6, 2012, 05:55 AM
EvilMike is offline
Reply With Quote
Quote:
Originally Posted by Jake View Post
EM, did you know that Reworder has macros?
Yeah but they are extremely cumbersome.
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Jan 6, 2012, 08:12 AM
Love & Thunder is offline
Reply With Quote
This sounds so awesome. It would be nice to be able to use crazy awesome things like what you've just said. In a level I'm making, I need something in the foreground(Layer 3) to change(Trigger Screnery via a Trigger Crate), but I can't figure out how to get it working.
__________________
Jgke Jgke's Avatar

JCF Member

Joined: Sep 2006

Posts: 974

Jgke is an asset to this forumJgke is an asset to this forum

Jan 6, 2012, 09:43 AM
Jgke is offline
Reply With Quote
Yeah, you have to use Reworder to do it. It's a bit complicated, you can PM me if you can't figure out the readme.
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Jan 6, 2012, 08:35 PM
Love & Thunder is offline
Reply With Quote
No thanks, I'll wait for the WebJCS implumentation. I don't want to have to open up Reworder every time I save/edit my level. XD
__________________
Toni_

JCF Member

Joined: Oct 2011

Posts: 193

Toni_ is doing well so far

Jan 8, 2012, 07:37 AM
Toni_ is offline
Reply With Quote
Thank you guys. Good job DJazzy!
Sean Sean's Avatar

JCF Member

Joined: Oct 2010

Posts: 720

Sean is a forum legendSean is a forum legend

Jan 25, 2012, 09:31 AM
Sean is offline
Reply With Quote
Hey DJazz, maybe you could put in an 'X' in the animation window that functions the same as JCS's? I'm running Windows off a Mac using Boot Camp, and as such I have no 'Delete' key assigned, which forces me to save the level, copy and paste it in my Jazz folder, delete the tile in normal JCS, then save and reopen in WebJCS. Quite cumbersome.
__________________
drop by my SoundCloud or something if you want, it's my life's pride
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Mar 27, 2012, 03:05 AM
djazz is offline
Reply With Quote
Quote:
Originally Posted by Sean View Post
Hey DJazz, maybe you could put in an 'X' in the animation window that functions the same as JCS's? I'm running Windows off a Mac using Boot Camp, and as such I have no 'Delete' key assigned, which forces me to save the level, copy and paste it in my Jazz folder, delete the tile in normal JCS, then save and reopen in WebJCS. Quite cumbersome.
Added the feature on my hosted WebJCS, will soon release new version.

More features for next version:
  • You can disable textured background, without editing layer 8.
  • You can take "screenshots" of the parallax view. See image below.
  • Added a better FPS counter in bottom right corner of parallax view.



Haven't been working on WebJCS for quite a while, as I'm busy with other stuff.
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Nov 29, 2012, 03:36 PM
djazz is offline
Reply With Quote
Was too long ago I updated WebJCS. The current code is bad structured, so I don't want to continue on it. Therefore, I started from scratch, AGAIN! This must be the 5th JCS I'm making or so. Have a teasing screenshot:



It's using node-webkit so it will have direct access to your filesystem, if run as a native app. You don't have to install Google Chrome/Chromium to use it! It is running in it's own chromium-based webkit enviroment.
I will make it so you can use it in the browser, like it is now, with collaboration. At the moment it's only layout and scrollbars, nothing fancy yet.

I will put the code on github soon, on this URL: https://github.com/daniel-j/webjcs/
At the moment there's an experimental webjcs version there but it'll get replaced by this new one.
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Nov 30, 2012, 04:55 AM
Love & Thunder is offline
Reply With Quote
That sounds awesome! Hopefully, you'll be able to get it stable and working soon.
__________________
KRSplat KRSplat's Avatar

JCF Member

Joined: Mar 2001

Posts: 4,942

KRSplat is a forum legendKRSplat is a forum legend

Dec 1, 2012, 08:44 AM
KRSplat is offline
Reply With Quote
Quote:
Originally Posted by DJazz View Post
Btw, what level is this? It looks ing great
__________________
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Dec 1, 2012, 09:38 AM
djazz is offline
Reply With Quote
@KRSplat

http://www.youtube.com/watch?v=zwpZVtzSLPs

http://www.jazz2online.com/downloads...-tower-collab/
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler
Ninja

JCF Member

Joined: Apr 2002

Posts: 2,512

Ninja is an asset to this forumNinja is an asset to this forum

Dec 13, 2012, 06:10 AM
Ninja is offline
Reply With Quote
I'm extremely inactive these days, but the fact that this WebJCS thing exists is fucking amazing to me. Looks great, good work.
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Dec 13, 2012, 06:16 AM
djazz is offline
Reply With Quote
Thanks Ninja


I haven't got much free time at the moment to work on WebJCS etc.. would be cool if someone want to help out programming, all code is on github!
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler
Falcury

JCF Member

Joined: Nov 2005

Posts: 65

Falcury is doing well so far

Mar 16, 2013, 09:41 AM
Falcury is offline
Reply With Quote
I tried out WebJCS recently and I must say, I'm very much impressed with the program! I'm hoping to use it for a small collaboration project, but we're having some technical difficulties getting it to work properly...

WebJCS won't let us save levels. When we try, it just endlessly hangs on "Saving level...". It doesn't matter whether collaboration mode is enabled. We're both on Windows 7 using the latest version of Chrome. What are we doing wrong? Is anyone having the same issues?
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Mar 18, 2013, 06:44 AM
djazz is offline
Reply With Quote
Quote:
Originally Posted by Falcury View Post
WebJCS won't let us save levels. When we try, it just endlessly hangs on "Saving level...". It doesn't matter whether collaboration mode is enabled. We're both on Windows 7 using the latest version of Chrome. What are we doing wrong? Is anyone having the same issues?
Does this work? It works for me: http://djazz.mine.nu:8010/

I have forgot to update the j2o/github version and only updated the live version. I recall that newer Chrome versions have a new API for creating binary files, and that's probably the issue you're facing. I have uploaded the most recent code to j2o, it should work: http://www.jazz2online.com/downloads/6796/webjcs/

I really want to rewrite WebJCS from scratch because of the bad structured code it's based on (the main file is almost six thousand lines long).
__________________
WebJCS 2 (new and in progress)
WebJCS 1 (old but complete)
SGIP Simple Games in Progress list
Level Packer v2 - With a GUI!
PHP Tileset Compiler

Last edited by djazz; Mar 18, 2013 at 07:12 AM.
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Mar 19, 2013, 08:18 AM
djazz is offline
Reply With Quote
Here's a little dilemma I'm facing:

Should WebJCS be accessible through a web browser like any other web-app/webpage?
Or should it be something you install on your computer, that will have direct access to your local J2L/J2T files?

The former would mean it will work as it does today, it runs on a small self-contained webserver and is accessible over the web using a web browser (Chrome/Firefox supported).

The latter, more native approach, would mean better offline support. Only one program to keep track of, no extra webserver. I could implement proper Save/Save as functionality and it will be a cross-platform program (packaged in an .exe, if possible).
It will be based on node-webkit. This in turn would increase the size of WebJCS to about 50-70 MB, because of all the webkit dependencies. It will still be "WebJCS", because it's built with the web technologies (HTML5, node.js, CSS3..)
I have also heard that some are afraid to use Chrome/Chromium only to use WebJCS, because they are afraid of Google. This would also solve that issue.
Here's a screenshot of how the "native" WebJCS could look like:


The current development (latest) code for WebJCS 2.0 uses the classic webserver method:
https://github.com/daniel-j/webjcs/tree/dev
Live demo: http://djazz.mine.nu:8011/
It looks like this atm:


New features that I'd like to see in WebJCS v2.0:
  • WebGL rendering (if supported)
  • Improved speed/performance
  • Cleaner code, easier to extend/modify
  • Improved collaboration
  • To be continued...

I'm also pretty busy at the moment with studies/college, so I don't have as much time to work on this project as I would like to. The current WebJCS release (v1.3.3) is quite sluggish/slow, because it isn't optimized for speed.
I am working on this all by myself. Any help would be highly appreciated.

What do you think? What would you use (native/web)?
Any new features that you would like to see in v2.0?
Stijn Stijn's Avatar

Administrator

Joined: Mar 2001

Posts: 6,964

Stijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to beholdStijn is a splendid one to behold

Mar 19, 2013, 10:25 AM
Stijn is offline
Reply With Quote
It should be available via web, as it's clearly built with technology meant for web and packaging it in such a way that it works natively is, as you say yourself, not the most convenient thing for both developer and user. If you want to make a native app, it seems to me you'd be better off using a programming language/development environment geared to that.
Love & Thunder Love & Thunder's Avatar

JCF Member

Joined: Sep 2011

Posts: 1,101

Love & Thunder has disabled reputation

Mar 19, 2013, 01:41 PM
Love & Thunder is offline
Reply With Quote
I'm with Stijn.
Although it would be nice to have a native program that is like JCS but better, WebJCS would probably work the best on the web.
__________________
djazz djazz's Avatar

JCF Member

Joined: Feb 2009

Posts: 257

djazz is OFF DA CHARTdjazz is OFF DA CHARTdjazz is OFF DA CHART

Mar 20, 2013, 02:42 PM
djazz is offline
Reply With Quote
I've merged the user interface from the "native" version with the web version.

You may notice some changes from the traditional JCS:
The select box for Tile Type, Events, Mask and (none) have been replaced with four toggle buttons, Image, Mask, Tile Type, and Events. If both Image and Mask buttons are pressed down, you will get the masked view but with the image visible above it, intersected with the mask. It fades when you switch the view See below or try the demo!
Todo next: a class/manager for the layer view.

Live demo: http://djazz.mine.nu:8011/

JangoCF

JCF Member

Joined: Jun 2008

Posts: 65

JangoCF is doing well so far

Jan 12, 2015, 07:44 PM
JangoCF is offline
Reply With Quote
Hey DJazz,

Looks like a sweet program from what I've seen so far. Have looked at some videos. Pretty gud stoof.

Can't get logging in to work. The instant I assign myself a name, the console spits out the message "JangoCF (Shrooblord) left: Connection dropped by remote peer." Do you have any ideas on what could be causing this?
__________________
Shrooblord
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 12:24 PM.