Hi,
I have a simple player and platform, as you can see, testing it on desktop is fine, but when exported and installed on an Android device, it is clipping through the floor?
Anyone else had this?
Thanks
Jim
Hi,
I have a simple player and platform, as you can see, testing it on desktop is fine, but when exported and installed on an Android device, it is clipping through the floor?
Anyone else had this?
Thanks
Jim
Firstly
try going through your events and also the behaviours you have given to your player and the floor.
Secondly
Try building with adobe codova
“try going through your events and also the behaviours you have given to your player and the floor.”
Done, as its fine on desktop.
Try building with adobe codova
Done, same error.
Thanks though.
Jim
Does it do the same thing on thick platforms?
Does it work fine on desktop on thin platforms?
Are you changing something in the game for mobile devices?
Check your points and hitboxes.
So I saved Geodash from the demo page, exported it as an .apk and its broken on my tablet and mobile.
Is there a export bug in the GDev update?
Can I test the export on a old version of GDev?!
Sure you can try if you want
Have you tried the network preview before exporting?
You are an absolute star!
1st - I did not know you can test on android without exporting, and I am limited to 2 exports a day, so that is amazing! Thank you.
2nd - it works perfectly via Network!
Bump, sorry guys.
Jim.
Are we talking about the geodash example or your own project?
Are we talking about the player being inside the platform, or the export not working at all on Android?
Your messages are not clear.
Also, I asked you several questions in my first message and you ignored them.
Sorry Gruk,
My bad.
Does it do the same thing on thick platforms?
Yes, the platform is 1 sprite, with the size extended 32, 64, 128 etc, not duplicate sprites.
Does it work fine on desktop on thin platforms?
Yep, thin or fat.
Are you changing something in the game for mobile devices?
Nope, I don’t know how you would do that.
Check your points and hitboxes.
Done, 1st thing I thought of.
Are we talking about the geodash example or your own project ?
Own project, but the code is based on GeoDash, that’s why I tested it, and was surprised it broke too.
Are we talking about the player being inside the platform, or the export not working at all on Android?
The Player has the ‘Player’ attribute, the floor has the basic ‘Platform’ attribute, that’s all, same as the Geo demo. I think there might be a export bug based on the ‘Player’ attribute as I don’t think the ‘Platform’ is the problem, it’s the ‘Player’ dropping down through the ‘Platform’.
Having tested the GeoDash demo which does not work, I presume it’s not my code.
I will test/export both games on an old version of GDev, (if I can open the project).
Be right back, thanks again.
Jim.
Very interesting…opened on GDev v4 and previewed on Desktop, same issue as on Android but now on Desktop…
So you are saying that the geodash demo (without any changes) doesn’t work properly on Android after export?
Yep, you can try installing the apk export from the demo that did not work for me:
For reference: https://gdevelop-app.com/game-examples-starters/
Dropbox - File Deleted
Thanks again.
I installed your link on my phone, it works.
Thanks again, I will try on another phone.