Page 1 sur 1

How to fullscreen in Ti-lua?

Message non luPosté: 15 Juin 2015, 05:54
de lazydog
Well,I played Nyan Cat by Levak.It's so cool!I want to write a game without OS's title,but I can't find anything useful.
Can someone share the way to fullscreen in Ti-Lua?Thanks.

Sorry for my poor English.

Re: How to fullscreen in Ti-lua?

Message non luPosté: 15 Juin 2015, 22:02
de Adriweb
Well, officially, you can't.
However, there are tricks to achieve that.
In ApiLevel 1.0 (old versions), you could play with gc:begin() and gc:end(), and in ApiLevel 2.0, you can look at that here : https://github.com/adriweb/EEPro-for-Ns ... 1938-L1959 which is used to display a little logo in the tab :D The on.draw is called here : https://github.com/adriweb/EEPro-for-Ns ... .lua#L2662

Re: How to fullscreen in Ti-lua?

Message non luPosté: 19 Juin 2015, 12:51
de lazydog
Sorry for giving a reply so long.
Well,I have seen the code and maybe I'll know what I should do next.Thanks!