Aug 9, 2009, 10:11 PM | ||
Online JCS level editor [moved from JJ2+]
Quote:
![]() dunno if is possible to make this.. ![]()
__________________
![]() Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment. |
Aug 12, 2009, 03:36 PM | |
It's possible to make an online level editor that runs on a web page, however, if you use common web techniques (AJAX) the resulting load is too high for most webservers. JAVA or something might be a solution, but who wants to use THAT? (as a client, not as a coder) I think most luck would come from hooking up jcs.exe with something that changes its memory or shares it with other players, as someone has already done. I think the project was abandoned, unfortunately.
__________________
Interesting Jazz-related links: Thread: Gameplay Theories - Thread: Make Up Your Own Gametype |
Aug 12, 2009, 11:49 PM | |
What about this:
I working on a web-based JCS using JavaScript and PHP, it's not much preassure on the server, because the PHP is generating the tileset image, level data only, Ajax is only needed if you want to save. You can put tiles in the lvl, nothing more yet. No save feature because I don't know how to make the 2D arrays into J2l words.
__________________
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 |
Aug 12, 2009, 11:58 PM | ||
Quote:
![]()
__________________
![]() Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment. Last edited by DarkB; Aug 13, 2009 at 12:30 AM. |
Aug 13, 2009, 01:02 PM | |
Well, that's the whole point: you need to keep open connections to send your locally-made-changes to the server or another client. If you are interactively JCSing with someone else you'll either have to connect the clients directly, or put your server under a heavier load.
__________________
|
Aug 13, 2009, 01:35 PM | |
Here is a screenshot of the web-based JCS: http://djazz.mine.nu/files/webJCS.png
![]()
__________________
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 |
Aug 13, 2009, 07:00 PM | ||
Quote:
|
Aug 13, 2009, 09:53 PM | |
Put a upload function, people can upload tilesets, but the sets need to be admitted by an admin, so that spam-sets not get published (the JJm music uploader works the same way). Or let people enter an url to the ZIP/J2T files, maybe from J2o?
__________________
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 |
Aug 14, 2009, 05:15 AM | |
Why not plug into Jazz2Online somehow to get the tilesets? That way you only get approved ones.
I'm interested in testing this - I'm an experienced webdeveloper so I might have suggestions. What I'm wondering is, how is it collaborative? The problem with AJAX isn't keeping a connection open (the point of AJAX is that it doesn't) but that if you want realtime collaboration you need a huge amount of requests/updates to the server. That was what broke my tool: it used one request per tile. That'd bring the server down in no time. Browser protection prevents you from opening a connection using javascript to another client. How is the level editor collaborative if it only uses AJAX while saving? Is it collaborative the way google docs is? You save a file, someone else can open it?
__________________
Interesting Jazz-related links: Thread: Gameplay Theories - Thread: Make Up Your Own Gametype |
Aug 14, 2009, 06:05 AM | ||
So, this found I when I looked out the new html5 standard coming (hopefully) in a couple of years, but some features already exists (FF 3.5, more maybe):
HTML 5 for a better Web Some parts of the site: Quote:
![]() EDIT1: Shouldn't this be on the JCS sub-forum? EDIT2: Here is a web-worker example: http://www.whatwg.org/demos/workers/primes/page.html EDIT3: I've uploaded the web-JCS so that you can try it out. Click here!
__________________
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; Aug 14, 2009 at 09:00 AM. |
Aug 14, 2009, 09:02 AM | |
Would suggest some indication that tiles are being loaded after you select a tileset. Also, I presume the collaboration feature's not there yet?
EDIT: Oh wait, I totally misread your posts, you never announced a collaboration feature. Bummer. In any case I would suggest thinking twice about replication offline JCS' layout for web use. I don't know what the goal of your app is, but offline layouts don't necessarily adapt to online ones well. Would suggest rethinking how JCS should work, so that a webJCS has added value above the regular one (ease of use, features that you would only be able to offer on the internet (for example: integration into existing information places, collaboration)
__________________
Interesting Jazz-related links: Thread: Gameplay Theories - Thread: Make Up Your Own Gametype |
Aug 14, 2009, 10:19 AM | |
That's because it not use Web Workers yet, and when click a layer button it create the array containing all tiles.
__________________
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 |
Aug 14, 2009, 02:05 PM | ||
Quote:
Also, this might be interesting: http://www.sitepoint.com/article/mul...ng-javascript/
__________________
Interesting Jazz-related links: Thread: Gameplay Theories - Thread: Make Up Your Own Gametype |
Aug 14, 2009, 02:09 PM | |
I fixed so that when a tileset is loaded, it's stored as png on the server, then it don't use the Tileset class everytime. The layers NEED Web Workers (or maybe another solution?), I've tried with big lvls (256x64) and those take loong time to load. I'm also thinking of include a save function (cookies).
__________________
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 |
Aug 14, 2009, 02:59 PM | |
Cookies? How are you going to store 256+64 tiles+events on 8 layers in a cookie? I would recommend to either save it in a homegrown format and then later on allow downloads by converting it to a j2l file (needs a 1-way .j2l implementation), or saving/loading in .j2l on the server (needs 2-way)
The app feels much more responsive now. Alternatively, maybe it works to not make 256*64
__________________
Interesting Jazz-related links: Thread: Gameplay Theories - Thread: Make Up Your Own Gametype |
Aug 14, 2009, 03:04 PM | |
If the data should be saved on the server, then make a php that save it. Or save it locally with cookies or LocalStorage(read that html5 page)
And the page is faster because of... read my last post
__________________
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 |
Aug 14, 2009, 10:54 PM | |
I have the same problem the tileset respond very hard when change it.
But now when I change the layers it works very fast ![]()
__________________
![]() Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment. |
Aug 14, 2009, 11:00 PM | |
You could always use a Flash version. Flash cookies can store larger amounts of data.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a> |
Aug 15, 2009, 12:37 AM | |
I think I found the store solution: localStorage
http://people.w3.org/mike/localstorage.html But it's not supported in all browsers
__________________
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 |
Aug 15, 2009, 12:43 AM | ||
Quote:
![]()
__________________
![]() Do not dwell in the past, do not dream of the future, concentrate the mind on the present moment. |
Aug 15, 2009, 12:46 AM | |
Are you suggesting I code it, or am I misreading you? If the latter, no time, sorry
__________________
Interesting Jazz-related links: Thread: Gameplay Theories - Thread: Make Up Your Own Gametype |
Aug 15, 2009, 01:08 AM | ||
Quote:
Something that someone could help me with is, my web-JCS working with the levels as 2D arrays, would be great if this somehow was converted into J2L "words" and "dictionary" so you actually can run the level in JJ2.
__________________
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 |
Jun 5, 2010, 05:51 AM | |
New WebJCS
Okay, time for a revival..
![]() The old WebJCS got old, as it used old technology. I have now made a new version, which works much better than the old, but it is still a alpha version. (Works best in Firefox, and it's slow in Chrome.. weird..) This version got some new features than the old, which are multiple select in tileset and drag to place tiles. I will add new features, such as multiple layers, parallax scrolling, animations, level properties, open/save, collaborative level editing and so on... And, why would you use this instead of the normal JCS you may wonder? Because you maybe want to load/view/edit a level where you don't have access to JCS, or (which I will add later) if you want to work collaborative with someone else. At the moment there only exists one tileset, but I will implant a "get tileset from j2o" feature so u can use any tileset on there (FQuist's idea), or maybe I will add "upload tileset" if you want to use your custom ones. This is a project I make for fun, so, enjoy! ![]()
__________________
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; Jun 5, 2010 at 07:52 AM. |
Jun 5, 2010, 07:34 AM | |
Jun 5, 2010, 11:03 PM | |
This looks very promising, although I don't understand the point entirely if there won't be a collaborative aspect. I guess it allows people who don't have access to JJ2 or JCS to make their own levels which is a potentially excellent achievement.
I echo the sentiment that it shouldn't grab from J2O, though. Either have the tilesets preloaded for speed or host them on the same server, for courtesy's sake, or allow uploads.
__________________
<table width="100%"><tr><td valign="top"><a href="http://www.jj2.info" title="waaaait" style="font-size: 14pt;font-family: Verdana;text-decoration: none;">penny on the train track</a> <a href="/junk/tick/tickbot.html">readme</a> - <a href="/junk/tick/quote.html">quotes</a> - <a href="/junk/tick/rsg.html">formats</a> - are you brained? *\o/*</td><td width="1%" align="right"> ![]() |
Jun 6, 2010, 01:18 AM | |
The best use for this would be the fact that no JJ2 installation is required to edit levels. Thus for example, you could easely make small tweaks to your levels while at work. And collaborative editing could bring interesting community projects, perhaps LMAT level editing? Anyway, I'd say this is, together with JJ2+, one of the coolest JJ2 related programs of today!
![]()
__________________
Add SlazRabbit on Xbox Live if you want to play some GoW1/2/3/J. Jazz Jackrabbit 2 Forever!! Civilian Defence Force - Jazz2 Visual Fantasers ![]() |
Jun 6, 2010, 12:42 PM | |
Great work. The editor seems to be off to a nice start, and I can't wait to see more functions implemented.
I like this idea. However, I have the perspective of an uploader, not someone in charge of J2O, so I don't know if there are any issues with it for them.
__________________
![]() Lexicographer: Someone who writes dictionaries Neophyte: A novice, or newbie Hemisemidemiquaver: In music, a sixty-fourth note Exit Troglobite, Stage Left |
Jun 8, 2010, 09:35 AM | |
Seems like good ideas, ill keep them in mind
![]() Anyway, I have implanted a save feature (File -> Save), which works very good! If you find any bugs, please let me know ![]() Edit1: Now you can use any tileset, in the menu, ![]() Edit2: Now you can skip that passwordbox! Edit3: Now all layers!
__________________
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; Jun 9, 2010 at 05:53 AM. |
Jun 8, 2010, 11:27 AM | |
I think it'd be possible, at least technically. We store the files as individual .j2l and .j2t files already, so only a few changes would be required to add an interface on top of that. The real issue is of course whether uploaders would agree with their levels being "open" like that. It's something that should be discussed, were we to go through with it.
|
Jun 8, 2010, 01:42 PM | |
I'm not sure if this is an admin post or a personal post, but I don't think that even an "open" level (were we to incorporate such distinctions) should allow edits to be uploaded automatically. This is the internet; there are trolls here. But I could imagine a system wherein you could make some small changes to someone's upload (fixing bugs, mostly) and submit your edit to the uploader for approval. The uploader would get an email notification (or PM, depending on their user preferences, I suppose) and could choose whether to approve the edit as a replacement for the original version, to approve it as an attachment (like an alternate version built to support a slightly different gametype), or disapprove it, if it's trash or something. Honestly that might even be more useful with tilesets, so that you could fix people's palettes and such more easily, if they'd allow you to.
|
Jun 8, 2010, 04:11 PM | ||
Quote:
Although now that it's been mentioned, I think some kind of open level system would be worth looking into.
__________________
![]() Lexicographer: Someone who writes dictionaries Neophyte: A novice, or newbie Hemisemidemiquaver: In music, a sixty-fourth note Exit Troglobite, Stage Left |
Jun 9, 2010, 05:04 AM | ||
Quote:
|
Jun 9, 2010, 06:03 AM | |
That doesn't give you license to just edit their levels willy nilly though. Bad reason for favour! Bad!
__________________
NOM
|
Jun 9, 2010, 06:09 AM | |
Hey, I'm here to say that the save function now works very well! I made it so the passwordbox is not displayed, layer 4 is loaded by default in JCS, all layers are saved.. I will now move on to Level properties and Layer properties
![]() About this.. to moderate others levels.. isn't really related to WebJCS as it's only J2L files, but it would be cool to somehow implant WebJCS there too. Edit1: Implanted Level properties!
__________________
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; Jun 9, 2010 at 12:38 PM. |
Jun 9, 2010, 03:00 PM | |
Project Forward once made a very collaborative level and there are plenty of smaller collaborations among two or three people, all of which seem to work out. I think making the collaboration this much more direct, along the lines of Google Docs, could only lead to bigger and better things.
|
Jun 9, 2010, 09:37 PM | ||
Quote:
__________________
![]() Lexicographer: Someone who writes dictionaries Neophyte: A novice, or newbie Hemisemidemiquaver: In music, a sixty-fourth note Exit Troglobite, Stage Left |
![]() |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 06:01 PM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.