skjeggen's Forum Posts

  • 6 posts
  • If you build with Android Studio you can set the CutoutMode in the theme (to never)

    Thanks! Excuse my stupidity, but how do you open a construct 3 project in Android studio?

    Much appreciated!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For some reason the 'Viewport Fit' setting doesn't seem to be working for my game anymore? (app is on the Google Play Store, made in construct 3 - exported via Cordova)

    I have 'Viewport Fit' set to 'Auto' (so it sets to black the part of the screen with any front cameras or weird indents so the viewport is always rectangular with no interruptions).

    But on running my app on my new Pixel 6a, the viewport covers the whole screen (including the area around the front camera - meaning there is now a big black dot in the viewport) as if the 'Viewport Fit' setting was set to 'Cover'(which it is not).

    I went back and ran it on a Pixel 4a (which was working as intended a few weeks ago - the screen around the front camera correctly set to black) and I'm also now getting the same issue.

    Anyone else having this issue? Is there something I'm missing? I haven't made any changes to my game for quite a while.

    Any help much appreciated! It basically makes my game unplayable...

  • Hi Sizcoz

    Ah this does actually work a lot better! Thanks!

    However if the element is not square, it means that it is likely it will no longer fit the viewport after the rotate. Still looks like below:

    I've tried changing the size after the rotate, but that doesn't seem to help.

    Any thoughts?

    Thanks!

  • Hi All

    I've been using the new HTML element plugin, more specifically the HTML table example.

    It's great! I've managed to implement it into my game pretty seamlessly.

    However I wish for the table to be rotated 270 degrees on occasion.

    I've used 'transform: rotate(270deg)' which does rotate the table contents. (see below code)

    .resultstable {
    	width: 100%; /* Fill up the width of the HTML element */	
    	border-collapse: collapse;/* Allow cell borders to collapse */
    	transform: rotate(270deg);

    However for the life of me I can't figure out how to change the size to match the HTML element at this new angle. The 'Width: 100%' command sets the size based on the table before the rotation. I've tried putting it after the rotate command, but it hasn't made a difference.

    I've tried loads of other things and scoured Google search but to no avail.

    I know this is more of a CSS question rather than construct! But any help much appreciated.

    See below image of what the table looks like after rotation.

    Thanks!

    Tagged:

  • So I have two instances of an object called 'Block' and when they overlap an instance of another sprite (let's call it 'Area') I want the block to centre itself to the centre of the sprite 'Area'. (On overlap > set position to object 'Area' event)

    However when two instances of 'Block' are overlapping two separate instances of 'Area' at the same time they both set their position to the same instance of 'Area' rather than to the ones they are respectively overlapping.

    Any help would be much appreciated

  • I'm having this same problem even when uploading via a URL. And the upload isn't that slow it takes about 30 seconds to upload and it still fails. :f

    Edit: It's working now

    Edit2: It's now not working again >.<

  • 6 posts