Search found 194 matches
- Thu May 21, 2026 10:56 am
- Forum: Hollywood bugs
- Topic: Linux and the Constant problems
- Replies: 22
- Views: 78406
Re: Linux and the Constant problems
Remember that if you compile the script, you need to enable debug output, which is disabled by default when compiling. Otherwise, when you execute the compiled MCVE, you'll only get the black display briefly and nothing else.
- Wed May 20, 2026 5:19 pm
- Forum: Hollywood bugs
- Topic: Linux and the Constant problems
- Replies: 22
- Views: 78406
Re: Linux and the Constant problems
Hello.
I just tried running the MCVE both as a script and compiled for Debian x64 and in both cases I got the same debugprint: 2134734247
I just tried running the MCVE both as a script and compiled for Debian x64 and in both cases I got the same debugprint: 2134734247
- Sun Jan 11, 2026 12:16 pm
- Forum: Announcements
- Topic: Hollywood 11: Coderise out now
- Replies: 16
- Views: 113735
Re: Hollywood 11: Coderise out now
Great! Thanks Andreas for the continued development and improvements.
- Fri Aug 15, 2025 9:37 am
- Forum: Newbie questions
- Topic: How to get vim to parse .hws files with syntaxes checking
- Replies: 4
- Views: 30683
Re: How to get vim to parse .hws files with syntaxes checking
@MarisaG1967 Syntax highlighting from Hollywood works fine here in Vim. Using Debian Trixie (last week I updated from Bookworm); I don't remember having to enable to make it work. You can also try SciTE, which has Hollywood support too (it can also run your script from the editor), but you have to e...
- Sat Jun 28, 2025 11:50 pm
- Forum: Newbie questions
- Topic: Tables
- Replies: 16
- Views: 39479
Re: Tables
@oceanarts
You can have functions as table members. See https://www.hollywood-mal.com/docs/html ... Table.html.
So you can call those functions using either p_table["name"]() or p_table.name().
You can have functions as table members. See https://www.hollywood-mal.com/docs/html ... Table.html.
So you can call those functions using either p_table["name"]() or p_table.name().
- Sun Jun 01, 2025 7:07 pm
- Forum: Newbie questions
- Topic: How to center a rotated arc?
- Replies: 3
- Views: 12601
Re: How to center a rotated arc?
If you are using layers, maybe using SetLayerAnchor() and RotateLayer() would be easier?
- Sat Mar 08, 2025 9:09 am
- Forum: Wishlist
- Topic: MakeButton to return ID also when ID is given
- Replies: 4
- Views: 36572
Re: MakeButton to return ID also when ID is given
@Bugala From the description, the returned "id" will only be returned when you pass Nil as the "id" argument to the function. And that is also consistent with other functions like CreateAnim() or CreateBrush() for example. Using Nil makes use of Hollywood's "private" po...
- Fri Nov 29, 2024 10:01 pm
- Forum: Newbie questions
- Topic: Naming Layers
- Replies: 9
- Views: 23424
Re: Naming Layers
@oceanarts I name layers as soon as I create one, using id "0" which identifies the last layer created. For example: EnableLayers() SetFillStyle(#FILLCOLOR) Box(0, 0, 100, 100, #RED) ; create layer 1, which is the last layer created right now SetLayerName(0, "redbox") ; give the ...
- Mon Nov 25, 2024 6:01 pm
- Forum: General programming
- Topic: Table1 = Table2, how does this actually work?
- Replies: 7
- Views: 20068
Re: Table1 = Table2, how does this actually work?
@Bugala it is also more or less what is explained in the CopyTable() of Hollywood's help: This function can be used to make an independent copy of the specified source table. As you have probably noticed, when assigning a table to a new variable using the equal (=) operator, only a reference to the ...
- Sun Nov 24, 2024 1:43 pm
- Forum: General programming
- Topic: Table1 = Table2, how does this actually work?
- Replies: 7
- Views: 20068
Re: Table1 = Table2, how does this actually work?
From lua's documentation ( https://www.lua.org/pil/2.5.html ): A table is always anonymous. There is no fixed relationship between a variable that holds a table and the table itself: a = {} a["x"] = 10 b = a -- `b' refers to the same table as `a' print(b["x"]) --> 10 b["x&qu...