deepnight / gameBase

Base structure for my games, using Heaps framework and Haxe language.
https://deepnight.net
MIT License
611 stars 152 forks source link

Use of 3d? #12

Closed jerrygreen closed 3 years ago

jerrygreen commented 3 years ago

I want something close to Starcraft 2, i.e. 3d game in 2d space. They seem to use the same approach to coordinate system, which you covered in A simple and generic 2D engine, part 1 - Coordinates system (great article btw), also similar to both Northgard and Darksburg.

It seems it fits very well for such usage, even though this gameBase doesn't contain s3d at all (and I haven't found such in advancedBase either). Can you give some insight on what changes your template might need, like Game.hx, Entity.hx, and maybe other classes, to implement this RTS-like experience?

deepnight commented 3 years ago

Hi! I don't use 3D myself, but yes, it should be easy to use GameBase for a 3D based project. All you'll need is to:

The logic should stay the same 🤔