Fires of Heaven Guild Message Board  

Go Back   Fires of Heaven Guild Message Board > Fires of Heaven Related Forums > Uberworlds Development Forum
User Name
Password
Or, use your gamerDNA username: (more...)
ForumSpy Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 05-12-2008, 12:01 PM   #1 (permalink)
Laladilya
...
 
Join Date: Apr 2002
Location: Salina, KS
Posts: 203
+24 Internets
Send a message via MSN to Laladilya
How hard is it to program something like this?



Make sure you watch the whole thing, it isn't the typical side scroller it first appears to be.

The only programming I'm familiar with is Flash/Actionscript. I was trying to wrap my head around how I could go about doing something like that. I know how to make a 2D tile engine using arrays or the built-in bitmap data objects Flash has. I also know how to make the basic 3D that would be required using Papervision3d, but I can't wrap my head around how to combine them in this way. Anyone have a clue?

It would be perfect to make a wacky Mytoss game where he climbs Mt. E naked.
Laladilya is offline   Reply With Quote
Old 05-12-2008, 12:05 PM   #2 (permalink)
Millie
A Relic
 
Millie's Avatar
 
Join Date: Jan 2002
Posts: 5,873
Holy crap, that is cool looking. And it looks insanely difficult to design and play.
Millie is offline   Reply With Quote
Old 05-12-2008, 12:15 PM   #3 (permalink)
Zuuljin
So there's this plane on a treadmill...
 
Zuuljin's Avatar
 
Join Date: Jan 2005
Location: Southern California
Posts: 3,215
+20 Internets
Send a message via AIM to Zuuljin
Not that I have ever done anything that complex, but the concept doesnt seem too hard.

First off its most likely not built like a sprite based 2d side scroller. Its probably done as a complete 3d game, with a very restricted camera that just makes it appear 2d.

Then, whatever orientation your camera is pointing at, just ignore whatever axis ends up being the z-axis when doing collision detection. Few specific checks for when objects are in front/behind other objects and there you go.
__________________
" We are all atheists about most of the gods that societies have ever believed in. Some of us just go one god further."
Richard Dawkins (1941 - ), "The Root of All Evil", UK Channel 4, 2006

Zuuljin is offline   Reply With Quote
Old 05-12-2008, 12:17 PM   #4 (permalink)
EmiliaEQ
Registered User
 
Join Date: May 2002
Location: Paris 94 !
Posts: 725
-5 Internets
That would make a kickass platform game for Wii/360/PS3
EmiliaEQ is offline   Reply With Quote
Old 05-12-2008, 12:19 PM   #5 (permalink)
Blide
Registered User
 
Join Date: Oct 2005
Posts: 835
+4 Internets
Watch the next Paper Mario rip that off.

I'm no programmer but it seems to me you'd need to be able to warp to four+ 2D "levels" with the press of a button. Each step would have to be tied to a location in each "level." I have no idea how you'd go about doing the 3D aspect of it other than through animation which wouldn't flow as well as that.
Blide is offline   Reply With Quote
Old 05-12-2008, 12:34 PM   #6 (permalink)
Millie
A Relic
 
Millie's Avatar
 
Join Date: Jan 2002
Posts: 5,873
Quote:
Originally Posted by Blide View Post
Watch the next Paper Mario rip that off.
Hasn't there already been a Paper Mario game that used that effect? I remember seeing commercials for at least some sort of Mario game that starts off as a 2D scroller but allows you to switch to a third dimension in mid-gameplay.
Millie is offline   Reply With Quote
Old 05-12-2008, 01:01 PM   #7 (permalink)
Laladilya
...
 
Join Date: Apr 2002
Location: Salina, KS
Posts: 203
+24 Internets
Send a message via MSN to Laladilya
Well the part that confuses me is how they get it to pop back into 2d without any perspective distortions. I don't know if they're just modifying the z values on all the blocks when the camera locks back into place or what. It seems like there would still be some perspective distortion due to the way 3d cameras work. Sort of like a 3d side scrolling game doesn't appear to be flat tiles even though you don't ever move in z-space. My experience is very limited with 3d, as Flash itself is very limited so I could be way off here.

Even with the limited 3d required it may still be too much for Flash to handle very well anyway and I'd have to move to XNA or something. If thats the case I'm way too lazy and wouldn't bother learning it. =P
Laladilya is offline   Reply With Quote
Old 05-12-2008, 01:02 PM   #8 (permalink)
Lenas
Registered User
 
Join Date: Mar 2002
Location: San Diego, CA
Posts: 1,859
Send a message via AIM to Lenas Send a message via MSN to Lenas
That's likely what this was based off of, then taken to the next level.
__________________
360 / PSN - LenasUchiha
Lenas is offline   Reply With Quote
Old 05-12-2008, 01:43 PM   #9 (permalink)
Zuuljin
So there's this plane on a treadmill...
 
Zuuljin's Avatar
 
Join Date: Jan 2005
Location: Southern California
Posts: 3,215
+20 Internets
Send a message via AIM to Zuuljin
Quote:
Originally Posted by Laladilya View Post
Well the part that confuses me is how they get it to pop back into 2d without any perspective distortions. I don't know if they're just modifying the z values on all the blocks when the camera locks back into place or what. It seems like there would still be some perspective distortion due to the way 3d cameras work. Sort of like a 3d side scrolling game doesn't appear to be flat tiles even though you don't ever move in z-space. My experience is very limited with 3d, as Flash itself is very limited so I could be way off here.

Even with the limited 3d required it may still be too much for Flash to handle very well anyway and I'd have to move to XNA or something. If thats the case I'm way too lazy and wouldn't bother learning it. =P
Well, I get what your saying, and I tried to look for instances where the perspective should show, but I think it might be the fact that the screen is so close the perspective isnt noticable. Because while watching the video, nothing looked out of place when it went from 2d to 3d and back again.

That, or perhaps they just dont draw the rest of the shape behind the face your seeing when its locked into 2d mode.
__________________
" We are all atheists about most of the gods that societies have ever believed in. Some of us just go one god further."
Richard Dawkins (1941 - ), "The Root of All Evil", UK Channel 4, 2006

Zuuljin is offline   Reply With Quote
Old 05-12-2008, 02:06 PM   #10 (permalink)
Froofy-D
upper management material
 
Froofy-D's Avatar
 
Join Date: Nov 2002
Location: Orlando, FL
Posts: 2,198
+17 Internets
Quote:
Originally Posted by Zuuljin View Post
Then, whatever orientation your camera is pointing at, just ignore whatever axis ends up being the z-axis when doing collision detection.
Yeah that looks like what they are doing:

- character is a 2D billboard (sprite that always faces the camera)

- when you are in "2D mode" 1 axis is ignored for collision

- the change from "2D mode" to "3D mode" camera is a simple 1 call operation OpenGL/Direct, changing rendering from Orthogonal to Perspective. Notice there is a slight pop out when the free look mode starts. Also, it looks like the character cannot move in 3D camera mode.

Looks like the entire world is based on blocks which simplifies everything massively. Anyway, it isn't super complicated, but its a clever technique that I haven't seen before.
Froofy-D is offline   Reply With Quote
Old 05-12-2008, 03:38 PM   #11 (permalink)
Laladilya
...
 
Join Date: Apr 2002
Location: Salina, KS
Posts: 203
+24 Internets
Send a message via MSN to Laladilya
It sounds like it may be abit out of Flash's league then. It doesn't have OpenGL/Direct3d support. I'd have to look at Papervision3D's documentation to see if they support anything to assist in the view switches. They recently just released an update that I haven't really dug into much. Either way it sounds like it'd involve more time than I was willing to put into it, since I'm still mainly concentrating on my RPG Project. Oh well

Here's another kinda neat indie game in the works. Nintendo DS may have something similar to it though.
Laladilya is offline   Reply With Quote
Old 05-12-2008, 03:52 PM   #12 (permalink)
bouhhan
putting flesh on the bones of my dreams
 
bouhhan's Avatar
 
Join Date: Oct 2006
Posts: 373
the crayon game blew my mind.
bouhhan is offline   Reply With Quote
Old 05-12-2008, 03:57 PM   #13 (permalink)
Lenas
Registered User
 
Join Date: Mar 2002
Location: San Diego, CA
Posts: 1,859
Send a message via AIM to Lenas Send a message via MSN to Lenas
Magic Pen by Alejandro Guillen
__________________
360 / PSN - LenasUchiha
Lenas is offline   Reply With Quote
Old 05-12-2008, 04:21 PM   #14 (permalink)
Laladilya
...
 
Join Date: Apr 2002
Location: Salina, KS
Posts: 203
+24 Internets
Send a message via MSN to Laladilya
Haha nice. I wonder who copied who there. Crayon Physics Deluxe guy has had a prototype released that you can only draw squares for quite awhile now. I think Crayon Physics Deluxe beat out Fez (the first video) at some indie game conference, that'd be funny if it was a stolen idea. It's even been featured in magazines.
Laladilya is offline   Reply With Quote
Old 05-12-2008, 06:07 PM   #15 (permalink)
Neph
Late to the party
 
Join Date: Nov 2006
Location: Maryland
Posts: 843
+6 Internets
Quote:
Originally Posted by Lenas View Post
Is anyone else horribly bad at this game?
Neph is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On

uberguilds network



All times are GMT -7. The time now is 03:35 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6