Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » Beyond Jazz Jackrabbit 2

Jazz with 3d tiles

RabbitHare

JCF Member

Joined: Feb 2014

Posts: 6

RabbitHare is doing well so far

Feb 9, 2014, 10:42 AM
RabbitHare is offline
Reply With Quote
Jazz with 3d tiles

Check it out! http://www.youtube.com/watch?v=cHnd30No9M0
So the video demonstrates a game engine I started which is capable 3d tilesets along with full color and alpha channel.

It's programmed with C++ for Linux but uses libraries available in Windows (i.e., SDL) so it shouldn't be too difficult to cross compile. Anyways, here's the source code if you're interested: https://github.com/RabbitHare/scroller
In addition to the game, it includes the code for a level editor and a program to compile tilesets.
cooba

JCF Veteran

Joined: Jan 2004

Posts: 7,823

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

Feb 9, 2014, 11:07 AM
cooba is offline
Reply With Quote
Took me a while to notice the 3D, but once I did, it was pretty cool!
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Feb 9, 2014, 11:54 AM
Violet CLM is offline
Reply With Quote
It's definitely very subtle. Which isn't such a bad thing in principle, but if you're going to the effort of making it 3D in the first place, it does feel like you should be getting more out of it in that regard.
__________________
RabbitHare

JCF Member

Joined: Feb 2014

Posts: 6

RabbitHare is doing well so far

Feb 9, 2014, 12:12 PM
RabbitHare is offline
Reply With Quote
Thanks for feedback! I wasn't aware that it was that subtle but of course having implemented it blinds me to some extent. But one advantage of the 3D not being so obvious is that it does blend better with the 2D characters. Also, I think for a different tileset containing more geometric structures such as a city theme would do the 3d more justice. Objects closer to the viewer (in a foreground layer) would also better demonstrate this.
Slaz

JCF Member

Joined: Aug 2004

Posts: 1,318

Slaz is OFF DA CHARTSlaz is OFF DA CHARTSlaz is OFF DA CHART

Feb 9, 2014, 01:09 PM
Slaz is offline
Reply With Quote
I can see the 3D while you're jumping.

Perhaps consider contacting Soulweaver with his Project Carrot to share ideas on how to make your engine more 'jazzy'. Soulweaver is trying to remake JJ2 physics from scratch.
__________________
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
KRSplatinum

JCF Member

Joined: Jul 2013

Posts: 263

KRSplatinum is a forum legendKRSplatinum is a forum legend

Feb 10, 2014, 05:18 AM
KRSplatinum is offline
Reply With Quote
Great engine but could use some improvement.

I thought that it has paper-like 3d tiling, or in other words 3d imaging with a 2d screen and multiple layers.

But I want to tell you something, RabbitHare.

- Your readme file is broken.

You didn't include line breaks anywhere in your readme file. Therefore it opens all in one line as opposed to having multiple paragraphs.

- Also, in your downloadable .zip file, you included Windows system files that you made in Linux.

Specifically, .obj files are windows system files.

btw, Here's an example of what your readme would look like with line breaks.

Code:
Scroller
========

The start of a sidescroller game engine.


Directions:

To compile the game: scons


To compile the editor & game: scons --editor=1


To run game: ./scroller \[path to .lvl file\]


To change game controls and display: config.xml
EDIT: sorry, actually you did include line breaks.
The line breaks were just not picked up by Notepad in Windows.

Last edited by KRSplatinum; Feb 10, 2014 at 05:48 AM.
Soulweaver

JCF Member

Joined: Aug 2007

Posts: 42

Soulweaver is an asset to this forum

Feb 10, 2014, 03:14 PM
Soulweaver is offline
Reply With Quote
I already posted most of what I had to say in my own thread, but I'll say it again that it's nice to see new projects to appear. The 3D effect works well enough, and as you said, could work even better in a tileset with more tiles suitable for that kind of perspective.

Quote:
Originally Posted by Slaz View Post
Perhaps consider contacting Soulweaver with his Project Carrot to share ideas on how to make your engine more 'jazzy'. Soulweaver is trying to remake JJ2 physics from scratch.
Yeah, I'm not against sharing code, so feel free to contact if you're interested in how I've implemented something. The largest obstacle with this really is that my source is currently still rather poorly documented or commented and thus I'll need to spend more time explaining things

Quote:
Originally Posted by KRSplatinum View Post
EDIT: sorry, actually you did include line breaks.
The line breaks were just not picked up by Notepad in Windows.
Yeah, Windows's Notepad cannot handle UNIX style line feeds at all. Somehow they still haven't fixed that to this date; almost every other text editor/processor in existence can do that, even WordPad if one doesn't want to install anything.
__________________
RabbitHare

JCF Member

Joined: Feb 2014

Posts: 6

RabbitHare is doing well so far

Feb 10, 2014, 03:23 PM
RabbitHare is offline
Reply With Quote
Yeah, the engine is incomplete and improvements could definitely be made on what exists. But try avoid opening any of the files in Notepad. As you witnessed, it expects carriage returns in conjunction with newlines, try Notepad++.
As for the .obj files in this context, these are actually 3d model files for creating the tileset (one of the .obj files being the cosmetics and other the mask). This is a standard format so if you have any 3d modeling software (such as Blender) you can import it.
Has anyone tried to compile and run it? If so, I'm curious how it went.
Old Feb 10, 2014, 03:30 PM
RabbitHare
This message has been deleted by RabbitHare.
RabbitHare

JCF Member

Joined: Feb 2014

Posts: 6

RabbitHare is doing well so far

Feb 10, 2014, 03:34 PM
RabbitHare is offline
Reply With Quote
Quote:
Yeah, I'm not against sharing code, so feel free to contact if you're interested in how I've implemented something. The largest obstacle with this really is that my source is currently still rather poorly documented or commented and thus I'll need to spend more time explaining things
Cool, thanks and I'm sure my code is just as lacking in comments
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Feb 10, 2014, 04:34 PM
Violet CLM is offline
Reply With Quote
I'm reminded of Nimbus. Note that there the 3D is emphasized by applying a lot of lighting/shading to the tops and bottoms of the blocks respectively.
__________________
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 11:12 PM.