Fredrik's Forum Posts

  • 10 posts
  • Thanks for the answers. :) Your plugin seems to work really well except for that centering error, so thanks for that fix. :D

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hi,

    I noticed that when the game is in "filled" mode the game is not centered correctly. See this image for an example.

    Also, is it possible for the letterboxing to be pure black instead of a dark grey? I Think the dark grey comes from the ui-dark.css file, correct? Oh, and one last question. :) Is it safe to use the latest beta release (r105) with this plugin or do you recommend r104?

    Many thanks,

    Fredrik

  • Oh I see, thank you.

  • Thanks for the fast answer, but how would I make the hidden layer take upp the full height of the snapped mode?

  • Hello,

    I'm using the latest beta release of Construct 2 and I'm wondering how to handle snapped mode. As it is now the game is just letterboxed with huge black spaces above and under. This is not optimal and what I want is for the game to be paused and a screen showing up (that takes upp all the height of the snapped mode, preferably in metro style) that says the game is paused with a button to make it fullscreen again. Is this possible with the official Windows 8 implementation? I saw the "on viewstate snapped" event and "try unsnap" action but I'm not sure how to use them correctly. I suspect I might have to combine those with a css media query, right?

  • Wow you work so fast! :)Your plugin is so much better than the offical one from Scirra. Thank you!

  • I caused the bug using rotation touch mode and sometimes Pinch/zoom touch mode. And yeah it's the simulator so it's not real touch. Maybe that's why it's happening? It's generally when I use rotate/pinch/zoom around the edges that the error occurs. I have posted an image of how it looks like when i can start moving the canvas around.

    I'm using the Bouncing Balls example, the only thing I have edited is setting Fullscreen in browser = Scale

    http://i.imgur.com/yD7aC.png

    If I set fullscreen to = off you can pretty much freely move the whole canvas around and even outside the screen using the same modes.

    Sadly I don't have a real multitouch device to test this on, it might just be a fault with the emulator but I can't test that. Oh, I can't reproduce this with the example apps that come with Visual Studio 2012 so I'm not convinced.

  • Hello,

    I have found that Pinch-to-Zoom/Rotate moves the canvas around in fullsceen mode using the simulator in Windows 8. This of course is not good at all as it kind of breaks the game. I know it's just a experimental build but just wanted to point it out if you didn't already knew.

    /Fredrik

  • I have managed to make it so that the layout changes to another layout when it enters snapped mode (WindowWidth =< 400 for example)

    The problem is that you have to use Fullscreen (Scale) for Windows 8 apps. So when you snap it the new layout takes up just a miniscule height in the snapped window. This is because i put the WindowSize as (1920, 1080) So when I snap it, it scales the Height and Width to keep the aspect ratio. (See picture 2)

    Changing the Layout sizes for Layout2 does not have the desired result. (See picture 3)

    <img src="http://i.imgur.com/35wxB.png" border="0" />

    My app in fullscreen with Layout1

    <img src="http://i.imgur.com/9Abj6.png" border="0" />

    My app in snapped mode with Layout 2

    <img src="http://i.imgur.com/Tx5z8.png" border="0" />

    My app in snapped mode with Layout 2 and changed layout size (Size 400, 1080)

  • Hello,

    Is there currently a way to change what is displayed on-screen when a user snaps the game window to the side of the screen? (With another app taking up 3/4 of the screen)

    As an example for how "Cut the Rope" solved it:

    <img src="http://i.imgur.com/IG5ml.jpg" border="0" />

    I tried poking around Visual Studio 11 and it appears that they are using media queries to do this, would that be feasible with Construct 2?

    Many thanks,

    Fredrik

  • 10 posts