Hadik Posted August 29, 2016 Share Posted August 29, 2016 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 symof 1 Link to comment Share on other sites More sharing options...
symof Posted August 29, 2016 Share Posted August 29, 2016 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. Hadik 1 Link to comment Share on other sites More sharing options...
lewster32 Posted September 1, 2016 Share Posted September 1, 2016 The 'fake 3D' in the original GTA was actually real 3D - it used a 3D engine to render the perspective correctly. samid737 and Hadik 2 Link to comment Share on other sites More sharing options...
Hadik Posted September 1, 2016 Author Share Posted September 1, 2016 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 comment Share on other sites More sharing options...
stupot Posted September 3, 2016 Share Posted September 3, 2016 I can't find it now, but there was a game example that mixed 3d and phaser, it was top down with buildings (just like you have) with zombies running around and you controlled a car to smash them. Link to comment Share on other sites More sharing options...
Tom Atom Posted September 3, 2016 Share Posted September 3, 2016 Hi, it is here: http://ds-code.net/?p=1 symof 1 Link to comment Share on other sites More sharing options...
stupot Posted September 4, 2016 Share Posted September 4, 2016 That's the one, thanks Tom. Link to comment Share on other sites More sharing options...
tihoho Posted November 8, 2018 Share Posted November 8, 2018 On 9/3/2016 at 9:32 PM, Tom Atom said: Hi, it is here: http://ds-code.net/?p=1 link crashed. somebody saved it? Link to comment Share on other sites More sharing options...
dude78 Posted November 9, 2018 Share Posted November 9, 2018 @tihoho, Wayback machine did. https://web.archive.org/web/20161212104624/http://ds-code.net/?p=1 2.5dPhaserGame.zip tihoho 1 Link to comment Share on other sites More sharing options...
Recommended Posts