Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  The most effective way to make 2.5d graphics  (Read 1543 times)
0 Members and 1 Guest are viewing this topic.
Online trollwarrior1
« Posted 2013-12-02 19:44:07 »

So um, I'm currently thinking of making a little 2d online rpg game here.

One of the things I would really like to hear other peoples opinion on is:

what is the fastest way to do 2.5d graphics?

I'm looking to try to make something along the lines of mu-online or trickster online. From what I can see, it is probably just sprites being drawn on the screen. The question is how do you make those sprites from all the angles? Do you somehow make a 3d model and take screen shots from different angles? Or do you have to somehow actually draw all the sprites, which seems illogical, since you would need like infinite amount of sprites if you are to add multiple armors, weapons to the game.

I'm thinking about 2-2.5d, but the more I think, the more it seems that 3d would be the easiest way to do it.. I mean, years ago people used to make 2.5d to fake the 3d, because computers weren't fast enough. It probably is easier to make 3d stuff instead of 2.5d.
Offline jmguillemette
« Reply #1 - Posted 2013-12-02 19:49:54 »

do you want your models to feel 3d ish like diablo 3 or flat like dont starve?


-=Like a post.. give the author a medal!=-
Offline CodeHead

JGO Coder


Medals: 40


From rags to riches...to rags.


« Reply #2 - Posted 2013-12-02 20:05:30 »

The most sensible approach is probably to have 3D models that you render out to isometric sprites. While you can do isometric art pixel by pixel, changing the look of something becomes a lot of extra work. I believe most major developers use the 3D rendering to create the basic object/animation, then do minor tweaks on the rendered sprites that are produced.

Fun fact, the sprites for Doom actually started out as physical 3D models that were photographed, digitized, then edited by hand into the final product. Granted, Doom is not isometric, but it goes to show that using 3D models to produce 2D results has been in use for quite some time. The same techniques most likely predated ID's development days.

Arthur: Are all men from the future loud-mouthed braggarts?
Ash: Nope. Just me baby...Just me.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online trollwarrior1
« Reply #3 - Posted 2013-12-02 20:08:53 »

I think I will just go with the old (2004-2007) runescape look Cheesy I will have to put a lot of effort into learning bone animations though... Will take months..
Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #4 - Posted 2013-12-02 21:44:11 »

If you don't want to learn bone animation:

I would have a depth perception feature in your code. Like, when you have a renderable object, the renderer can get the z coordinate, and draw it smaller the farther it is.

For perspective, you can modify the width and height by a factor, relative to the center of the screen.

So if you are asking whether to render with 2d (orthographic) or 3d(perspective), I would stick to 2d(orthographic TRICK perspective. It's not easier, but it's (probably) faster, and you could learn a lot from it!

That would give a nice 2.5d look.

Hope this helps!

-wes

Offline namrog84

JGO Ninja


Medals: 46
Projects: 4


Keep programming!


« Reply #5 - Posted 2013-12-02 22:42:11 »

Also, you could always do "fake 2.5D" that is a 3D game with a fixed camera angle or 2d playing field to mimic 2d behavior.

Trine 2 and Diablo 3 are both full 3D games but have some sense of fixed 2D-ness about them. Otherwise baking a 3D model into a 2D sprite is next best choice in my opinion. But then you lose a certain depth/field of view


"Experience is what you get when you did not get what you wanted"
Offline Varkas
« Reply #6 - Posted 2013-12-02 23:14:23 »

In the past I've been pixeling them, but if you need 8 or 16 views of an objects, it's getting tedious. These days I make 3D models and render them to bitmaps which I use in the game. Particularly if you need many views (as is angles), the rendering approach is more efficient. And you can always touch up the renders and pixel in some more details.

Taking photos of real models also works. For those who are better at skulpting than at drawing Cheesy

if (error) throw new Brick(); // Blog (german): http://gedankenweber.wordpress.com
Offline pitbuller
« Reply #7 - Posted 2013-12-03 00:37:50 »

Gpu's are fast. Just use real 3d models with real shading. Even mobile devices can do this with great results. Then just fix camera and game play to 2d and you are all set. Using pre rendered sprites with blending/alpha testing can be even slower(with missed hierarchical depth buffer culling)
Online trollwarrior1
« Reply #8 - Posted 2013-12-03 07:58:46 »

Thanks for the comments. Now the thing I need to learn is bone animation in LWJGL. Are there maybe bone animation libraries out there? I was looking the other day, but didn't really find anything. If not I will just start working on my 3d engine Tongue
Offline wessles

JGO Wizard


Medals: 66
Projects: 4
Exp: 3 years


Radirius Software Developer


« Reply #9 - Posted 2013-12-03 22:31:09 »

SPINE!
Made in java, and freaking awesome.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online trollwarrior1
« Reply #10 - Posted 2013-12-04 08:14:00 »

SPINE!
Made in java, and freaking awesome.

But it is 2d Sad Though I don't think I will use 3d models for my first mmorpg anyway, so I guess I will use SPINE to make stuff Tongue
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (20 views)
2014-07-29 18:09:19

Riven (13 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (31 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (28 views)
2014-07-23 21:07:15

Riven (29 views)
2014-07-23 20:56:16

ctomni231 (60 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!