Search found 2827 matches

by airsoftsoftwair
Mon Mar 18, 2019 9:57 pm
Forum: Announcements
Topic: Hollywood 8.0 add-ons released
Replies: 2
Views: 60

Re: Hollywood 8.0 add-ons released

Yup, that's next on the agenda.
by airsoftsoftwair
Mon Mar 18, 2019 9:56 pm
Forum: GL Galore
Topic: RotateBrush() may destroy hardwarebrush
Replies: 3
Views: 16

Re: RotateBrush() may destroy hardwarebrush

Can you test on Windows as well? :)
by airsoftsoftwair
Mon Mar 18, 2019 9:55 pm
Forum: Newbie questions
Topic: Cracktro
Replies: 18
Views: 2833

Re: Cracktro

Any idea what's going on? Yearly Amicamp is near and I would like to display something different from Hollywood :) Yup, GrabDesktop() is unsupported on Android :) On another aspect, I have never understood why I can't get the demo to run in bigger resolutions (I am basing my cracktro on Lemmings cr...
by airsoftsoftwair
Mon Mar 18, 2019 9:53 pm
Forum: APK Compiler
Topic: How to include XML files on the Android device or into the APK compiler.
Replies: 3
Views: 26

Re: How to include XML files on the Android device or into the APK compiler.

Alternatively, you can do this:

Code: Select all

@FILE 1, "gui.xml"
moai.CreateApp(ReadString(1))
Using @FILE will automatically link the specified file to the applet/executable.
by airsoftsoftwair
Mon Mar 18, 2019 9:51 pm
Forum: Hollywood bugs
Topic: Possible bug with Hollywood player for Android
Replies: 7
Views: 77

Re: Possible bug with Hollywood player for Android

Hmm, strange, works fine here. What's the build date of the Hollywood Player you're using?
by airsoftsoftwair
Sun Mar 17, 2019 5:57 pm
Forum: Hollywood bugs
Topic: Possible bug with Hollywood player for Android
Replies: 7
Views: 77

Re: Possible bug with Hollywood player for Android

That's much too big for me to examine. Please cut it down to a minimal sample that demonstrates the issue...
by airsoftsoftwair
Sun Mar 17, 2019 11:29 am
Forum: SDK
Topic: Array and plugin functions
Replies: 3
Views: 98

Re: Array and plugin functions

lua_tonumber() is part of LuaBase. The other two are macros and are defined like this in Lua 5.0.2: #define lua_isnil(L,n) (lua_type(L,n) == LUA_TNIL) #define lua_pop(L,n) lua_settop(L, -(n)-1) Be careful to use Lua 5.0.2 when importing macros because that's what Hollywood uses. Newer versions can b...
by airsoftsoftwair
Sat Mar 16, 2019 6:32 pm
Forum: SDK
Topic: Array and plugin functions
Replies: 3
Views: 98

Re: Array and plugin functions

Sure, this is possible, e.g something like this. static int MyFunc(lua_State *L) { int n, done; for(n = 0, done = 0; !done; n++) { lua_rawgeti(L, 1, n); if(lua_isnil(L, -1)) done = 1; else printf("Value at index %d is %.14g\n", n, lua_tonumber(L, -1)); lua_pop(L, 1); } return 0; } MyFunc() expects a...
by airsoftsoftwair
Sat Mar 16, 2019 6:26 pm
Forum: Hollywood bugs
Topic: Possible bug with Hollywood player for Android
Replies: 7
Views: 77

Re: Possible bug with Hollywood player for Android

Can you post a very short example program which demonstrates the issue?
by airsoftsoftwair
Fri Mar 15, 2019 7:45 pm
Forum: MUI Royale
Topic: Single id for several objects
Replies: 5
Views: 157

Re: Single id for several objects

Ok, then you should be easily able to imitate this behaviour using MUI Royale's mui.Notify() function. This allows you to manually add or remove notifications to a MUI object.