samsuffi's Recent Forum Activity

  • Hello everybody,

    I have a problem when I'm on the construct3's editor of layout. When I'm scrolling or zooming, there is a lag (10FPS or less). This problem started when I use Construct 3 on my new computer. It's certainly a problem of hardware. Is it a solution to solve that?

    New computer:

    -OS: Windows 7

    -Processor: I5-2400 3.10GHz (quadcore)

    -System: 64 bits

    -RAM: 8 Go

    -Graphic card: AMD Radeon R9 200 Series (My last pc had an Nvidea's Graphic Card and worked fine)

    Thank for reading

    Solution to the next reply

  • Hello HayateX,

    I'm so sorry that my solution don't works for you... And it reveals a very bad new for all the mobile's developpers. I hope that Google chrome solves this problem fast but until now, no answer...

    However, my solution consisted in forcing WeGL2 to change to WebGL1. If it don't works for you, we can suppose now that some effects in Construct 2/3 aren't supported by mobiles at all. But which ones?

    Complicated... Is there an other solution to make effects in construct without WebGL and plugins?

  • Sonste

    Hello,

    I finally found a solution by checking this forum:

    https://www.construct.net/fr/forum/construct-3/general-discussion-7/force-webgl1-135173

    But let's me recap the process:

    1: Export your project NOT minified with cordova to an Android studio project

    2: In your folder, follow this path app\src\main\assets\www

    3: Open the file C2runtime.js with Notepad

    4: In Notepad, go to Edit, Search

    5: Search this line:

    this.gl.getParameter(this.gl.VERSION).indexOf("WebGL 2") === 0

    Replace by this:

    this.gl.getParameter(this.gl.VERSION).indexOf("WebGL") === 0

    6: By the same process, replace this line:

    this.canvas.getContext("webgl2", attribs)

    by this:

    this.canvas.getContext("webgl", attribs)

    7: Then, import your project in Android Studio, build it and generate a signed apk with your keystore

    Sadly, according to the Scirra's team, this bug came by Google Chrome who blacklisted WebGL2 for some devices. I wrote a message to them to find a solution by allow all the devices to get WebGL2. For now, we have to agree to repeat this procedure for all our mobile games using Admob...

    Anyway, thanks all lot for the community, you're awesome

  • Hello, yes, you can. Try to make a family of your 23 objects by clicking on the family folder in your project. And, in the event sheet, use this family like an only one object to do actions and conditions.

  • Thank you for your answer. I finally found the file "c2runtime.js", changed the line to fix webGL 1, exported with Android studio to generate a signed apk file. But nothing change... When the ad is loading, black screen but I can hear the sounds of the game.

  • Thank you for your answer. But I tested my game on Asus devices. I saw the discussion about WebGL1 but I don't know how to change the runtime in construct 3 to force WebGL1. Where is it?

  • (The probleme is now solved. If you want to get the solution, go to the my fourth reply)

    Hello everyone,

    I'm currently creating a mobile game with ads by using MobileAdvert (Admob). When I want to show a rewarded video it turn to a black screen and then, show the ad perfectly. But after I see the video, the game still to show a black screen until I restart the game.

    My theory is when the game start to use MobileAvdert, graphics aren't accepted and then turn black. Is it possible to disabled MobileAdvert after showing an Ad or there is an other issue to solve that?

    Thanks for reading me

  • I finally solve the problem, thank you again for your supports!

    (the second layout didn't work because of Admob but it solved now)

  • Thank you for your answer! It work perfectly for the first layout! But, when I go to an other layout, I see the game just for one second and turn black... Is the game overstuffed by sounds and musics? I have 8 sounds and 3 musics...

  • Try Construct 3

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

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

    I have currently a problem with my game. When I ran it on mobile, it work perfectly if it's a remote preview. But when I have exported this to a signed apk file, it don't works... It turn to a black screen after 1 second since the start.

    How are the display settings?

    Viewport size: 896*504 (true 16:9)

    Viewport fit: Auto

    Fullscreen mode: Letterbox scale (I have also tested Letterbox integer scale, seem)

    Fullscreen quality: High (same with low)

    Orientation: Landscape

    Sampling: Point

    Pixel rounding: Checked

    Enable WebGL: Checked

    Use High-DPI display: Checked

    Enhanced acceleration: Checked

    Downscaling quality: Low (I also tested High, seem)

    Clear background: Unchecked

    What did I do?

    1:I exported the game by: Android Studio, Phonegap, Cocoon, directly on construct 3

    2:I disabled WebGL

    3:I disabled Admob

    4:I disabled Local Storage

    5:I disabled minify script

    6:I exported the game with the minimum android version 5+, 6+, 7+, 8+

    7:I dislabled preload sound

    8:I changed the first layout

    9:I deleted the keyboard and other things that work only on pc

    10:I disabled google play service

    11:I disabled AJAX

    I exported my game with all of these changes, and it steel not working (black screen)...

    I really need help... I exported my game on google play, my version is online and I want to solve it quickly.

samsuffi's avatar

samsuffi

Member since 29 Feb, 2016

Twitter
samsuffi has 1 followers

Trophy Case

  • 8-Year Club
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

11/44
How to earn trophies