Search found 150 matches
- Thu Jun 20, 2024 3:59 pm
- Forum: Hollywood bugs
- Topic: Documentation of data types and MakeButton()
- Replies: 4
- Views: 4143
Re: Documentation of data types and MakeButton()
When you use automatic ID selection, you dont get IDs as numbers but something that is in the #LIGHTUSERDATA type, which isn't meant to be human readable. There's no need to interpret such data yourself, just use contents for IDs as it is. If you want to use IDs with numbers, use the manual ID numb...
- Thu Jun 20, 2024 3:37 pm
- Forum: Hollywood bugs
- Topic: Bug in generic For-In-Next Loop?
- Replies: 3
- Views: 2613
Re: Bug in generic For-In-Next Loop?
That is going to be fixed soonish but I think, Ola Söder needs to accept the fix first.Bug:
1. The syntax highlighting in the vim plugin does not work for generic loops. The Author seems to have never used it. Shame on him!
https://github.com/vim/vim/pull/15059
Cheers,
Tom
- Sun Jun 16, 2024 12:13 pm
- Forum: Hollywood bugs
- Topic: Documentation of data types and MakeButton()
- Replies: 4
- Views: 4143
Documentation of data types and MakeButton()
Documentation of MakeButton() https://www.hollywood-mal.com/docs/html/hollywood/MakeButton.html says: ID: Contains the identifier of the button that triggered this event. This field is a number. But at least on my side with a button of Type #LAYERBUTTON, the `ID` is of type `#LIGHTUSERDATA` Hence, I...
- Tue May 28, 2024 1:32 pm
- Forum: General programming
- Topic: OpenAI & Hollywood
- Replies: 3
- Views: 3048
OpenAI & Hollywood
I was curious and asked in ChatGPT4o for Hollywood do you know the programming language Hollywood? And indeed, it does: ChatGPT Yes, Hollywood is a programming language designed for multimedia applications. It was originally created for the Amiga computer platform but has since been made available f...
- Sat May 25, 2024 8:54 am
- Forum: General programming
- Topic: How to find out which #RANDOMEFFECT was used?
- Replies: 7
- Views: 4399
Re: How to find out which #RANDOMEFFECT was used?
Here we go. All #SCROLLXXX-Effects return a 0: fx: 47 [#SCROLLLEFT] - Number frames to draw: 0 fx: 48 [#SCROLLRIGHT] - Number frames to draw: 0 fx: 49 [#SCROLLTOP] - Number frames to draw: 0 fx: 50 [#SCROLLBOTTOM] - Number frames to draw: 0 fx: 51 [#SCROLLNOTHEAST] - Number frames to draw: 0 fx: 52 ...
- Fri May 24, 2024 9:25 pm
- Forum: General programming
- Topic: How to find out which #RANDOMEFFECT was used?
- Replies: 7
- Views: 4399
Re: How to find out which #RANDOMEFFECT was used?
Uh, I got this now once for HW10, too. Pretty hard to reproduce though. If I can find a MCVE, I will post it here
cheers,
Tom
cheers,
Tom
- Fri May 24, 2024 8:47 pm
- Forum: Hollywood bugs
- Topic: Bug in SetLayerStyle and Brushes?
- Replies: 7
- Views: 6403
Re: Bug in SetLayerStyle and Brushes?
The following is pure speculation but from my "real" application it seems , the problem occurs only with async-hiding/showing 2 layers at the same time + skipping some frames in the loop, if the number of frames to hide is bigger than the number of frames to show. Even if u re-draw the sam...
- Wed May 22, 2024 8:30 am
- Forum: Hollywood bugs
- Topic: Bug in SetLayerStyle and Brushes?
- Replies: 7
- Views: 6403
Re: Bug in SetLayerStyle and Brushes?
One more finding from the docu: https://hollywood-mal.com/docs/html/hollywood/GetAttribute.html #ATTRNUMFRAMES: Returns the number of frames of this asynchronous drawing object; please note that if you use this value as the base for a loop over AsyncDrawFrame(), you must add one loop because the fin...
- Tue May 21, 2024 7:57 pm
- Forum: Hollywood bugs
- Topic: Bug in SetLayerStyle and Brushes?
- Replies: 7
- Views: 6403
Re: Bug in SetLayerStyle and Brushes?
Alright, second try. Almost the same code as above but with the fix from @Flinx + skipping some frames of the show layer: Local bigger_k = k * 2 bigger_k = IIf(bigger_k <= num, bigger_k, num) (+ FX is now #STRUDEL + Wait(1) in Loop .. just to be able to see something). See code: @VERSION 8,0 @DISPLA...
- Mon May 20, 2024 9:50 pm
- Forum: General programming
- Topic: WaitEvent() cannot be called in functions triggered by some Event?
- Replies: 2
- Views: 2461
Re: WaitEvent() cannot be called in functions triggered by some Event?
Thanks Andreas. Makes sense and too bad :D So far, I have been using WaitEvent() here and there instead of Wait() to delay the program flow but still get and handle time interval events. Usually, the return value of WaitEvent() is in such a case of no interest. I used the return value only for await...