Apr 18, 2017 at 11:45 PM
Join Date: Jul 30, 2012
Location: Germany
Posts: 74
Age: 25
Pronouns: he/him
Introduction
This is currently my main project I am working on. It's a "2.5D" engine inspired by CaveStory. The engine runs on Node.js + Socket.io on a server and uses WebGL and Three.js in your webbrowser.
The engine is nowhere near finished and you should expect some heavy development in the near future (with more or less regular updates).
Sourcecode will be published on github soon, when I commented a bit more of it. I will publish a video on how to set up your own server simultaneously.
older images
Videos
Leveleditor / how to make your own levels
Custom sprites / MyChars
Custom Guns
todo
How you can help
Update Log
if you have any questions or suggestions don't be afraid to post them in this thread[/spoiler]
This is currently my main project I am working on. It's a "2.5D" engine inspired by CaveStory. The engine runs on Node.js + Socket.io on a server and uses WebGL and Three.js in your webbrowser.
The engine is nowhere near finished and you should expect some heavy development in the near future (with more or less regular updates).
Sourcecode will be published on github soon, when I commented a bit more of it. I will publish a video on how to set up your own server simultaneously.
Play the game online (Beta 0.2)
(Just a short glimps of the engine for now)
BTW. Get some friends to join on the server and have fun
(run a local server for a better experience)
Sourcecode on GitHub
Screenshots(Just a short glimps of the engine for now)
BTW. Get some friends to join on the server and have fun

(run a local server for a better experience)
Sourcecode on GitHub






older images

Videos
Leveleditor / how to make your own levels
Because it is super easy to create levels for this engine, using the tiled map editor, I suppose creating even large projects will be rather easy. You should have a fundamental knowledge of JavaScript + Json (you only need the basics). A detailed tutorial on how to create levels will follow after I published the source.
Custom sprites / MyChars
1. Create an image with all the animations for Running, Jumping, looking up, down... (this is not necessary, but the more animations the better)
1.1 the format for this image is any width and any height per frame (width must be equal to height). Also, all frames must be sorted from left to right and the background should be transparent like so:
or
(note, they MUST only face to the left)
2. save the image from step 1 as "yourNameHere.png"
3. open your editor of choice (notepad is preinstalled on every windows mashine, just use that if you like)
3.1 insert this code:
3.2 Now change the "x" : 16, and "y" : 16 to the width and height of one frame of your sprite respectively. iE. "x" : 16, "y" : 16 would be classical lower resolution CaveStory. "x" : 32, "y" : 32 would be CaveStory+ HD textures. You can go as low or high as you like
3.3 In case you added or removed any frames, you will need to also change that in the "animation" section. If you used the same template as the images above, you should be fine.
3.4 save this document as "yourNameHere.json". make sure you change ".txt" to "any document" in the bottom right if you use notepad.
4. Upload "yourNameHere.png" and "yourNameHere.json" somewhere (need to be in the same folder!).
5. Join a server and open the options. (press "e" → select "options"). scroll down and insert the URL of you image (i.E. www.example.com/MyChar.png) in the "player image + .json" section.
6. scroll up again and click "reload level"
1.1 the format for this image is any width and any height per frame (width must be equal to height). Also, all frames must be sorted from left to right and the background should be transparent like so:


2. save the image from step 1 as "yourNameHere.png"
3. open your editor of choice (notepad is preinstalled on every windows mashine, just use that if you like)
3.1 insert this code:
Code:
{
"imageSize" : {
"x" : 16,
"y" : 16
},
"animationDuration" : 15,
"usedAnimation" : "stand",
"animation" : {
"stand" : [0],
"run" : [0,1,2],
"up" : [3],
"upRun" : [3,4,5],
"ascend" : [1],
"fall" : [2],
"fallLookUp" : [4],
"fallLookDown" : [6],
"look" : [7],
"hover" : [8],
"dead" : [9],
"deadFall" : [10]
}
}
3.3 In case you added or removed any frames, you will need to also change that in the "animation" section. If you used the same template as the images above, you should be fine.
3.4 save this document as "yourNameHere.json". make sure you change ".txt" to "any document" in the bottom right if you use notepad.
4. Upload "yourNameHere.png" and "yourNameHere.json" somewhere (need to be in the same folder!).
5. Join a server and open the options. (press "e" → select "options"). scroll down and insert the URL of you image (i.E. www.example.com/MyChar.png) in the "player image + .json" section.
6. scroll up again and click "reload level"
Custom Guns
Will follow shortly
todo
- add music
- implement guns/weapons + projectiles (need cool ideas for that)
- improve velocity calculation (just add a bit of drag to the character movement)
- camera drag / make it rotate and move slower (this shows more of the 3d world)
- a home menu / main menu
- single player option
- a story
- fix multiplayer bug (if you reload the page as the first player that joined, other players wont see you)
- a ton of other (more or less) small things (including bug fixes)
- implement guns/weapons + projectiles (need cool ideas for that)
- improve velocity calculation (just add a bit of drag to the character movement)
- camera drag / make it rotate and move slower (this shows more of the 3d world)
- a home menu / main menu
- single player option
- a story
- fix multiplayer bug (if you reload the page as the first player that joined, other players wont see you)
- a ton of other (more or less) small things (including bug fixes)
How you can help
- help remake the music / get permission to use remade music
- remake objects found in CaveStory as 3D Models
- remake objects found in CaveStory as 3D Models
Update Log
- 29.06.2017 BETA 0.2.2 released
- 24.06.2017 BETA 0.2.1 released
- 05.06.2017 BETA 0.1.2 released
- 13.05.2017 BETA 0.1.2 released
- 23.04.2017 BETA 0.1.1 released
- 22.04.2017 BETA 0.1 released
- bullets are now available in multiplayer
- collision between bullets and entities (both local and server entities) works now
- water related bug somewhat resolved
- collision between bullets and entities (both local and server entities) works now
- water related bug somewhat resolved
- bullets added
- camera improved / follows the player with a bit of delay (causes bugs with water though :/)
- multiplayer related bugs removed
- added a few levels
- menu style improvements
- camera improved / follows the player with a bit of delay (causes bugs with water though :/)
- multiplayer related bugs removed
- added a few levels
- menu style improvements
- reworked the menu
- fancy animations added
- guns added
- reworked the water physics
- reworked friction in game
- reworked knockback
- first attempts to reimplement a single player mode
- Sourcecode publicised
- fancy animations added
- guns added
- reworked the water physics
- reworked friction in game
- reworked knockback
- first attempts to reimplement a single player mode
- Sourcecode publicised
- water implemented
- water physics implemented
- player HUD added
- player health added
- custom-character-sprite browser added
- new level "cave_pillars.json" added
- water physics implemented
- player HUD added
- player health added
- custom-character-sprite browser added
- new level "cave_pillars.json" added
- choose your own MyChar under options
- set a name under options
- any image file with any aspectratio and any size is now supported by using .json files for every sprite
- set a name under options
- any image file with any aspectratio and any size is now supported by using .json files for every sprite
if you have any questions or suggestions don't be afraid to post them in this thread[/spoiler]
Last edited: