Cor: before your able to broadcast to mobile you should copy:
baked-vegmask.png
baked-m_mobile.png or baked-m.png
to your GGLoader/media/gameguru/ folder.
Also remember to copy the collected media "ggmedia" to /ggloader/media/ggmedia
Before preparing a mobile version i always delete the temporary ggmedia folder and run the project again to collect new media, this way im sure only the media from the level is included.
All media must be inside your project before agk as able to broadcast it
When you got your game into your mobile , here is some tips you can use to get a high FPS.
Setting Tips:
global mobileversion = 1
This will cut the terrain polygons in half.
global mobileversion = 2
This will cut the terrain polygons in half AGAIN.
global usemobiletextures = 1
Use reduced textures for diffuse/normal/specular textures. a must for mobile, if you still run out of memory on your mobile edit “ggfunc.agc” and search for “result_mobile2.png”
// ggtexturem$ = ReplaceString( ggtexture$ ,"_result.png", "_result_mobile2.png" , -1 ) // use even smaller textures.
Enable this line in 2 places to use even smaller textures.
global usewaterreflection = 0
When you use water reflection then everything is rendered 2 times , so disable it to nearly double your FPS.
global normalshaderpath$ = "mobile/"
Setting this will use the fastest shaders for everything, you have 4 different shader packs available, so when you change the shaderpack used you get less features but more speed , so you can try the different packs until you get the speed features your looking for. You must use “desktop/“ if you use realtime shadows.
global basemaponly = 1
This will generate one large terrain texture and use a detail textures , so this will be the fastest terrain available. ( you will need to copy the auto generated "basemap.png" into your media folder , see doc. ).
global objectsonlyusenormalspec = 1
Terrain do not use normal and specular, mush faster.
global includenormalmap = 0
Disable normal maps and specular maps on all objects and terrain.
Also disable the post processing shaders you dont need:
global usebloomshader = 0
global usecartoonshader = 0
global usedithershader = 0
global useditherc64shader = 0
global usefxaashader = 0
global uselensflare = 0
best regards Preben Eriksen,