Search found 191 matches
- 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: 291
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: 1174
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: 332
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: 1830
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: 13120
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: 11675
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: 11675
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...
- Fri Oct 25, 2024 6:11 pm
- Forum: Newbie questions
- Topic: Way to get relative pathpart of a file?
- Replies: 4
- Views: 9817
Re: Way to get relative pathpart of a file?
@Bugala If I understood you correctly, the folder "Pictures" is always inside your program's folder, which is the current folder, right? In that case I think using a variable for the path could help you. Something like this at the start of your script (haven't tested): If #HW_AMIGA myDirec...
- Sat Oct 05, 2024 10:04 am
- Forum: GL Galore
- Topic: GL Galore brush speed test (for tilemapped games)
- Replies: 12
- Views: 50004
Re: GL Galore brush speed test (for tilemapped games)
@lazy
Actually, the scrolling text in the start screens isn't as smooth as it seems at first. It kinda jumps backwards a little to the right every second I would say.
Actually, the scrolling text in the start screens isn't as smooth as it seems at first. It kinda jumps backwards a little to the right every second I would say.
- Fri Oct 04, 2024 9:10 pm
- Forum: GL Galore
- Topic: GL Galore brush speed test (for tilemapped games)
- Replies: 12
- Views: 50004
Re: GL Galore brush speed test (for tilemapped games)
@lazi
Game speed is OK on the MacMini 1.5GHz.
Game speed is OK on the MacMini 1.5GHz.