Search found 72 matches

by ocean77
Tue May 04, 2021 6:45 pm
Forum: Newbie questions
Topic: MakeButton Error
Replies: 5
Views: 903

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: 903

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: 903

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: 38
Views: 9756

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: 1515

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: 1515

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: 1515

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(...
by ocean77
Sat Feb 13, 2021 6:18 am
Forum: Newbie questions
Topic: Problem with PNG with alpha channel
Replies: 7
Views: 1515

Problem with PNG with alpha channel

Do I need to do anything special to be able to display a layer with a png brush containing transparent areas properly? The computer on the desk is supposed to light up when the mouse pointer is over it. Which it does, but the area around it is also affected. I've simply used a curves modifier in gim...
by ocean77
Fri Feb 12, 2021 7:27 pm
Forum: Newbie questions
Topic: Program Structure
Replies: 12
Views: 2481

Re: Program Structure

Nice. I think I understand. Thank you again. :)
by ocean77
Thu Feb 11, 2021 9:33 pm
Forum: Newbie questions
Topic: Program Structure
Replies: 12
Views: 2481

Re: Program Structure

Beautiful. It works. Thank you. So, it seems that; MakeButton(1, #SIMPLEBUTTON, 20, 250, 120, 120, {OnMouseOut = p_Stage01EventFunc, OnMouseOver = p_Stage01EventFunc, OnMouseDown = p_Stage01EventFunc}) Will make the InstallEventHandler instruction unneeded. They are essentially the same thing? Is th...