Construct 3 suggestions & ideas

Suggest and vote on ideas for Construct 3! Please note this is only one aspect of planning. We do not guarantee any features here will be implemented, even if they are top-voted ideas. The aim is just to collect feedback. Remember to search for existing submissions before adding an idea, describe your ideas as comprehensively as possible, and vote for plausible ideas that are well thought out. Please see our full guidelines on suggesting features.

16 VOTE

3D Camera Behavior

(Note: Construct is an engine designed for 2D games. This is NOT a request for full 3D support or polygonal objects!)

As long as there have been 2d games in the market, there have always been efforts to simulate 3D space. In older games, coders drew sprites of multiple sizes to simulate depth with moderate success. Over time, new hardware that supported sprite scaling and rotation allowed coders to create a smooth seamless 3D effect  With Construct's support for rotation and scaling of sprites, it would be great if construct supported a system that would simulate the distance of an object. allowing the user to create pseudo 3D effects and games. Technically, this is already possible using good scripting.  Having official support of this would allow easier editing and faster implementation.

 

A 3D camera would be useful for:

-Pseudo 3D games such as Space Harrier and Outrun

-Easy 3D menu buttons that pop out at the viewer

-3D carousel menus as seen on OSX and many other platforms

-a quick and easy 3D effect for 2D pinball and breakout-type games

 

What the Behavior would do:

The behavior creates the effect of a camera, arranging chosen sprites in a way that creates the illusion of depth. The 3d camera would sort the order of sprites based on how close they are to the simulated camera and place them based on the chosen sprites xyz coordinates, which can be gathered from it's posiition on the canvas or by it's variables  . The objects would scale based on their distance from the camera: The maximum size of a spite gets as it comes closer the camera is up to the viewer. Once an object is considered behind the camera (not in it's field of view), the behavior will hide the object automatically, reducing slowdown

 

What the behavior would not do:

The behavior would not warp a sprite or background to make it appear in perspective. This is an effect; not a behavior. 

  • Jerbens Jarman
  • Apr 5 2017
  • Shipped
3D
  • Jan 14, 2019

    Admin Response

    This sounds a lot like the new Z elevation feature available since r132, which allows objects to be moved towards and away from the camera scaling according to perspective, so marking this suggestion as "Shipped". If Z elevation does not cover the feature you imagined you can post another suggestion, but as mentioned on some other 3D related suggestions, we don't currently intend to add any more 3D-related features at this time.

  • Attach files
  • Ben Hale commented
    April 05, 2017 17:20

    I use this effect a lot in After Effects and Toon Boom Harmony.  I think it would be a nice addition that wouldn't be terribly difficult to implement.  

  • Ethan commented
    April 05, 2017 17:36

    I don't think this is possible with the C2.3 runtime, be in the C3 road map blog post it did say that they intend to add proper z depth.

  • NetOne commented
    May 11, 2017 21:31

    if you don't want to wait for the plug in I found  you can do it quite simply with maybe 4 lines of events by giving your sprite instance variables X Y Z and then scaling according to the formula right at the bottom here https://en.wikipedia.org/wiki/3D_projection    hit me up on the forum I can go through it with you.

  • Michael Miller commented
    October 18, 2018 17:29

    Ashley, what's the status on this feature, if I may ask?

  • Admin
    Ashley Gullen commented
    October 19, 2018 10:28

    I'm afraid we don't have the resources to look in to this in the near future, so reverting to "No status".

  • Michael Miller commented
    October 19, 2018 23:00

    Hopefully someday! Thank you anyway, Ashely!

  • Luca Contato commented
    November 07, 2018 11:20

    Oh, like the 3D camera of Phaser 3 https://labs.phaser.io/index.html?dir=camera/3D%20camera/&q=