[22 Apr 2006] More questions :)
Posted: Sat Jun 13, 2020 5:31 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Sat, 22 Apr 2006 17:57:47 +0100
Hidiho,
Well my frontend project is growing, I am currently in a cleanup and optimize phase (yesterday I discovered the wonderfull world of arrays, even if I probably don`t understand it fully yet, it allready made things much easier, instead of dozens of lines with display brush and make button functions, I just have single lines + array to create them, great
)
However, there is one thing which really drives me mad.
First have a look on this Screenshot: http://www.oli-.de/temp/scumm_hollywood.jpg
Do you notice those ugly black border around those alpha Icons? This happens when I click them several times or move the mousepointer over it. It seems as if the alpha channel is painted over and over again.
this is the function for hover and onclick i use: (Scumm launch is currently disabled again)
I hoped by freeing the brush this will be gone, however it wasn`t
So has anyone an Idea how I could enhance this function so it works better with alpha Images? I did of course also look into those example scripts, but didn`t find the right thing to solve that. I also thought about using sprites instead of brushes, but then I won`t have this tint function
Another question is more general, (for another project I have in mind) I didn`t find anything about an arexx Implementation, so I guess it simply isn`t there. But wouldn`t it be cool to have hollywood progs which can comunicate with other apps?
My last question (for today
) Is also more related to Hollywood development in General (and probably completly against the philosophy behind Hollwood
)
As far as I understand, with Hollywood V2 AGA Support was completly removed and a gfx card is neccesary. While this abolutley makes sense for all this modern Amiga Stuff, it is a real killer for the good old classics. Don`t get me wrong, I have myself a Pegasos, and I like it, and the G4 is powerfull enough for all this stuff, but... well I have also this nice littly CD 32 here...
(beside several other classics) And I dream since years to make my own small game especially for the CD32, as it is also years ago since the last game for the CD 32 apeared, Nowadays even the Homebrew community for Atari`s Jaguar is bigger and much more productive (and they have real problems with all their modul stuff and such) However up to now I didn`t get this far with all those other programming languages, Hollywood otoh gives real fast results.
So I wonder if it` s even possible to make some special optimized routines for Hollywood which get out everything from those little old gems? I am afraid the answer is no here, however, at least I did ask
regards Oliver
Hidiho,
Well my frontend project is growing, I am currently in a cleanup and optimize phase (yesterday I discovered the wonderfull world of arrays, even if I probably don`t understand it fully yet, it allready made things much easier, instead of dozens of lines with display brush and make button functions, I just have single lines + array to create them, great
However, there is one thing which really drives me mad.
First have a look on this Screenshot: http://www.oli-.de/temp/scumm_hollywood.jpg
Do you notice those ugly black border around those alpha Icons? This happens when I click them several times or move the mousepointer over it. It seems as if the alpha channel is painted over and over again.
this is the function for hover and onclick i use: (Scumm launch is currently disabled again)
Code: Select all
Function p_knopf(msg)
Switch msg.action
Case "OnMouseOver":
CopyBrush (msg.id, 101)
TintBrush (101, #WHITE, 40)
DisplayBrush (101, msg.x, msg.y)
FreeBrush(101)
Case "OnMouseOut":
DisplayBrush (msg.id, msg.x, msg.y)
Case "OnMouseDown":
CopyBrush (msg.id, 101)
TintBrush (101, #BLACK, 40)
DisplayBrush (101, msg.x, msg.y)
FreeBrush(101)
Case "OnMouseUp":
CopyBrush (msg.id, 101)
TintBrush (101, #WHITE, 40)
DisplayBrush (101, msg.x, msg.y)
FreeBrush(101)
EndSwitch
EndFunction
So has anyone an Idea how I could enhance this function so it works better with alpha Images? I did of course also look into those example scripts, but didn`t find the right thing to solve that. I also thought about using sprites instead of brushes, but then I won`t have this tint function
Another question is more general, (for another project I have in mind) I didn`t find anything about an arexx Implementation, so I guess it simply isn`t there. But wouldn`t it be cool to have hollywood progs which can comunicate with other apps?
My last question (for today
As far as I understand, with Hollywood V2 AGA Support was completly removed and a gfx card is neccesary. While this abolutley makes sense for all this modern Amiga Stuff, it is a real killer for the good old classics. Don`t get me wrong, I have myself a Pegasos, and I like it, and the G4 is powerfull enough for all this stuff, but... well I have also this nice littly CD 32 here...
So I wonder if it` s even possible to make some special optimized routines for Hollywood which get out everything from those little old gems? I am afraid the answer is no here, however, at least I did ask
regards Oliver