Search found 1278 matches

by Bugala
Tue Jan 21, 2025 9:24 am
Forum: Newbie questions
Topic: Use of Tables
Replies: 5
Views: 229

Re: Use of Tables

After Flinx pointed out the difference between RawGet and HaveItem/HasItem, if you want to rather use HasItem/HaveItem option, then you could change the program a bit: Function AddHostSystem(versionname, SystemType, SystemSpecific) t_HostSystems[LowerStr(versionname)] = {SystemType = SystemType, Sys...
by Bugala
Mon Jan 20, 2025 3:31 pm
Forum: Hollywood bugs
Topic: Should RawGet HasItem and HaveItem be interchangeable?
Replies: 2
Views: 114

Re: Should RawGet HasItem and HaveItem be interchangeable?

Seems I read the manual very badly, especially since I was even bit of recalling something like that and still missed it when read.
by Bugala
Mon Jan 20, 2025 1:26 pm
Forum: Hollywood bugs
Topic: Should RawGet HasItem and HaveItem be interchangeable?
Replies: 2
Views: 114

Should RawGet HasItem and HaveItem be interchangeable?

I made this short code as a reply on another topic here: t_HostSystems = { ["AmigaOS3"] = {SystemType = "AOS", SystemSpecific = "AOS3"}, ["AmigaOS4"] = {SystemType = "AOS", SystemSpecific = "AOS4"} } t_HostSystems = {} Function AddHostSyste...
by Bugala
Mon Jan 20, 2025 1:24 pm
Forum: Newbie questions
Topic: Use of Tables
Replies: 5
Views: 229

Re: Use of Tables

I would suggest following: You can either make the table manually, like this: t_HostSystems = { ["AmigaOS3"] = {SystemType = "AOS", SystemSpecific = "AOS3"}, ["AmigaOS4"] = {SystemType = "AOS", SystemSpecific = "AOS4"} } Or you could use a ...
by Bugala
Sun Jan 19, 2025 2:01 pm
Forum: RapaGUI
Topic: Can I turn off RAPAGUI in middle of program?
Replies: 4
Views: 337

Re: Can I turn off RAPAGUI in middle of program?

Thanks.

Although not the answer I was hoping for, this at least tells me I have to figure out some other solution than RapaGUI for my problem, since RapaGUI wont work.
by Bugala
Sat Jan 18, 2025 9:26 am
Forum: RapaGUI
Topic: Can I turn off RAPAGUI in middle of program?
Replies: 4
Views: 337

Re: Can I turn off RAPAGUI in middle of program?

To add bit more explanation. Unresponsiveness can be tested by repeatedly clicking on the box. It is supposed to change between red and blue each time you click inside the rectangle area. With the RAPAGui line, the first one-two clicks seem to happen with normal speed, after that it slows down react...
by Bugala
Fri Jan 17, 2025 8:39 pm
Forum: RapaGUI
Topic: Can I turn off RAPAGUI in middle of program?
Replies: 4
Views: 337

Re: Can I turn off RAPAGUI in middle of program?

Here is an example code to demonstrate the problem: EscapeQuit(True) @REQUIRE "RapaGUI" Function draw() Box(100, 100, 100, 100, color) EndFunction color=#RED SetInterval(1, draw, 50) CreateDisplay(0, {Width=1920, Height=1080, Title = "Rogue Football Cardgame", Sizeable=False, bor...
by Bugala
Fri Jan 17, 2025 1:15 pm
Forum: RapaGUI
Topic: Can I turn off RAPAGUI in middle of program?
Replies: 4
Views: 337

Can I turn off RAPAGUI in middle of program?

I ran into new problem with RAPAGUI. Appears that as long as I have "@REQUIRE "RapaGUI" my program not only runs much slower, but it also reacts to mouse clicks very slow. Can easily take more than a second for it to react to mouseclicks. If I simply remove the Require RapaGUI part fr...
by Bugala
Wed Jan 15, 2025 8:02 pm
Forum: Newbie questions
Topic: Alt + Enter crashes on dual monitor setup
Replies: 20
Views: 14851

Re: Alt + Enter crashes on dual monitor setup

Only tested by one yet, but looks like RAPAGui solves the problem. I started RAPAGui and it gives option to choose screenmode. First of all, RAPAGui itself opens to the monitor in use, as expected, and when clicking on "START"-button, after which RAPAGUI closes itself with moai.FreeApp(), ...
by Bugala
Wed Jan 15, 2025 1:05 pm
Forum: Newbie questions
Topic: CreateDisplay using Sizable etc. = true when fullscreen okay?
Replies: 0
Views: 145

CreateDisplay using Sizable etc. = true when fullscreen okay?

I am making this Createdisplay where user can choose the options through RAPAGui what options to use. User can choose either fullscreen or window mode. Thing is, some of the options, like Sizable are only available for Window mode. Therefore question is, Should I make two different CreateDisplay lin...