@MrKnightCraft the only thing 3D in the video is the light gizmo (only used and seen in the editor, not in-game). the scene, player, and pipes are all traditional 2D sprites. ;)
@Viking009 I believe this project was using forward rendering - but SunBurn Game Engine supports both forward and deferred rendering, so it could be either of them.
I have a similar game , just search for soul survivor xna shooter . I need some opinions on it and whether i shouls try to implemnt something like this
@messi996 meh... true. But I find it a tad illogical to use a 3d engine to make a 2d game. But I guess if you want those effects like normal mapping and shadows.
Btw: anyone skeptical of this being 2D, the tech has been available for ~3 months and there are quite a number of impressive games being developed with it. :)
Check out the links in the video details for more info!
@troizy as mentioned by about 30 people, the EDITOR is 3D to allow relative light placement, the GAME / SCENE is entirely flat 2D sprites, which is the point. ;)
this reminds me of a old game for the playstation...anybody remember the name?! i remember the levels and enemies but thats it...o yeah an you have a gun! lolol
hey guys, as mentioned before the floor, character, and pipes are all 2D sprites (quads).
The light axes are 3D because the engine and its editor were designed for 3D use. This actually helps with light placement though as you get a sense of how close point lights are to the sprites.
You can tell the sprites are flat by looking at the light axes. While the axes show a heavy perspective (standard fps), the sprites still appear fully top-down even at the edge of the screen.
So sprites, floor etc are all 2D polygons orientated parallel with the view plane and having normal maps, but for proper shadowing I suppose they also must have z maps.
I think its definitely possible, its just much more difficult to do that in 2d, rather than 3d. Also all the art needs to "look" 3d to make the illusion work... Part of me wants to say NO that is a bunch of 3d models in a 2d perspective though.
Any chance to get some more technical information on how exactly this is done?
I'm a Computer Science student specializing in software engineering and computer graphics and I'm very interested how effects like this can be created. I think the result is impressive.
It is very possible to do this with 2D only. You ask people to look at the pipes, but 2D lighting can be even more realistic that that. You can have per-pixel dynamic lighting without resorting to a third dimension.
Yes, almost certainly. 3D rendered with viewpoint camera looking down from above to get the 2D top-down perspective. However it's all put together though, it's nice.
No, I mean, how do you know how tall the shadows are? For example, say you had a quad representing a six foot tall guy, and a 12 foot tall guy. Would the twelve foot shadow not be longer than the six foot, even though those two figures are represented in two dimensions (lacking the required third)?
The shadows would be the same for both - in 2D top-down the player / viewer loses all sense of height, overly tall shadows from one would look broken as both sprites are otherwise identical.
For side scrollers though taller players do cast larger shadows.
We used a custom sprite sheet baked down from the XNA Skinning example's "dude.fbx" - we dumped out several frames of the walking animation, combined them onto the sheet, and cycled between them while the sprite is moving.
its 3d the objects are moving in all 3 directions (the light can move up and down
the movement is 2d and maybe the 3D objects are just plane 2ds but its still 3d
MrKnightCraft 3 months ago
@MrKnightCraft the only thing 3D in the video is the light gizmo (only used and seen in the editor, not in-game). the scene, player, and pipes are all traditional 2D sprites. ;)
bobthecbuilder 3 months ago
This might help clarify some things.
There is some depth in almost all 2d due to draw-order. Whenever two 2d objects overlap there is implied depth as one is "on top" of the other.
areyoucallingmeauser 4 months ago
Is that forward or deferred shading?
Viking009 4 months ago
@Viking009 I believe this project was using forward rendering - but SunBurn Game Engine supports both forward and deferred rendering, so it could be either of them.
bobthecbuilder 4 months ago
This is more like 2.5D.
TheodenN 4 months ago
God, some people are so dense... I can't believe the amount of people who don't believe this is 2d.
lukechalfantt 5 months ago
anything using 3d models is 3d.
AaronPr19 5 months ago
@AaronPr19 Really? Well it's a good thing we're using 2D sprites then, which I guess makes this 2D (as mentioned above). :)
bobthecbuilder 5 months ago 3
@bobthecbuilder Hmm, no height/normal maps, but just plain flat 2D?
mrdkaaa 3 months ago
@mrdkaaa no height maps used, normal maps can be used for bump / specular highlights but are not necessary for lighting and shadows. :)
bobthecbuilder 3 months ago
I have a similar game , just search for soul survivor xna shooter . I need some opinions on it and whether i shouls try to implemnt something like this
JayRecoil 5 months ago
is alpha channel used for "depth"?
SeanDeigh13 5 months ago
dude walking :P
r34ct0rx 5 months ago
That's easy if your engine knows where the lower pipe and higher lever pipe so the light will make shadow for it,
SpEEdHackEr101 9 months ago
Wow
morttonfire1 11 months ago
Why bother making it 2d?
superkellerman8D 11 months ago
@superkellerman8D probably due to the fact making a 3d game is much harder and is hardly worth it just to show simple effects
messi996 8 months ago
@messi996 meh... true. But I find it a tad illogical to use a 3d engine to make a 2d game. But I guess if you want those effects like normal mapping and shadows.
superkellerman8D 8 months ago
It Looks SOOOOOOOOOOOOOO Epic ... OMG NICE ***_****
Schwenneyboy 1 year ago
Is that UDK?
MasterOfAllVideos 1 year ago
@MasterOfAllVideos Nope, it's using the SunBurn Game Engine's 2D rendering :)
Check out the link in the description for more info - awesome stuff! :)
bobthecbuilder 1 year ago 3
So many idiots saying this isn't 2D. It obviously is. You can tell by the way the shadow is cast incorrectly at :12.
jimthegreat1012 1 year ago
Btw: anyone skeptical of this being 2D, the tech has been available for ~3 months and there are quite a number of impressive games being developed with it. :)
Check out the links in the video details for more info!
bobthecbuilder 1 year ago
nice grapgics
Cassildo 1 year ago
How does that work?
silenceofthehills 1 year ago
nice effect, might have to check this sunburn engine out..
LOUISofSHERWOOD 1 year ago
Our 2D tech (featured in this video) is available in SunBurn 1.3.2.
I just posted an updated 2D video, see this video's description.
bobthecbuilder 1 year ago
I can't understand how you manage to cast the character shadow from a 2D quad?
lucasmontec 1 year ago
I wouldn't call this 2d :P
KXMoon 1 year ago 2
@KXMoon why not? flat 2D sprites (textures on quads) == 2D. :)
bobthecbuilder 1 year ago
Looks like an awsome game, what program would be the best to use for top-down shooters??
zombis667 1 year ago
@zombis667 if you don't mind a little bit of coding then check out the SunBurn Engine, that's what we used in the video.
We just wrote a simple spritebatcher that outputs a vertex buffer, SunBurn handled all the lighting, shadowing, and rendering for us.
bobthecbuilder 1 year ago
Why does it have 3 Axes? It's not 2D
ILFZ2 1 year ago
@ILFZ2 read above: "as mentioned before the floor, character, and pipes are all 2D sprites (quads)...."
bobthecbuilder 1 year ago
@bobthecbuilder
but as you can clearly see the light hovers ABOVE the surface, wich makes it 3d
troizy 1 year ago
@troizy as mentioned by about 30 people, the EDITOR is 3D to allow relative light placement, the GAME / SCENE is entirely flat 2D sprites, which is the point. ;)
bobthecbuilder 1 year ago
@bobthecbuilder
i'm sorry since i'm to lazy to read all the comments
but i did make a point :p
troizy 1 year ago
@troizy hehe no problem :)
bobthecbuilder 1 year ago
Very nice. Very very nice. i have something similar in the works if you wanna check my youtubes vids in a few weeks when i upload some vids :)
AntCoder 1 year ago
WoW! thats ballin you think it would look good on a side scrolling platform??
MinkisProductions 1 year ago
Yes definitely - top-down and side-scrollers work great with this technique.
We also have isometric working great now too, but don't have that rolled out publicly yet.
bobthecbuilder 1 year ago
nice!
kinda reminds me of the Unreal3 editor
0u73rh34v3n 1 year ago
If its 2D, why are there 3 axis (x,y,z) on the move tool?
JEZAGREEN 1 year ago
@JEZAGREEN For the lighting, so that you can make shadwos from a light source high above or down close to the ground
Schmatko89 1 year ago 2
the third axis is here to pull the light far away from the ground, so it will be weaker
Marco9603 1 year ago
becouse the light position is in 3d. The actual rendering is in 2d.
ImNotLink102 1 year ago
haha youre funny
Sizol8 1 year ago
this reminds me of a old game for the playstation...anybody remember the name?! i remember the levels and enemies but thats it...o yeah an you have a gun! lolol
DoubleAG90 2 years ago
Comment removed
bornsnyder 1 year ago
This has been flagged as spam show
@DoubleAG90 ... It was called "Loaded" and the Sequels name was "Re-Loaded" :) just played it a few days ago :)
bornsnyder 1 year ago
nice work
ZFrancis1993 2 years ago
that is 2d? D:?
if it really is 2d, good work on doing all of those math equations i guess
JordanMaster22 2 years ago 2
3D viewed from top
bushidopride 2 years ago 2
hey guys, as mentioned before the floor, character, and pipes are all 2D sprites (quads).
The light axes are 3D because the engine and its editor were designed for 3D use. This actually helps with light placement though as you get a sense of how close point lights are to the sprites.
You can tell the sprites are flat by looking at the light axes. While the axes show a heavy perspective (standard fps), the sprites still appear fully top-down even at the edge of the screen.
bobthecbuilder 2 years ago
Very cool!
So sprites, floor etc are all 2D polygons orientated parallel with the view plane and having normal maps, but for proper shadowing I suppose they also must have z maps.
Am I right?
LBcoyote 2 years ago
I think its definitely possible, its just much more difficult to do that in 2d, rather than 3d. Also all the art needs to "look" 3d to make the illusion work... Part of me wants to say NO that is a bunch of 3d models in a 2d perspective though.
rxbanditboy1112 2 years ago
uhm...that's strange. Maybe it's 2d but.. why the light has 3 arrows for x, y ,z(3 dimensions)?
DanMa3x 2 years ago
Any chance to get some more technical information on how exactly this is done?
I'm a Computer Science student specializing in software engineering and computer graphics and I'm very interested how effects like this can be created. I think the result is impressive.
KeldorKatarn 2 years ago
prob just parallax maps
tehsimo 2 years ago
I think it's not really 2D. I'm very sure about this!
Making such dynamic shadows (look at the pipes) is imho only possible by using a 3D Enviroment.
The 2D effect is made by the view/projection matrix ;).
This would be the way I would start to test when I would use something like this.
I can't imagine, that this is made with realy 2D.
dlmenslon 2 years ago
@dlmenslon
It is very possible to do this with 2D only. You ask people to look at the pipes, but 2D lighting can be even more realistic that that. You can have per-pixel dynamic lighting without resorting to a third dimension.
Intiom 2 years ago
Look at the lights and shadows, that have to be at least extrem shaders, which are a feature of 3D afaik.
otherwise proove it or give me a link pls :)
dlmenslon 2 years ago
This has been flagged as spam show
"Look at the lights and shadows"
--What else did you think I was referring to?
"extrem shaders, which are a feature of 3D"
--You are perhaps referring to pixel shaders? That does not require 3D geometry.
"otherwise proove it or give me a link pls :)"
--Prove it? LOL, it is trigonometry, I could link you to mathematics websites if you want?
Try searching the 2D soft shadow tutorials on GameDev, though I can no longer find their 2D per-pixel lighting tutorial.
Intiom 2 years ago
Comment removed
charliebrown76 2 years ago
Yes, almost certainly. 3D rendered with viewpoint camera looking down from above to get the 2D top-down perspective. However it's all put together though, it's nice.
charliebrown76 2 years ago
Kinda looks like the new batman game from an overhead view.
voltz15 2 years ago
OH WAIT!
nono94777 2 years ago
Great job dude!
i cant believe its 2D ! o.o
Metaby90 2 years ago
impressive
chjustin69 2 years ago
Errrrr....ummmm..... are you sure you not lying because upon closer look those are some sick ass 2d graphics! Either way good work. : )
bChiCkeNpLuCkeRd 2 years ago
WOW! If I just saw this video with no explanation I would swear it was 3D. Good work!
bChiCkeNpLuCkeRd 2 years ago
That light effect is so nice....!!!!!
trimer34 2 years ago
2D dynamic light + bump mapping
ThomasPoersch 2 years ago
Yes, plus dynamic shadows - that's the tricky part (though the engine handles that for us). :)
bobthecbuilder 2 years ago
Cool thing. :)
ThomasPoersch 2 years ago
thats 3D
BozzReunion 2 years ago
So using flat 2D quads == 3D?
And comments as to why?
bobthecbuilder 2 years ago
you moving the lights and the pipes throwing shadow as a 3d objekt ;), sprites doesnt throw shadows like that.
its 3d, only that it hast a view from above.
so we can say 2d :D
BozzReunion 2 years ago
That's the point of the video, with SunBurn 2D sprites DO cast shadows like that.
If you look at the player the top-down perspective doesn't change as he moves further off screen center.
Also the bad alpha clipping on the pipes (due to my poor art skills :) can't be simulated with 3D (unless using a ton of polygons).
SunBurn uses the information already applied to 2D rendering in XNA and can create semi-realistic shadows based on it.
bobthecbuilder 2 years ago
hmmmm ok sounds logical.
if it is so than it is a nice engine.
does it needs a strong hardware?
if yes wouldent it be easyer to make a 3d game wih a view from above`?
BozzReunion 2 years ago
The engine's 2D requirement are similar to the 3D requirement, PS 3.0 (minimum nVidia 6600, though 7000 / 8000 is recommended).
Whether 2D or 3D is easier is based on the artist / developer. Some people find 2D easier, others 3D. Personally I like them both.
But 2D still has a cool retro feel, even when using updated graphics. :)
bobthecbuilder 2 years ago
If it really is all 2D, how do you define shadows? How do we know that the walls aren't higher than the light source?
runecrosser 2 years ago
Not following your question. There are no walls - only pipes, a floor, and the guy - all flat 2D quads with alpha clipping.
The lights are above all of these objects as they're lit (the objects would be dark if the light was below / behind them).
bobthecbuilder 2 years ago
No, I mean, how do you know how tall the shadows are? For example, say you had a quad representing a six foot tall guy, and a 12 foot tall guy. Would the twelve foot shadow not be longer than the six foot, even though those two figures are represented in two dimensions (lacking the required third)?
runecrosser 2 years ago
The shadows would be the same for both - in 2D top-down the player / viewer loses all sense of height, overly tall shadows from one would look broken as both sprites are otherwise identical.
For side scrollers though taller players do cast larger shadows.
bobthecbuilder 2 years ago
So, shadow heights are explicitly set, right?
runecrosser 2 years ago
that is 3D...dont you see the green, blue and red arrows?
rafaelrapalo 2 years ago
You can see by the lack of perspective on the character sprite that all the scene objects are 2D.
The SunBurn Editor and its light icons are always rendered in 3D (for easy placement relative to other objects).
bobthecbuilder 2 years ago
very nice! :) How did you do the 'y' coordinate in 2D? Is this deferred shading? Or what is the "SunBurn"? 5* :)
csisyfiu 2 years ago
SunBurn is the lighting and rendering engine we used for the demo (I added a link to the video description) - it handled a lot of the "depth".
SunBurn supports both traditional forward rendering and deferred rendering, but we used forward for the demo.
bobthecbuilder 2 years ago
Yeah, nice renderer. :) Thanks for the reply.
csisyfiu 2 years ago
Very nice! Can you tell me how you did the animation? whit sprite sheets? thanks!
vas3000 2 years ago
We used a custom sprite sheet baked down from the XNA Skinning example's "dude.fbx" - we dumped out several frames of the walking animation, combined them onto the sheet, and cycled between them while the sprite is moving.
bobthecbuilder 2 years ago
man you are way better than me, i am still kearning 2D lol
alston2reel 2 years ago
WOW, congratulations!!!!
wilmergamboa 2 years ago
how are shadows rendered? O_o
Storm336 2 years ago
Hey guys, thanks!
bobthecbuilder 2 years ago
nice job man, the game is looking great
KorsAir1987 2 years ago
Oooo, do want.
JForceGames 2 years ago