Search found 187 matches

by emeck
Fri Nov 29, 2024 10:01 pm
Forum: Newbie questions
Topic: Naming Layers
Replies: 9
Views: 1747

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 ...
by emeck
Mon Nov 25, 2024 6:01 pm
Forum: General programming
Topic: Table1 = Table2, how does this actually work?
Replies: 7
Views: 1038

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 ...
by emeck
Sun Nov 24, 2024 1:43 pm
Forum: General programming
Topic: Table1 = Table2, how does this actually work?
Replies: 7
Views: 1038

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...
by emeck
Fri Oct 25, 2024 6:11 pm
Forum: Newbie questions
Topic: Way to get relative pathpart of a file?
Replies: 4
Views: 1319

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...
by emeck
Sat Oct 05, 2024 10:04 am
Forum: GL Galore
Topic: GL Galore brush speed test (for tilemapped games)
Replies: 12
Views: 8527

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.
by emeck
Fri Oct 04, 2024 9:10 pm
Forum: GL Galore
Topic: GL Galore brush speed test (for tilemapped games)
Replies: 12
Views: 8527

Re: GL Galore brush speed test (for tilemapped games)

@lazi

Game speed is OK on the MacMini 1.5GHz.
by emeck
Wed Oct 02, 2024 5:31 pm
Forum: GL Galore
Topic: GL Galore brush speed test (for tilemapped games)
Replies: 12
Views: 8527

Re: GL Galore brush speed test (for tilemapped games)

@lazi My results with MacMini 1.5GHz: Hollywood openGL HW brush test ------------------------------ CPU: ppc Platform: MorphOS HW kernel: 10.0 Display: 800 x 600 / 24 @ 75 Brushes: 48 x 54 Result: 2 pages/frame. The link is wrong for the applet. It should be http://kezdobetu.hu/software/downloads/ra...
by emeck
Wed Sep 11, 2024 5:15 pm
Forum: Announcements
Topic: RapaGUI 2.2 released
Replies: 7
Views: 3470

Re: RapaGUI 2.2 released

Thanks! Downloaded and working now.
by emeck
Sun Sep 01, 2024 9:22 am
Forum: Announcements
Topic: RapaGUI 2.2 released
Replies: 7
Views: 3470

Re: RapaGUI 2.2 released

@airsoftsoftwair

Ok, I have rechecked. On Linux it works, but in MOS it doesn't. I have reintalled version 2.2 but still doesn't work.
by emeck
Sun Sep 01, 2024 12:07 am
Forum: Announcements
Topic: RapaGUI 2.2 released
Replies: 7
Views: 3470

Re: RapaGUI 2.2 released

I think you're confusing something here. The embedded display in the Widgets demo won't draw anything unless you use the mouse to draw something. Otherwise it's just black but it has always been like that. This works fine here with 2.2 both on MorphOS and Linux. @airsoftsoftwair That's what I meant...