Jump to content

Sprite disoration, fake 3d

Recommended Posts

Hello is there any option how sprite or bitmapdata disorate like this ?

http://prnt.sc/cbta2h (Original image: http://prntscr.com/cbtabn)


I know how to make skew, with few hours hacking pixi :) http://prntscr.com/cbtahj


But its not still what I want :)


I want to create fake 3D like in the GTA1/2

Move this sprite I cane done with paralax, but I still need some method how transform sprite to first image :) I know that there is some options :)


Link to post
Share on other sites

I once attempted to replicate this and failed. I still have the tilemaps from it but no longer have the code that I had written. 

I recently found this game http://codeincomplete.com/games/racer/v4-final that gives a bit of a hint on how to do it, But I still can't get my head around the math for it.

I did read at some point that it was complemented by an actual 3d engine to achieve that result but I never got around to it. 

My guess would be that you could achieve this easier in http://www.html5gamedevs.com/forum/16-babylonjs/ rather then phaser. 


The streets and everything else is doable in phaser, but I have no idea how to do those buildings except in a 3d perspective.


The best view you could get in 2d from my point of view is something like gangsters 2 in isometric view.


Link to post
Share on other sites
59 minutes ago, lewster32 said:

The 'fake 3D' in the original GTA was actually real 3D - it used a 3D engine to render the perspective correctly.

Thanks both for post

lewster32: Very interesting information, Where you find it ? I trust you, but I want more information, if is possible :)

So, I will use three.js or try hack pixi to make what I want, but I could be very hard to solve it.

Link to post
Share on other sites
  • 2 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...