Search found 5466 matches

by airsoftsoftwair
Sun May 26, 2024 9:12 pm
Forum: RapaGUI
Topic: Overwriting Title in List view
Replies: 1
Views: 126

Re: Overwriting Title in List view

Hmm, what is "rap.GUI.getTextById" et al. anyway? Is that some custom function? It's definitely not a RapaGUI function because those start with "moai.".
by airsoftsoftwair
Sun May 26, 2024 9:11 pm
Forum: General programming
Topic: How to find out which #RANDOMEFFECT was used?
Replies: 6
Views: 434

Re: How to find out which #RANDOMEFFECT was used?

nexus wrote: Sat May 25, 2024 8:54 am Here we go. All #SCROLLXXX-Effects return a 0:
Thanks, clearly a bug. Will be fixed.
by airsoftsoftwair
Sun May 26, 2024 9:10 pm
Forum: Wishlist
Topic: resource monitor, virtual files
Replies: 2
Views: 290

Re: resource monitor, virtual files

I would suggest that the resource monitor also shows the number of virtual files. Not really doable because read-only virtual files created by DefineVirtualFile() are really just specially formatted-strings. The only real virtual files are the ones created by DefineVirtualFileFromString(). These co...
by airsoftsoftwair
Sun May 26, 2024 9:08 pm
Forum: Wishlist
Topic: parent directory
Replies: 5
Views: 234

Re: parent directory

Missing a command returning the parent directory of a given path complying with the canonize style. Hmm, what exactly are you trying to do? This works here and prints the full path of the parent directory: DebugPrint(CanonizePath("..")) Of course you could also pass another path to Canoni...
by airsoftsoftwair
Sun May 26, 2024 9:06 pm
Forum: Hollywood bugs
Topic: Bug in SetLayerStyle and Brushes?
Replies: 6
Views: 673

Re: Bug in SetLayerStyle and Brushes?

In this case, however, only the last frame is shown at the end of the loop. Can be seen when placing a `;` in front of `AsyncDrawFrame(hide,k)` to not show the FX for hiding. The behavior seems to be wrong in both cases. The FX has 90 frames to draw and I would expect to see all frames 2,4,6,8 up t...
by airsoftsoftwair
Mon May 20, 2024 9:45 pm
Forum: General programming
Topic: How to find out which #RANDOMEFFECT was used?
Replies: 6
Views: 434

Re: How to find out which #RANDOMEFFECT was used?

Not yet. Actually, I could not re-produce it with Hollywood 10. However, I discovered it the first time (and afterwards regularly) with Hollywood 8. Could be a bug in Hollywood 8. There were quite a number of fixes in the transition effects library in preparation for the Designer 6 and 7 releases.
by airsoftsoftwair
Mon May 20, 2024 6:15 pm
Forum: General programming
Topic: WaitEvent() cannot be called in functions triggered by some Event?
Replies: 2
Views: 323

Re: WaitEvent() cannot be called in functions triggered by some Event?

The error message seems not to be fitting :) But I guess there is a good reason, why this is not possible? Indeed. On several systems calling WaitEvent() will enter the program main loop and will never return. The documentation is actually a bit of out of date here because it says that WaitEvent() ...
by airsoftsoftwair
Mon May 20, 2024 6:11 pm
Forum: Hollywood bugs
Topic: Bug in generic For-In-Next Loop?
Replies: 2
Views: 315

Re: Bug in generic For-In-Next Loop?

Actually, I think there is a misunderstanding here. When using the generic for statement, the variables are always local. There is no way to use the generic for statement with non-local variables. That's why the "Local" keyword isn't supported for the generic for statement. Just check: Loc...
by airsoftsoftwair
Mon May 20, 2024 6:07 pm
Forum: Hollywood bugs
Topic: Typo in the manual
Replies: 1
Views: 313

Re: Typo in the manual

Thanks, fixed!
by airsoftsoftwair
Mon May 20, 2024 6:07 pm
Forum: General programming
Topic: How to find out which #RANDOMEFFECT was used?
Replies: 6
Views: 434

Re: How to find out which #RANDOMEFFECT was used?

nexus wrote: Fri May 17, 2024 6:13 pm returns a 0. I am wondering how that can be and which RANDOMEFFECT causes that?
Good question. Normally that shouldn't happen. Have you got an MCVE that demonstrates the issue?