xach's Recent Forum Activity

  • Well I'm sure ill find other totally useless information to post later. But thanks for responding.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • window.screen.lockOrientation("landscape");

    Put this at the end of your scripts in your index.html file. It should work and worked for me.

  • https://www.scirra.com/tutorials/346/on ... -php-mysql

    Do that tutorial. Setup the tables how you want.

  • Ok I solved this. First you need to add an ad to your android app because they will all be SDK and when you add a new ad to your android game you select HTML. Now you want to edit that ad to be auto stretching. Then do this tutorial https://www.scirra.com/tutorials/876/ho ... orted-game . And when you make your ads.html file you want to set margins to 0 in css. I just used the Normalize.css file I use for my site. Now you want to turn scrolling off on your iframe and you can set it to whatever size you see fit.

  • So with some more research it seems to affect only systems that have pixel ratios that are higher than 1. Is there any way to work with pixel ratio?

  • On what trigger should I resize though. its 468, 60 now and in the game it shrinks to an unknown amount. How do i tell the program I know you want to scale this down but can we keep this one true to the pixels?

  • I have leadbolt ads in my game that I export via crosswalk. They are in an iframe and look fine in my starting resolution of 1366, 768. However when I export the game to mobile 720p they look like they are getting cut off. I assume this is because they get scaled down to 720p.

    Thanks

  • Things really did improve after I switch off WebGL. I'm maintaining about 25FPS and the game is playable though not too smooth. I did take all my collisions and put them in a deactivated state and set and overlap at a distance of -15px and +15px X and Y to activate/deactivate. That did work and Im sure when more enemies are on the screen it will help but there was no discernible improvement in FPS.

    Im going to add some speed to the controls to see if that makes things seem less slow.

  • I did see some benefit from turning off WebGL. I got up to 33 FPS but it at times still dropped to 18 and sometimes 8 really getting choppy. Ill see about switching to ASM with WebGL off.

  • So changing to ASM.js had no positive results and frame rates. They seemed to go down a little. I even tried to remove some of the cloud sprites that where being created every 3 secs and moved them to every 7 and it slowed some on my surface. I thought that was funny.

  • Yeah I see ASM now. Thanks. How would you go about Turning off WebGL?

  • Ok I don't use rotation flipping or cloning. There are usually only 10 or so sprites on the screen. How do i use the ASM engine?

xach's avatar

xach

Member since 11 May, 2014

None one is following xach yet!

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies