Jump to content


Photo

Top Down Fake 3D Engine *Open Source*


  • This topic is locked This topic is locked
10 replies to this topic

#1 njp

njp

    Panda

  • GMC Member
  • 2325 posts
  • Version:GM8

Posted 25 November 2011 - 06:10 PM

TDF3D game. (*Now open source version available!)

Download v2.4 Open source version (gmk): http://u.filepak.com...urceversion.gmk (check out gmks game info first)
Download v2.4 (exe): http://u.filepak.com...DF3D_v2.4ad.exe
Download v2.1 (exe) :http://u.filepak.com...TDF3Dv2.1ad.exe

Posted Image


Description:
Top down 3d done pure gml without any 3d functions.
Realistic car handling (steering wheel style turning, drifting, force, acceleration, momentum, tire traction)

Scripts:
Spoiler


Yet to come:
-z level, for better environments and adding 'height' to the world.
-fix some car bugs
-better collisions with angle adjustments based on force of impact
-traffic, people, more buildings etc.

I will be releasing an open source version of this for people to learn how to do top down 3d without any 3d functions whatsoever, so stay tuned.
Open source version now released! warning, this is the first open source release, the coding is messy/not organised , but commented for the most part. v3 of the open source will be fully organized, cleaned up, bug ridden, and most likely will be posted under tutorials actually.

If you use this source or anything it contains you must credit NicJamesPanda (njp), however once v3 of the source is released you can use it freely, currently on v2.4.

Enjoy playing the engine
-Nic

Edited by njp, 30 November 2011 - 06:40 PM.

  • 1

#2 jmcorp2007

jmcorp2007

    GMC Member

  • New Member
  • 312 posts

Posted 26 November 2011 - 04:24 PM

Very interesting, plays very well. The 3D effects look awesome, especially since you didn't use any d3d functions. Interested in seeing the source code.
  • 0

#3 njp

njp

    Panda

  • GMC Member
  • 2325 posts
  • Version:GM8

Posted 27 November 2011 - 08:07 AM

Very interesting, plays very well. The 3D effects look awesome, especially since you didn't use any d3d functions. Interested in seeing the source code.


thanks for the reply, yup i just have to clean it up a bit, add commenting and basically rewrite most of it since my coding it messy... but messy coding still gets the job done as i see it ^^

Edited by njp, 27 November 2011 - 08:07 AM.

  • 0

#4 TheSnidr

TheSnidr

    That guy

  • Global Moderators
  • 2436 posts
  • Version:GM:Studio

Posted 27 November 2011 - 08:36 AM

It looks good - however, the lack or foreshortening makes the buildings seem a little like 3d trapezoids rather than blocks. You might want to fix that :)
The car physics are really good! :o

Edited by TheSnidr, 27 November 2011 - 08:39 AM.

  • 0

#5 Conk

Conk

    GMC Member

  • New Member
  • 142 posts

Posted 27 November 2011 - 11:02 PM

That's awesome! I'd love to be able to make something like that!
The guy can walk over the red buildings though, just in case you hadn't realised.
  • 0

#6 njp

njp

    Panda

  • GMC Member
  • 2325 posts
  • Version:GM8

Posted 28 November 2011 - 06:59 PM

It looks good - however, the lack or foreshortening makes the buildings seem a little like 3d trapezoids rather than blocks. You might want to fix that :)
The car physics are really good! :o

iv noticed that and at the moment i have no fix, and adding that would result in rewriting everything haha :P maybe if this ever gets to v3 ill add that in.

and thanks, the car physics are what i worked the most on. they are good yes, but their not perfect, so therefor i dont like them. im doing a complete rewrite of the car physics, ill have to read up on more advanced angle calculations.

That's awesome! I'd love to be able to make something like that!
The guy can walk over the red buildings though, just in case you hadn't realised.


simply forgot haha, ill fix that in the next version :) (right away)
  • 0

#7 Bjorn Morrison

Bjorn Morrison

    GMC Member

  • GMC Member
  • 89 posts

Posted 28 November 2011 - 10:11 PM

This is fantastic, can't wait to see what else you do with it, and I'll admit I'd love to play around with the source too.

The car can have a tendency to turn on the spot when bumping into things (it feels a bit floaty in these situations) but overall it handles really well. I'd like to see it start to auto-drift when turning at high speeds, not just when you pull the handbrake.

I'm assuming you can't shoot yet (or I couldn't find the key to do that), but running around on foot feels pretty good too.

Great job and please keep posting updates.

Bjorn
  • 0

#8 njp

njp

    Panda

  • GMC Member
  • 2325 posts
  • Version:GM8

Posted 29 November 2011 - 02:53 AM

This is fantastic, can't wait to see what else you do with it, and I'll admit I'd love to play around with the source too.

The car can have a tendency to turn on the spot when bumping into things (it feels a bit floaty in these situations) but overall it handles really well. I'd like to see it start to auto-drift when turning at high speeds, not just when you pull the handbrake.

I'm assuming you can't shoot yet (or I couldn't find the key to do that), but running around on foot feels pretty good too.

Great job and please keep posting updates.

Bjorn


thanks for the feedback and yea ill be completely rewriting the car physics, write now the drifting variable cant be initiated at fast speeds due to the glitchy results, but i will be fixing this problem in the rewrite.
as for the open souce of the fake 3d it will take some time since ill be adding more accessories to the world and even fences when i figure it all out, im learning while i create this :P most of this was figured out by messing around with bits of code and the collision script i found somewhere on my harddrive :S wish i could give credit i dont remember who helped me with that.

stay tuned once i hit v3 ill have an open source version ready :)
  • 0

#9 Newly Discovered

Newly Discovered

    Harmonious Genius

  • New Member
  • 2467 posts
  • Version:GM8

Posted 29 November 2011 - 05:32 AM

unless you are required to use fake 3d, why not just make it 3d?
plus, you can just build your city in blender or the like, and bake shadows, ambient occlusion, and things you really can't get with fake 3d.
if you don't know how to use blender, I suggest learning.
it's really quite simple, just learn a couple shortcut keys, learn how to texture it, baking is extremely easy, and you can have a much better looking game.

oh, as for gameplay thoughts...
overall I liked it. I saw no game breaking bugs, no issues with anything, however I would like to suggest zooming the camera out when you move faster. can you do that with your engine? it is a useful and popular 'feature' in games like this.

Edited by Newly Discovered, 29 November 2011 - 05:34 AM.

  • 0

#10 njp

njp

    Panda

  • GMC Member
  • 2325 posts
  • Version:GM8

Posted 29 November 2011 - 06:51 AM

unless you are required to use fake 3d, why not just make it 3d?
plus, you can just build your city in blender or the like, and bake shadows, ambient occlusion, and things you really can't get with fake 3d.
if you don't know how to use blender, I suggest learning.
it's really quite simple, just learn a couple shortcut keys, learn how to texture it, baking is extremely easy, and you can have a much better looking game.

oh, as for gameplay thoughts...
overall I liked it. I saw no game breaking bugs, no issues with anything, however I would like to suggest zooming the camera out when you move faster. can you do that with your engine? it is a useful and popular 'feature' in games like this.


will consider, im not sure how to do zooming with fake 3d without it effecting the hud tho :S


EDIT:
OPEN SOURCE RELEASED! :D

Edited by njp, 30 November 2011 - 06:42 PM.

  • 0

#11 jmcorp2007

jmcorp2007

    GMC Member

  • New Member
  • 312 posts

Posted 08 December 2011 - 06:35 PM

Any chance of a GM7 open source version?

Tried to use it, but it's not working (was made in a newer version)
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users