Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  Pseudo Voxel Expriements  (Read 9307 times)
0 Members and 1 Guest are viewing this topic.
Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Posted 2013-03-28 11:29:48 »

Along with Wizards of Yore, I'm looking at reusing some code I wrote a while ago to make a pseudo voxel based game - probably something to do with RPGs/Yore again but real time. Just started doing some experiments:



And a little editor I hacked up to create characters:



This isn't real voxels but gives a nice effect, IMO.

Cheers,

Kev


Offline matheus23

JGO Kernel


Medals: 107
Projects: 3


You think about my Avatar right now!


« Reply #1 - Posted 2013-03-28 11:35:45 »

AWESOME!

How did you do the shadows?

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Danny02
« Reply #2 - Posted 2013-03-28 12:00:14 »

looks a bit like voxeltron
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline EatenByAGrue

Junior Member


Medals: 3



« Reply #3 - Posted 2013-03-29 16:45:10 »

Looks really cool!

Reminds me of 3D Dot Game Heroes for the Ps3:

http://worldofvideogames.de/wp-content/uploads/2010/05/3D-Dot-Game-Heroes_Spielfigur.jpg

It is pitch black. You are likely to be eaten by a grue.
Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #4 - Posted 2013-03-30 21:00:48 »

Thanks for the feedback guys! The shadows are dynamically generated as part of the voxel map.

Cheers,

Kev

Offline matheus23

JGO Kernel


Medals: 107
Projects: 3


You think about my Avatar right now!


« Reply #5 - Posted 2013-03-30 22:19:03 »

Thanks for the feedback guys! The shadows are dynamically generated as part of the voxel map.

So you have height information stored inside those voxel images? Or did you simply generated them using the flat images?

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline cubemaster21
« Reply #6 - Posted 2013-03-31 01:11:53 »

I too am interested in how those shadows are made. This all looks pretty nifty.

Check out my game, Viking Supermarket Smash
http://www.java-gaming.org/topics/iconified/28984/view.html
Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #7 - Posted 2013-03-31 12:24:26 »

Well remember is pseudo voxels so there's only a fixed number of view angles possible. Each voxel space is rendered independently and the shadows are generated by search the world through the shadow angle.

It's about as brute force as you get Smiley

Cheers,

Kev

Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #8 - Posted 2013-03-31 22:43:45 »

Bit more work on the voxel stuff tonight, starting to add a world builder for laying out the voxel sprites:



Cheers,

Kev

Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #9 - Posted 2013-04-01 13:26:43 »

Got the maps loading into the game correctly now:



Cheers,

Kev

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #10 - Posted 2013-04-01 16:01:04 »

Quick video with basic particle stuff added:

<a href="http://www.youtube.com/v/EWqYxpLSjVY?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/EWqYxpLSjVY?version=3&amp;hl=en_US&amp;start=</a>

Cheers,

Kev

Offline HeroesGraveDev

JGO Kernel


Medals: 249
Projects: 11
Exp: 2 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #11 - Posted 2013-04-02 05:18:14 »

Things look a little bit stretched at the moment.
If you scaled the y-axis by
sqrt(2)/2
then it might look better, or you may have to resize the z and y scales for the 'voxels' if that doesn't work.

Other than that, this looks like quite a cool project.

Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #12 - Posted 2013-04-02 11:32:28 »

Yeah, can only move per voxel though I spose I could keep a sub-voxel position and convert it.

Looking at adding trees and other village stuff atm.

Cheers,

Kev

Offline Sparky83

Senior Member


Medals: 6
Projects: 1



« Reply #13 - Posted 2013-04-02 12:28:46 »

I just came here to say, that it looks great and inspiring. Smiley Good work!
Offline kilvati

Senior Newbie





« Reply #14 - Posted 2013-04-02 14:15:42 »

Years ago I made an engine a bit like this. It did have rotation to all angles. It is easy enough to do, just rotate all layers by the same angle and put them on top of each other. It looked rather cool, but the only sprites I had running were trees and tanks.

Give a man a fire and he is warm for a day, set a man on fire and he is warm for the rest of his live.
Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #15 - Posted 2013-04-02 20:31:38 »

Thinking I'm going to swap the main character to a wizard with jumping ability:



Cheers,

Kev

Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #16 - Posted 2013-04-03 12:38:34 »

Jumping is in, considering multiplayer now:



Having so much fun Smiley

Cheers,

Kev

Offline matheus23

JGO Kernel


Medals: 107
Projects: 3


You think about my Avatar right now!


« Reply #17 - Posted 2013-04-03 12:43:50 »

What kind of gameplay is planned? From the graphics style I could think of Realm of the mad god... Great game, even tough the constant losing items and dying somehow suck (even though this is the main gameplay...). Cheesy

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #18 - Posted 2013-04-03 12:48:22 »

Still no idea - just playing with this while still working on Wizards of Yore.

Cheers,

Kev

Offline sproingie

JGO Kernel


Medals: 202



« Reply #19 - Posted 2013-04-03 13:50:03 »

Are you doing the mosaic effects with a shader or an actual tile image per "voxel"?  Shader might be interesting, since you could do specular hilights to make the "bumpiness" more apparent depending on lighting conditions.
Offline Lukas

Senior Newbie





« Reply #20 - Posted 2013-04-03 16:23:54 »

Very impressive!
I like the graphic and the idea. Cheesy
Offline HeroesGraveDev

JGO Kernel


Medals: 249
Projects: 11
Exp: 2 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #21 - Posted 2013-04-04 04:18:25 »

Yeah, can only move per voxel though I spose I could keep a sub-voxel position and convert it.

Looking at adding trees and other village stuff atm.

Cheers,

Kev

No, I meant scaling when rendering, not logic.

Same logic, different rendering.

Possibly like this:

Y axis scaled to 1:

Y axis scaled to sqrt(2)/2:



Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #22 - Posted 2013-04-04 08:44:44 »

Ah see what you mean now. Don't think so though, something desperately less appealing about the characters at the bottom to the ones at the top.

Cheers,

Kev

Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #23 - Posted 2013-04-04 12:04:36 »

Added some brute force simple networking approach:



Can't imagine it'll scale to real life well but fun Smiley

Cheers,

Kev

Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #24 - Posted 2013-04-08 20:28:25 »

By request, I blogged up why this isn't really a proper voxel renderer:

http://cokeandcode.tumblr.com/post/47475327019/pseudo-voxel-effect

Cheers,

Kev

Offline Vermeer

JGO Coder


Medals: 16



« Reply #25 - Posted 2013-04-08 20:36:17 »

Your game looks amazing, fantastic art style. Very intrigued Smiley

Are your rooms pre-made, or generated on the fly?

Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #26 - Posted 2013-04-08 20:37:58 »

They're designed by hand at the moment but I'm thinking I'm going to write (another) dungeon generator tonight. This will be the first I've written that needed the third dimension so quite looking forward to it Smiley

Cheers,

Kev

Offline Vermeer

JGO Coder


Medals: 16



« Reply #27 - Posted 2013-04-08 20:39:10 »

That's what I was wondering with those stairs!
Offline kevglass

JGO Kernel


Medals: 163
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #28 - Posted 2013-04-10 21:30:49 »

Just starting to look at map generation:



Cheers,

Kev

Offline princec

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #29 - Posted 2013-04-10 22:41:47 »

Now, if you could generate actual 3D topographies...

Cas Smiley

Pages: [1] 2
  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.

Dwinin (19 views)
2014-09-12 09:08:26

Norakomi (54 views)
2014-09-10 13:57:51

TehJavaDev (63 views)
2014-09-10 06:39:09

Tekkerue (31 views)
2014-09-09 02:24:56

mitcheeb (53 views)
2014-09-08 06:06:29

BurntPizza (37 views)
2014-09-07 01:13:42

Longarmx (23 views)
2014-09-07 01:12:14

Longarmx (27 views)
2014-09-07 01:11:22

Longarmx (26 views)
2014-09-07 01:10:19

mitcheeb (34 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!