goodwill295's Recent Forum Activity

  • So I had this problem earlier this week.

    What you do is select 'scale outer' in the project settings for fullscreen in browser. This is what cocoonjs defaults to if if you use a letterbox view (as its unsupported by cocoonjs). However If you designed your game for widescreen you'll find that when previewing it in cocoonJS you'll get a white strip along the right edge of the screen.

    So what you need to do is make the layout width larger than the window size width. My windows size was 900x1600. So I increased each of my layouts to 1200x1600. It will add the extra space to the right side of the screen. Which means if you have centered things based on your original layout size you will have to rejig things to your new center on all your layouts (yeah it was a pain). Then if you want to center the layout use the 'Scroll To' behavior on something that is in the horizontal center of your screen.

    kapeesh?

    Does anyone know another solution than this? For my game I have objects wrapping around the layout and this ruins the game mechanic since the wrap around will happen somewhere out in the scale outer. I have tried both wrap to layout and viewport but both cause problems.

    I could go in and recode my own wraparound code but that would require a lot of effort this far into the games development.

    Thanks

  • Figured it out. For anyone else who is wondering, here is a link:

    http://c2metro.wordpress.com/2012/09/30 ... tisements/

  • Try Construct 3

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

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

       I have published a game to the Windows 8.1 marketplace and I wanted to ad advertisements through the Microsoft ad SDK for Windows 8. However, I only want to show the ad on one of my three layouts that are in my game.

       Is there any way to find out which layout is currently playing in Visual Studio and if it is my game over screen, then show an ad?

       I have the game working with ads showing all of the time by adding it to the index.html code in the body.

    Thank you

goodwill295's avatar

goodwill295

Member since 8 Feb, 2014

None one is following goodwill295 yet!

Connect with goodwill295

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies