Search found 75 matches

by ocean77
Thu Jun 02, 2022 3:42 pm
Forum: Newbie questions
Topic: InkeyStr Syntax
Replies: 5
Views: 508

Re: InkeyStr Syntax

My apologies. The cursor does indeed appear using:

Code: Select all

name$=InKeyStr(#ALPHABETICAL,Nil,Nil,True)
My color scheme made the thin line hard to see. Somehow I thought it would be blinking as well.
Sorry for the confusion.

Is there any way to modify its appearance?
by ocean77
Thu Jun 02, 2022 2:13 pm
Forum: Newbie questions
Topic: InkeyStr Syntax
Replies: 5
Views: 508

Re: InkeyStr Syntax

I'm afraid none of those options appear to work for me.

Code: Select all

name$=InKeyStr(#ALPHABETICAL,,,True)
Throws an 'unexpected symbol' error.
But

Code: Select all

name$=InKeyStr(#ALPHABETICAL,Nil,Nil,True)
passes compilation, but there is no result.
by ocean77
Wed Jun 01, 2022 6:11 pm
Forum: Newbie questions
Topic: InkeyStr Syntax
Replies: 5
Views: 508

InkeyStr Syntax

Can't get the cursor to appear using InkeyStr, not sure about the syntax. I find the documentation somewhat confusing.
Here's what I got:

name$ = InKeyStr(#ALPHABETICAL, Cursor=True)

Shouldn't that work?
by ocean77
Tue May 04, 2021 6:45 pm
Forum: Newbie questions
Topic: MakeButton Error
Replies: 5
Views: 1884

Re: MakeButton Error

amyren wrote:
Tue May 04, 2021 5:55 pm
You need to put the makebutton line below the function it calls.

And you probably should change OnLeftMouseDown to OnMouseDown
Of course... Always put the function before it's called. When will I learn? :lol:

Thanks.
by ocean77
Tue May 04, 2021 5:28 pm
Forum: Newbie questions
Topic: MakeButton Error
Replies: 5
Views: 1884

Re: MakeButton Error

Well this is the complete script (just something I'm testing out) I don't know what I am doing wrong here... But it's probably obvious. :roll: @VERSION 9,0 /* ** Constants */ Const #BGCOLOR = $065686 /* ** Variables */ dial_min = 1 dial_max = 9 /* ** Brushes */ @BRUSH 1, "dial_bkg.png", {LoadAlpha =...
by ocean77
Tue May 04, 2021 1:06 am
Forum: Newbie questions
Topic: MakeButton Error
Replies: 5
Views: 1884

MakeButton Error

What exactly is wrong with this line? :

MakeButton(1, #SIMPLEBUTTON, 0, 0, 100, 100, {OnMouseDown = p_DialRotLeft})

Hollywood 9 says the usage/ parameters are wrong, but I can't figure out what it is.
by ocean77
Thu Apr 22, 2021 7:38 pm
Forum: Announcements
Topic: Hollywood 9.0: Sugarcane released!
Replies: 43
Views: 19739

Re: Hollywood 9.0: Sugarcane released!

Tax returns = Hollywood upgrade. :D
by ocean77
Sat Feb 13, 2021 7:59 pm
Forum: Newbie questions
Topic: Problem with PNG with alpha channel
Replies: 7
Views: 2637

Re: Problem with PNG with alpha channel

Bugala wrote:
Sat Feb 13, 2021 10:38 am
This way in case you want different amounts of highlight, you can have them without having more than one image.
Great tip. Thanks! :)
by ocean77
Sat Feb 13, 2021 9:04 am
Forum: Newbie questions
Topic: Problem with PNG with alpha channel
Replies: 7
Views: 2637

Re: Problem with PNG with alpha channel

emeck wrote:
Sat Feb 13, 2021 8:50 am
Hello

Try with

Code: Select all

@BRUSH 1, "terminal_hilight.png", {LoadAlpha = True}
Beautiful! Thank you so much! :)
by ocean77
Sat Feb 13, 2021 7:35 am
Forum: Newbie questions
Topic: Problem with PNG with alpha channel
Replies: 7
Views: 2637

Re: Problem with PNG with alpha channel

Okay, thanks. Here's the image: https://drive.google.com/file/d/18twPcxZbssBapGq0Tun_Pv0pyKkZNdSx/view?usp=sharing This is the relevant code: Function p_Stage01() SetMusicVolume(2, VolMus) @BGPIC 2, "Stage01.jpg" @MUSIC 2, "Ambience_01.ogg" @BRUSH 1, "terminal_hilight.png" DisplayBGPic(2) PlayMusic(...