Jump to content

  • Log In with Google      Sign In   
  • Create Account

#ActualDai++

Posted 21 February 2013 - 02:41 AM

I'm not talking about the 3D culling technique, but like the game Portal, but in 2D.

 

What I'm wanting to do has already been done by a couple of really simple games: ASCIIPortal ( http://cymonsgames.com/asciiportal/ ) and Portile ( http://www.increpare.com/2008/11/portile/ ), however they are both limited... ASCIIPortal is text-mode (but an amazing achievement nonetheless) and Portile which tessellatess the game world - I'm interested in duplicating ASCIIPortal's 2D "viewport" concept. Is anyone aware of any other similar games/concepts?

 

(Note that I'm not actually going to make a platformer)

 

I'm wondering what the best way to implement this is. The simplest would be to just have a single sprite surface and do all of the rendering in software, but that's just hackish.

 

I was thinking I could render the "original" 2D world to a full-screen sprite surface, then each 2D portal is a blitted copy of the original world that is  renderedto a new sprite surface layered on top of the original world but with an alpha channel that forms the "view cone" of the portal, the process is repeated as necessary in case the portal copy of a portal is visible.

 

...if I phrased that correctly.

 

I'm using XNA, if it helps.

 

Thanks in advance!

 

EDIT: I juust found out about Gateways for the Xbox ( http://marketplace.xbox.com/en-US/Product/Gateways/66acd000-77fe-1000-9115-d80258550bea ), which does the rendering effect I'm after. So at least I know it's possible, but what's the best way to do it?


#4Dai++

Posted 21 February 2013 - 02:32 AM

I'm not talking about the 3D culling technique, but like the game Portal, but in 2D.

 

What I'm wanting to do has already been done by a couple of really simple games: ASCIIPortal ( http://cymonsgames.com/asciiportal/ ) and Portile ( http://www.increpare.com/2008/11/portile/ ), however they are both limited... ASCIIPortal is text-mode (but an amazing achievement nonetheless) and Portile which tessellatess the game world - I'm interested in duplicating ASCIIPortal's 2D "viewport" concept. Is anyone aware of any other similar games/concepts?

 

(Note that I'm not actually going to make a platformer)

 

I'm wondering what the best way to implement this is. The simplest would be to just have a single sprite surface and do all of the rendering in software, but that's just hackish.

 

I was thinking I could render the "original" 2D world to a full-screen sprite surface, then each 2D portal is a blitted copy of the original world that is  renderedto a new sprite surface layered on top of the original world but with an alpha channel that forms the "view cone" of the portal, the process is repeated as necessary in case the portal copy of a portal is visible.

 

...if I phrased that correctly.

 

I'm using XNA, if it helps.

 

Thanks in advance!


#3Dai++

Posted 21 February 2013 - 02:31 AM

I'm not talking about the 3D culling technique, but like the game Portal, but in 2D. What I'm wanting to do has already been done by a couple of really simple games: ASCIIPortal ( http://cymonsgames.com/asciiportal/ ) and Portile ( http://www.increpare.com/2008/11/portile/ ), however they are both limited... ASCIIPortal is text-mode (but an amazing achievement nonetheless) and Portile which tessellatess the game world - I'm interested in duplicating ASCIIPortal's 2D "viewport" concept. Is anyone aware of any other similar games/concepts? (Note that I'm not actually going to make a platformer) I'm wondering what the best way to implement this is. The simplest would be to just have a single sprite surface and do all of the rendering in software, but that's just hackish. I was thinking I could render the "original" 2D world to a full-screen sprite surface, then each 2D portal is a blitted copy of the original world that is renderedto a new sprite surface layered on top of the original world but with an alpha channel that forms the "view cone" of the portal, the process is repeated as necessary in case the portal copy of a portal is visible. ...if I phrased that correctly. I'm using XNA, if it helps. Thanks in advance!


#2Dai++

Posted 21 February 2013 - 02:31 AM

I'm not talking about the 3D culling technique, but like the game Portal, but in 2D.

 

What I'm wanting to do has already been done by a couple of really simple games: ASCIIPortal ( http://cymonsgames.com/asciiportal/ ) and Portile ( http://www.increpare.com/2008/11/portile/ ), however they are both limited... ASCIIPortal is text-mode (but an amazing achievement nonetheless) and Portile which tessellatess the game world - I'm interested in duplicating ASCIIPortal's 2D "viewport" concept. Is anyone aware of any other similar games/concepts?

 

(Note that I'm not actually going to make a platformer)

 

I'm wondering what the best way to implement this is. The simplest would be to just have a single sprite surface and do all of the rendering in software, but that's just hackish.

 

I was thinking I could render the "original" 2D world to a full-screen sprite surface, then each 2D portal is a blitted copy of the original world that is  renderedto a new sprite surface layered on top of the original world but with an alpha channel that forms the "view cone" of the portal, the process is repeated as necessary in case the portal copy of a portal is visible.

 

...if I phrased that correctly.

 

I'm using XNA, if it helps.

 

Thanks in advance!


#1Dai++

Posted 21 February 2013 - 02:30 AM

I'm not talking about the 3D culling technique, but like the game Portal, but in 2D.

 

What I'm wanting to do has already been done by a couple of really simple games: ASCIIPortal ( http://cymonsgames.com/asciiportal/ ) and Portile ( http://www.increpare.com/2008/11/portile/ ), however they are both limited... ASCIIPortal is text-mode (but an amazing achievement nonetheless) and Portile which tessellatess the game world - I'm interested in duplicating ASCIIPortal's 2D "viewport" concept. Is anyone aware of any other similar games/concepts?

 

(Note that I'm not actually going to make a platformer)

 

I'm wondering what the best way to implement this is. The simplest would be to just have a single sprite surface and do all of the rendering in software, but that's just hackish.

 

I was thinking I could render the "original" 2D world to a full-screen sprite surface, then each 2D portal is a blitted copy of the original world that is  renderedto a new sprite surface layered on top of the original world but with an alpha channel that forms the "view cone" of the portal, the process is repeated as necessary in case the portal copy of a portal is visible.

 

...if I phrased that correctly.

 

I'm using XNA, if it helps.

 

Thanks in advance!


PARTNERS