Is Construct capable of 3D backgrounds?

New releases and general discussions.

Post » Mon Nov 30, 2009 3:49 pm

I wasn't able to find anything on the Construct Wiki so I assummed it wasn't an option yet, is it something that can be added as a plugin? is there plugins available? Basically I just need it for show and it doesnt need any interaction whatsoever. Again reffering to the Touhou series the the sprites play in 2D while the 3D background helps show the enviroment around you, it doesnt need fancy models just sprites using X,Y,Z positioning and rotation, with some effects like Fog.

If you have any suggetions it would be appreciated.
B
2
G
3
Posts: 32
Reputation: 914

Post » Mon Nov 30, 2009 4:07 pm

Mmm just render background first and then add it into Construct?
B
11
S
3
G
4
Posts: 622
Reputation: 3,186

Post » Mon Nov 30, 2009 4:11 pm

[quote="Sagal":2ghrgsit]Mmm just render background first and then add it into Construct?[/quote:2ghrgsit]

You mean like record the background? the background is basically scrolling trough a 3D enviroment, so how would that work? and what program would you use to render?
B
2
G
3
Posts: 32
Reputation: 914

Post » Mon Nov 30, 2009 4:31 pm

Sprites have a feature that allows to set z heights, so yes basically, but not a true 3d.
You might show an example of how detailed you want to go.
Image Image
B
161
S
48
G
90
Posts: 7,350
Reputation: 66,755

Post » Mon Nov 30, 2009 5:42 pm

http://www.youtube.com/watch?v=byaaYsoAIqU&fmt=18 a very good example, as it has everything I mentioned, 2D graphics imitating 3D ones, and fog for extra effect, and theres even some snow in this one, think itd be possible somehow?
B
2
G
3
Posts: 32
Reputation: 914

Post » Mon Nov 30, 2009 6:26 pm

Yeah simple structures like that are very doable, although somewhat complicated to do when it comes to pitch, and yaw.
Image Image
B
161
S
48
G
90
Posts: 7,350
Reputation: 66,755

Post » Mon Nov 30, 2009 6:49 pm

[quote="FancySamantha":3plbsnqo]http://www.youtube.com/watch?v=byaaYsoAIqU&fmt=18 a very good example, as it has everything I mentioned, 2D graphics imitating 3D ones, and fog for extra effect, and theres even some snow in this one, think itd be possible somehow?[/quote:3plbsnqo]

Yep, you could make something like that. There have been a couple Wolfenstein type games/demos made with Construct, and to get that "in the air" perspective like in the video you would pretty much just need to change the angle at which the "camera" is facing.

Here's David's Wolfenstein engine:

viewtopic.php?f=16&t=1832

If you tinker around with it I'm sure you will be able to come up with something that will fit your needs.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Tue Dec 01, 2009 1:12 pm

Oh yes sorry my bad didn't really get what you meant but now it's clear and yeah it should be pretty easy to do though I've had enough of 3d stuff in Construct -.-

EDIT
What I was able to do with modifying David's awesome engine ^^ Kinda built my own game on top of it with enemies (Didn't work well with multiple enemies) and objective
[url:richpmv5]http://img412.imageshack.us/img412/7135/screenshot3f.jpg[/url:richpmv5]
B
11
S
3
G
4
Posts: 622
Reputation: 3,186

Post » Tue Dec 01, 2009 2:11 pm

Could you not just build a simple scene in a regular 3D package, render it out, put it together as a video file, and then play it using the avi object in your background layer?

Ok, tried doing that. Unfortunately the avi object overlays everything else, and also includes a control, so it's no use for something like this.

I did try just a regular sprite with all the frames and played that in the background to demonstrate how it could look

*

but doing it that way, you're going to end up with an insanely large exe file, which is a shame, cause I'm guessing this is exactly what you're wanting, and would otherwise have worked perfectly.

What would be great would be an addition to the avi object to stop it overlaying everything, and the option to remove it's controls. Allowing it to be placed in any layer, so it can be used for cases like this where a complex animated background is required.
B
3
S
2
G
3
Posts: 628
Reputation: 2,531

Post » Tue Dec 01, 2009 7:44 pm

That would be Killer Instinct style backgrounds.

Sadly, the video functions that DirectX provides always overlay everything, as they take a different rendering path.
I believe that there is some way to render a video frame to a texture, then that texture could be used in a Construct scene.... but yeah, that'd be some work to implement.
B
3
S
2
G
4
Posts: 1,445
Reputation: 4,665

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests