Search found 3 matches
- Tue Apr 28, 2020 4:05 pm
- Forum: Support and Development
- Topic: Android portrait screen orientation & vertex shader error
- Replies: 7
- Views: 7473
Re: Android portrait screen orientation & vertex shader error
I'm noob in love2d, so I use default shader. According to love2d docs: local pixelcode = [[ vec4 effect( vec4 color, Image tex, vec2 texture_coords, vec2 screen_coords ) { vec4 texcolor = Texel(tex, texture_coords); return texcolor * color; } ]] local vertexcode = [[ vec4 position( mat4 transform_pr...
- Mon Apr 27, 2020 6:44 pm
- Forum: Support and Development
- Topic: Android portrait screen orientation & vertex shader error
- Replies: 7
- Views: 7473
Re: Android portrait screen orientation & vertex shader error
Thank you for your replies! Full error code: Error boot.lua:535: Cannot compile vertex shader code: (73:0) : error : invalid type field for default precision statement (74:0) : error : invalid type field for default precision statement Traceback [C]: in function 'setMode' [C]: in function 'xpcall' [...
- Sun Apr 26, 2020 8:46 pm
- Forum: Support and Development
- Topic: Android portrait screen orientation & vertex shader error
- Replies: 7
- Views: 7473
Android portrait screen orientation & vertex shader error
Hello, I have developed game and now i want to test it on android. I followed this guide: https://love2d.org/wiki/Game_Distribution/APKTool to build an apk file. Everything is working fine, but i can't change screen orientation to portrait. I tried to change android:screenOrientation="sensorLan...