Resizing Window Questions

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.
  • Does anybody know how I could enable the application window to allow re-sizing, but at the same time, keep the games resolution? As in, if I made the window bigger, it would adjust it's width and height accordingly without stretching the game un-proportionately. I believe this is commonly done in Flash applications. I know that the Ultimate Full-screen object does something like this, but I'm looking for it to work without having to maximize the window. If anybody knows it would be greatly appreciated.

    Thanks for any help given.

    That's my main.

  • I use the Window Control object for just such a thing. Just set its X/Y positions to the (screen width / 2) - frame width and (screen height / 2) - frame height. Very helpful!

    Weebish Mines, my retro Metroidvania!
    Please login to see this link.

  • Thank you, but I don't think you know what I mean. I need the actual game to stretch as far as possible, but only as long as the game's resolution (640x480) stays the same, so if you stretch the window down but not sideways, it doesn't change it's size until it can do it evenly.

    That's my main.

  • I believe what I'm trying to do is keep the aspect ratio, as in if you were to stretch 640x480 upwards it wouldn't just become 1000x480 or something, but it would become 1000x750 when stretched diagonally. I tried the "Keep Scree Ratio" option, but all it did was make it so the screen didn't get any bigger or smaller.

    That's my main.

  • Is it not possible to set the height by width divided by aspect ratio?

    Like if you stretched 640 wide to 1000 wide you'd just set height to Floor(width/1.33333) = 750

    Please login to see this link.

    My examples:
    Please login to see this link.
    Please login to see this link.
    Please login to see this link.

  • Thanks for the suggestion Konidias I will try that with the window object, but I assume that will cause some frame rate issues. I was hoping there was a way to do that without extensions.

    That's my main.

  • Thanks for the suggestion Konidias I will try that with the window object, but I assume that will cause some frame rate issues. I was hoping there was a way to do that without extensions.


    There isn't a way to do it without extensions. Also, there isn't any reason not to use extensions unless you want your game/app to be compatible with every runtime.

    My Please login to see this link. (which I actually use), my Please login to see this link. (which I mostly don't use), and my Please login to see this link. (which I don't use anymore pretty much at all really). If there are awards for "'highest number of long forum posts", then I'd have probably won at least 1 by now. XD

  • I've been playing with this a lot as well and keep running into weird little issues. On some resolutions certain objects overlap or get squashed/pulled. If I come up with something, I'll be sure to let you know.

  • Ratty have you come up with a solution? I use the window control object to make window bigger but in some frames objects get squished/streched and look weird. Ive tryed diffrent window control object resolutions but no good.

  • I ended up using the innate global settings in conjunction with the innate frame resizing option. I then stretched my objects manually at start of frame. It worked for what I needed but may not work for all.

Participate now!

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