JazzJackrabbit Community Forums  

Go Back   JazzJackrabbit Community Forums > Jazz Jackrabbit Forums > JCS

Reply
 
Thread Tools
Old January 13th, 2015, 01:10 PM   #121
DJazz
JCF Member
Mad Scientist
 
 
Join Date: Feb 2009
Location: Sweden
Reputation: DJazz is OFF DA CHARTDJazz is OFF DA CHARTDJazz is OFF DA CHART
Send a message via Skype™ to DJazz
Quote:
Originally Posted by JangoCF View Post
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?
I added you on Skype.
I think it's because this code is too old for newer web browsers, causing the WebSocket connection to fail.
With "the console" do you mean the one on the webpage or in the terminal window? Any other messages?

I really want to rewrite WebJCS from scratch, but with a full-time job it's hard to find enough time for it.
__________________
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 is offline   Reply With Quote
Old January 14th, 2015, 02:45 PM   #122
Slaz
JCF Member
CDF Clan Member
 
 
Join Date: Aug 2004
Location: Netherlands
Reputation: Slaz is a forum legendSlaz is a forum legend
btw, I'm still happily using WebJCS 1.3.3 on my home network, and it still works perfect on my Chromebook as well. Collab is turned off here so I don't know if that still works. Keep in mind though, company/school networks are usually strictly firewalled which may also cause problems with Websocket.

Just so you know that there are more people appreciating this project!
__________________
Add SlazRabbit on Xbox Live if you want to play some GoW1/2/3/J or Destiny.
Join JazzJackrabbit.net for the best online play experience.
Jazz Jackrabbit 2 Forever!!
Civilian Defence Force - JJ.net - mIRC.com
Slaz is offline   Reply With Quote
Old January 12th, 2017, 08:08 AM   #123
DJazz
JCF Member
Mad Scientist
 
 
Join Date: Feb 2009
Location: Sweden
Reputation: DJazz is OFF DA CHARTDJazz is OFF DA CHARTDJazz is OFF DA CHART
Send a message via Skype™ to DJazz
Sneak peek of WebJCS 2.0, a work in progress. Playing with layer view modes.

YouTube video: https://youtu.be/0Gtq5QnjlJw

__________________
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 is offline   Reply With Quote
Old January 24th, 2017, 09:40 PM   #124
DJazz
JCF Member
Mad Scientist
 
 
Join Date: Feb 2009
Location: Sweden
Reputation: DJazz is OFF DA CHARTDJazz is OFF DA CHARTDJazz is OFF DA CHART
Send a message via Skype™ to DJazz
You can try out the latest build of WebJCS 2 (only tested in Chrome/Chromium) here: http://webjcs.djazz.se
If tiles look messed up, try disabling the WebGL renderer in File > Preferences, then reload page.

Not much to do yet except scrolling, zooming and changing layer view modes. I'm working on it!
__________________
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; January 24th, 2017 at 09:51 PM..
DJazz is offline   Reply With Quote
Old January 25th, 2017, 01:22 AM   #125
Slaz
JCF Member
CDF Clan Member
 
 
Join Date: Aug 2004
Location: Netherlands
Reputation: Slaz is a forum legendSlaz is a forum legend
The noted features work for me with WebGL on in the latest versions of Chrome and Safari. X-Ray view plays nice in action!
__________________
Add SlazRabbit on Xbox Live if you want to play some GoW1/2/3/J or Destiny.
Join JazzJackrabbit.net for the best online play experience.
Jazz Jackrabbit 2 Forever!!
Civilian Defence Force - JJ.net - mIRC.com
Slaz is offline   Reply With Quote
Old January 25th, 2017, 09:42 AM   #126
Darkhog
JCF Member
Fan Attic
 
 
Join Date: May 2012
Reputation: Darkhog is notorious for his worthless posts
Please do test with Firefox as well. Some people don't want to use memory hog called Chrome.

//edit: and please put it up on GitHub or something. So it can be developed faster by more people and so someone else can host it if for some reason you won't be able to do so in the future (I don't think we want to lose such a great tool, do we?).
__________________
Code:
    .──.
   │O_O │
   ││_╱ │
  ╱╱   │╲
 (|▔╲  │ )
╱'╲_▔ _╱`╲
╲___) (___╱  TUX LOVES YOU.
Darkhog is offline   Reply With Quote
Old January 25th, 2017, 10:09 AM   #127
Sir Ementaler
JCF Member
Currently sadistically consuming marshmallows
 
 
Join Date: Feb 2010
Location: Fridge
Reputation: Sir Ementaler is a name known to allSir Ementaler is a name known to allSir Ementaler is a name known to allSir Ementaler is a name known to allSir Ementaler is a name known to allSir Ementaler is a name known to all
Send a message via Skype™ to Sir Ementaler
Quote:
Originally Posted by Darkhog View Post
and please put it up on GitHub or something. So it can be developed faster by more people and so someone else can host it if for some reason you won't be able to do so in the future (I don't think we want to lose such a great tool, do we?).
So, almost like, the link called "WebJCS on Github" that's already present in the Help menu?
__________________

I am an official JJ2+ programmer and this has been an official JJ2+ statement.
Sir Ementaler is offline   Reply With Quote
Old January 25th, 2017, 12:43 PM   #128
DJazz
JCF Member
Mad Scientist
 
 
Join Date: Feb 2009
Location: Sweden
Reputation: DJazz is OFF DA CHARTDJazz is OFF DA CHARTDJazz is OFF DA CHART
Send a message via Skype™ to DJazz
Quote:
Originally Posted by Darkhog View Post
Please do test with Firefox as well. Some people don't want to use memory hog called Chrome.

//edit: and please put it up on GitHub or something. So it can be developed faster by more people and so someone else can host it if for some reason you won't be able to do so in the future (I don't think we want to lose such a great tool, do we?).
Seems to run fine in Firefox right now.
Later, you will be able to download and install WebJCS as a regular program. If you're on Arch Linux/Manjaro/Antergos, you can install it from the AUR.
When running it standalone it uses Electron. It also have read and write access to files directly on your drive, just like JCS.

Github link: https://github.com/daniel-j/webjcs

Some help with development would be very appreciated! I have been doing this solo for too 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
DJazz is offline   Reply With Quote
Old January 31st, 2017, 02:24 AM   #129
DJazz
JCF Member
Mad Scientist
 
 
Join Date: Feb 2009
Location: Sweden
Reputation: DJazz is OFF DA CHARTDJazz is OFF DA CHARTDJazz is OFF DA CHART
Send a message via Skype™ to DJazz
You can now edit the tiles and save it to J2L.
Use B to select tiles in the layer view. It's not perfect yet, will make it work like in JCS. Animations can't be selected atm, only from tileset and layer.
There is also a separate mask togglebutton for the layers.
Horizontal and vertical tile flipping is supported (use plus to see result).
New WebGL renderer that should be more robust and compatible.
Layer properties and level properties dialogs have been added.



https://youtu.be/ObbvMaaMkF4
__________________
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; January 31st, 2017 at 01:36 PM..
DJazz is offline   Reply With Quote
Old February 5th, 2017, 07:36 AM   #130
DJazz
JCF Member
Mad Scientist
 
 
Join Date: Feb 2009
Location: Sweden
Reputation: DJazz is OFF DA CHARTDJazz is OFF DA CHARTDJazz is OFF DA CHART
Send a message via Skype™ to DJazz
Added a feature unique (as of date) to WebJCS 2: You can offset layer by N pixels! JJ2+ have support for it but no level editor has. See a demo here: https://youtu.be/DRkI-KRsR7o

Probably not a good idea to use on layer 4, because mask and events don't get moved. Use this to for example offset layer 5 by half a tile.

EDIT: Turns out it is an undocumented JJ2+ feature. Ah well, plus only then!
__________________
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; February 5th, 2017 at 12:28 PM..
DJazz is offline   Reply With Quote
Old February 7th, 2017, 05:13 AM   #131
Darkhog
JCF Member
Fan Attic
 
 
Join Date: May 2012
Reputation: Darkhog is notorious for his worthless posts
Nice progress! But since in the end it will be just another exe app, what's the point in doing it in html5 if it won't be actually fully usable on the web? Wouldn't making it as an SDL or Allegro app be better? Or if you don't like C++ for some reason, C# with Monogame?
__________________
Code:
    .──.
   │O_O │
   ││_╱ │
  ╱╱   │╲
 (|▔╲  │ )
╱'╲_▔ _╱`╲
╲___) (___╱  TUX LOVES YOU.
Darkhog is offline   Reply With Quote
Old February 7th, 2017, 05:46 AM   #132
cooba
JCF Veteran
 
 
Join Date: Jan 2004
Reputation: 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
Quote:
Originally Posted by DJazz View Post
undocumented JJ2+ feature
https://www.jazz2online.com/jj2plus/...layer::xOffset
cooba is offline   Reply With Quote
Old February 7th, 2017, 06:02 AM   #133
DJazz
JCF Member
Mad Scientist
 
 
Join Date: Feb 2009
Location: Sweden
Reputation: DJazz is OFF DA CHARTDJazz is OFF DA CHARTDJazz is OFF DA CHART
Send a message via Skype™ to DJazz
Quote:
Originally Posted by Darkhog View Post
Nice progress! But since in the end it will be just another exe app, what's the point in doing it in html5 if it won't be actually fully usable on the web? Wouldn't making it as an SDL or Allegro app be better? Or if you don't like C++ for some reason, C# with Monogame?
I know JavaScript and web tech. I do not know other languages that well. If I were to port it it would use Qt5/C++ since that is what Tiled is written in, which is quite similar. Similarly, Project Carrot, the open source JJ2 engine, uses Qt5 and SFML. It is important for me that the editor runs well on all platforms.

Advantages to it being web is that you can quickly share a link to invite to collaboration without them having to download and install the application. Easy access is important I think.

The only features that the web version will miss out on is local file system access and the ability to run the level in JJ2 by hitting Ctrl+R.
__________________
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 is offline   Reply With Quote
Old February 8th, 2017, 04:08 AM   #134
DJazz
JCF Member
Mad Scientist
 
 
Join Date: Feb 2009
Location: Sweden
Reputation: DJazz is OFF DA CHARTDJazz is OFF DA CHARTDJazz is OFF DA CHART
Send a message via Skype™ to DJazz
Basic collaboration have been implemented! To try it, go to http://webjcs.djazz.se and click Collab > Join/create session in the menu. Enter a name for the session and click OK. Open another browser window and repeat the steps, make sure you use the same session name. Or invite a friend. When you close all pages the session gets destroyed automatically. Only drawing tiles are synced for now!

Starting a new session will use the current level you are editing. Joining an already created session will overwrite your current one with the one from the server!
__________________
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 is offline   Reply With Quote
Old March 5th, 2017, 08:43 AM   #135
Marijn
JCF Member
Programmer
 
 
Join Date: Feb 2006
Location: The Netherlands
Reputation: Marijn is doing well so far
Send a message via MSN to Marijn
Djazz, or consider a nodejs/electron build if you want to build a standalone app, it required little porting and runs any common os today.
Marijn is offline   Reply With Quote
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 10:06 PM.


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