Search found 106 matches

by amyren
Sat Jun 01, 2019 1:58 pm
Forum: Newbie questions
Topic: Is my A4000 to slow for HollyWood?
Replies: 4
Views: 631

Is my A4000 to slow for HollyWood?

Recently I did dig up my old A4000, which have been stored away for 10 years. I only had to remove one expansion card that had degraded in order to make it work. It does have a cyberstorm mk2, 040/40, 64MB memory, cybervision 64/3D (cybergfxv4), and a scsi harddrive. So I do consider this an above a...
by amyren
Sat Jun 01, 2019 1:40 pm
Forum: RapaGUI
Topic: running RapaGUI docs examples
Replies: 5
Views: 905

Re: running RapaGUI docs examples

Thanks, that was it :) Will you perhaps update that example in the docs? What about moai.CreateDialog @REQUIRE "RapaGUI" moai.CreateDialog([[ <dialog id="dlg" title="Question"> <vgroup> <text>What is your name?</text> <textentry/> <hgroup> <button>OK</button> <button>Cancel</button> </hgroup> </vgro...
by amyren
Sat Jun 01, 2019 12:44 pm
Forum: RapaGUI
Topic: running RapaGUI docs examples
Replies: 5
Views: 905

Re: running RapaGUI docs examples

DebugPrint() won't work by default in executables compiled by Hollywood. You have to explicitly enable debugging support in executables by doing the following: @OPTIONS {EnableDebug = True} Alternatively, use ConsolePrint() . That is true, but there is another thing missing from making the example ...
by amyren
Fri May 31, 2019 12:18 pm
Forum: RapaGUI
Topic: running RapaGUI docs examples
Replies: 5
Views: 905

running RapaGUI docs examples

Looking in the docs for moai.CreateApp, moai.CreateDialog and moai.CreateObject there are some examples included in the docs. @REQUIRE "RapaGUI" moai.CreateApp([[ <?xml version="1.0" encoding="iso-8859-1"?> <application> <window title="Test program"> <vgroup> <button>Hello World!</button> </vgroup> ...
by amyren
Fri May 31, 2019 11:29 am
Forum: RapaGUI
Topic: RapaGui Win32 chm - Help
Replies: 16
Views: 9570

Re: RapaGui Win32 chm - Help

I did set up HollyWood 8 on Windows7, 32bit (running on virtualbox), and here the RapaGUI help works perfectly.
by amyren
Mon May 20, 2019 1:40 pm
Forum: Tutorials
Topic: Simple breakout in Hollywood
Replies: 6
Views: 6925

Re: Simple breakout in Hollywood

That is a cool small game. I did apply a couple of changes for my own mod. Not so much, but added the option to select Mouse or Keyboard to control the pad, and added a message for the player who complete the game, with the option to start again. Apart from adding new levels, I think the game needs ...
by amyren
Mon May 20, 2019 12:45 pm
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4375

Re: List and strings

I did try to use RemoveItem to remove entries in my string-lists, but I failed at my first attemts. I probably had gotten the syntax wrong or something. However, I did re-read the docs and now RemoveItem is working as I want. But after my first failed attemt, I did try to change my script to use myl...
by amyren
Sun May 19, 2019 4:58 pm
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4375

Re: List and strings

Thanks all.
I ended up using the paranteses, now saving a few lines compared to my first workaround solution.

Code: Select all

If not (loadedline$ = "unwanted")  Then InsertItem(myvar$, loadedline$) 
by amyren
Sat May 18, 2019 11:04 pm
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4375

Re: List and strings

msu wrote:
Sat May 18, 2019 9:31 pm
"Not" can only result in True (1) or False (0).
I dont get it.
IF will also only result in True or False, NOT will only invert the result.
by amyren
Sat May 18, 2019 10:59 am
Forum: Newbie questions
Topic: List and strings
Replies: 16
Views: 4375

Re: List and strings

Why doesnt this first example work If Exists("save/mydata.data") OpenFile(1, "save/mydata.data", #MODE_READ) While Not Eof(1) loadedline$ = ReadLine(1) If not loadedline$ = "unwanted" ;dont load this entry InsertItem(myvar$, loadedline$) EndIf Wend CloseFile(1) EndIf While this does? If Exists("save...