HELP, BUG WITH IMAGES WITH TRANSPARENT BACKGROUND!

djzcreativedjzcreative Member, PRO Posts: 33

898 / 5000

Hello, I have a problem with my app, I have an actor (basically an animated finger that tells the player what to do) that is repeated in some scenes and when it spawns in the scene a flash occurs.

Has anyone had this bug? how can i fix it?

another problem encountered is on the download with the qrcode code to test the app on devices, lately it tells me that the qrcode is wrong. is it possible to solve this problem?

and finally I need an info on how to make the app compatible with various screen formats for android devices, I saw that there is a tutorial (UNIVERSAL BINARY I think but it's for IPHONE) I don't understand how to integrate pixel formats with the screen for android.

I apologize for the silly questions but I am a beginner and I am struggling a bit. Thanks for collaboration

Hello.

Comments

  • uptimistikuptimistik Key Master, Member, Sous Chef, PRO Posts: 254

    Hi there! Can you post an image of the behaviours in the finger actor?


    I'm not sure about the QR code since I've never used it before.


    The best way to implement Universal with GS is to try to design everything within a smaller 'box' making sure that nothing important (buttons, instructions etc) is placed near the edge of the scene.

    GameSalad Templates and Custom Development at the Official Marketplace: http://gshelper.com

  • bob loblawbob loblaw Member, PRO Posts: 793

    if you’re talking about one of the universal build tutorials on this forum that uses “stretch” and adjusts the position of actors on a HUD layer based on the size of a device’s screen (and adjusts the camera size accordingly) it will work on android devices as well when you build or test. you just need to make sure your scene width is enough to compensate for your camera ratio adjustments. a width of 1800 should cover it if using the full starting height.

    i did my base build for my games using ipad dimensions (and im sure others do as well) because it’s the easiest to scale from to longer flatter displays.

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,054

    For the QR code @djzcreative, the URL times out, so you have to click on the QR code link every time.

  • adent42adent42 Key Master, Head Chef, Executive Chef, Member, PRO Posts: 3,054

    For the flashing, try making sure "Preload Art" is checked on the Actor.

  • djzcreativedjzcreative Member, PRO Posts: 33

    Thanks everyone for your help, I'll try and follow your suggestions I'll let you know.

  • djzcreativedjzcreative Member, PRO Posts: 33

    This is the actor who when he spawns creates a flash in the scene.

    the preload is active, perhaps because it is transparent?

  • ArmellineArmelline Member, PRO Posts: 5,331

    Are you able to reproduce the flash in a sample project you can upload to the forums?

  • djzcreativedjzcreative Member, PRO Posts: 33

    I don't know how to do it, but I will try to explain myself better, when the actor hand spawns for a moment it is as if you see the image of the hand in full screen for a split second and then the hand appears in the scene. this actor is repeated in several scenes but this defect occurs only a few times.

  • NoobDevNoobDev Member, PRO Posts: 38

    Sorry to resurrect this dead post because I couldn’t find the answer anywhere. I’m currently experiencing the same issue the OP first had and am hoping someone knows how to fix this. In the video as you transition from the shop back to the player stats screen you can see for a fraction of a second a flash with an unknown object. I slowed it down and discovered it was display rule from a different actor in the scene. What I determined to be happening is for x reason the rule is either being executed by the actor I have set up as my bg actor (which has no rules in it either in the prototype or the scene instance) OR an even more ludicrous theory is that actors appearance (and by extension its display rule) is being used as the bg actors image for a split second before its image reloads. The reason I put forth this theory is because this same glitch happens in my title menu where a random image of one of the icons will do the same thing and display itself in place of my bg image for a fraction of a second before correcting itself. This bug only happens when going from scene to scene but as far as I know only happening with these two scenes. I previously got around this by: after touch is pressed go to scene y. scene y being an empty scene where it has a rule saying when scene time is greater than 0 go to scene x, where scene x is the title menu. Boom no image glitch but I can’t rely on that method anymore if suddenly that starts happening in multiple places in this game or my others. I don’t uncheck preload art in any of my actors and the problem only shows on my test devices and not in the gs creator. https://www.dropbox.com/scl/fi/9wcu53q4whd4euuguca5f/Video-Apr-17-2024-12-10-19-PM.mp4?rlkey=500gv6xo3ha74mde5cv3caozt&dl=0

Sign In or Register to comment.