Search found 131 matches
- Mon May 20, 2019 1:40 pm
- Forum: Tutorials
- Topic: Simple breakout in Hollywood
- Replies: 6
- Views: 7966
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 ...
- Mon May 20, 2019 12:45 pm
- Forum: Newbie questions
- Topic: List and strings
- Replies: 16
- Views: 6405
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...
- Sun May 19, 2019 4:58 pm
- Forum: Newbie questions
- Topic: List and strings
- Replies: 16
- Views: 6405
Re: List and strings
Thanks all.
I ended up using the paranteses, now saving a few lines compared to my first workaround solution.
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$)
- Sat May 18, 2019 11:04 pm
- Forum: Newbie questions
- Topic: List and strings
- Replies: 16
- Views: 6405
- Sat May 18, 2019 10:59 am
- Forum: Newbie questions
- Topic: List and strings
- Replies: 16
- Views: 6405
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...
- Mon May 13, 2019 11:25 am
- Forum: Newbie questions
- Topic: List and strings
- Replies: 16
- Views: 6405
- Sun May 12, 2019 10:25 pm
- Forum: Newbie questions
- Topic: Append info to file
- Replies: 2
- Views: 1137
Re: Append info to file
Perhaps that could be explained in the OpenFile docs as well, if you care to add it at next update?airsoftsoftwair wrote: ↑Sat Feb 02, 2019 4:00 pm#MODE_WRITE will always create a blank file. If you want to modify an existing file, you have to use #MODE_READWRITE, even if you don't want to read but just append.
Or is it described elsewhere?
- Sun May 12, 2019 8:13 pm
- Forum: Newbie questions
- Topic: List and strings
- Replies: 16
- Views: 6405
Re: List and strings
I think a 1: 1 implementation will not work. I recommend you to use the "Traditional" Method. In addition, the table library is very slow. :oops: The program is not using any advanced blitz commands, only system friendly stuff. I will have to reconstruct the GUI, and the part where a few images are...
- Sun May 12, 2019 1:23 pm
- Forum: RapaGUI
- Topic: RapaGui Win32 chm - Help
- Replies: 16
- Views: 11308
Re: RapaGui Win32 chm - Help
I can not get that chm file to work either. It will open, and show the list of Content and Index, but all pages apear blank here. This is HollyWood 8, on Windows 7, 64 bit. And the RapaGUI.chm file is located in the c:\programfiles\hollywood\docs folder. (tried copying it into c:\temp but the result...
- Sun May 12, 2019 12:46 pm
- Forum: Newbie questions
- Topic: List and strings
- Replies: 16
- Views: 6405
Re: List and strings
Thanks. You made that look embarrasingly easy :D I tried numerous combinations pretty close to the correct one before getting frustrated enaugh to ask. But this leads me to my next question(s). I do have a program I made in blitzbasic that I want to transform into HollyWood code. At first I just lik...