Attempting to make 3D background for 2D shmup

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi, as the title says, I'm attempting to add 3D background functionality into a top-down 2D shmup engine that I'm making (similar to Please login to see this link. 3D backgrounds.)

    I've tried using the parallaxer object, but it's too limited.

    I've tried using the perspective object, but it's too finicky and drags the framerate down too much.

    I've tried using OpenGL, and I successfully managed to create the sort of background that I want, but it appears on top of everything. I've read in a short OpenGL thread that there's supposed to be a 'Display above Frame' option that I can uncheck to fix this, but I can't find that option anywhere. Maybe it got removed? Anyways, OpenGL seems like the most likely way to get this to work properly.

    I've played around a little with the 3D mesh object, and it seems like it potentially could work, but limited camera controls make it hard to have the control that I need, and I'm worried that it might make the framerate too slow. Plus it's only one model, rather than rendering a full scene, which would make it hard to work with.

    I've looked into Mode 7, and I don't think it's capable of what I need. I haven't actually tried to use it, though, so maybe it can. I doubt it, though.

    P3D and Firefly would definitely work, but I can't really afford to buy anything at the moment, so they're not an option.

    So, with all of that explained, does anybody have any idea of how I can make a 3D background? Are there ways to work around the limitations of any of these extensions I've talked about? Does another way of making 3D backgrounds in CF2.5 exist that I have completely missed?

  • I have actually tried pre-rendering a video before, and it works, but it makes it very hard to do fancy stuff, such as having the camera slowly tilt upward. In that specific example I suppose I could just pre-make a video that's long enough for the full stage, but I'd prefer to see if there's another way first.

  • I took a look at the 3D Mesh object to see if you could use that.
    You're right, it's quite lacking in the camera controls which will make things tricky, I think the best you can do is have everything scrolling directly at the camera straight on, or top view, but I think doing camera rotations is going to be hard as you don't seem to have any control over the camera's rotation, only it's position.
    Please login to see this attachment.
    (you'll need the 3D Mesh extension to open that, it's in the extension manager. You'll also need Please login to see this link., and you'll need to re-assign it to BOTH the 3D Mesh objects in the scene).

    But yeah, I think it probably sucks, you'll have to make the whole level as a single multi-texture object, and it'll have no lighting or shading.

    Please login to see this link.
    Please login to see this link.

  • This probably isn't the solution you're looking for, but you could use Firefly. I don't think there's any reason layers above Firefly's render would be disrupted, and if you're looking to control the 3D background from your game code / have them interact, that's probably the most natural way.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!