Search found 3276 matches

by airsoftsoftwair
Sun Sep 25, 2011 10:29 pm
Forum: General programming
Topic: Savebrush PNG Alpha doesn't work!
Replies: 5
Views: 3594

Re: Savebrush PNG Alpha doesn't work!

Hmm, where is the n_sunny.png image? I can't see it in your post!?
by airsoftsoftwair
Fri Sep 23, 2011 5:21 pm
Forum: Wishlist
Topic: Dynamical Compilation and executable creation
Replies: 2
Views: 2457

Re: Dynamical Compilation and executable creation

I think fingus means something different here. He's not asking for the notorious HollywoodPlayer but for an option so that the compiler only links the parts really needed by the executable, i.e. if a script doesn't use the transition fx library, then it won't be linked. If a script doesn't use sound...
by airsoftsoftwair
Fri Sep 23, 2011 5:16 pm
Forum: General programming
Topic: Another simple demo example
Replies: 2
Views: 2223

Re: Another simple demo example

Hint: Try to use Local For loops when possible. I.e.

For Local x = 0 To width-1

is faster than

For x = 0 To width-1

because Hollywood can access "x" much quicker because it is local to the current scope.
by airsoftsoftwair
Fri Sep 23, 2011 5:13 pm
Forum: General programming
Topic: Savebrush PNG Alpha doesn't work!
Replies: 5
Views: 3594

Re: Savebrush PNG Alpha doesn't work!

I can't reproduce this problem. Please provide a fully working (but small!) code snippet. Then I can see what's wrong there.
by airsoftsoftwair
Fri Sep 23, 2011 5:08 pm
Forum: Hollywood bugs
Topic: GetIconProperties is crashing without tooltypes set
Replies: 1
Views: 1803

Re: GetIconProperties is crashing without tooltypes set

Yes, that's indeed a bug. I've just fixed it. Thanks for the report.
by airsoftsoftwair
Sat Sep 17, 2011 11:49 am
Forum: General programming
Topic: Sendrexx and Ringhio
Replies: 2
Views: 1916

Re: Sendrexx and Ringhio

Well, I don't know much about ARexx and it has been some years since I implemented the support in Hollywood but I know several projects which use ARexx quite heavily so I wouldn't presume a Hollywood bug. I've just read the documentation of SendRexxCommand() and I'd say that the following way should...
by airsoftsoftwair
Tue Sep 13, 2011 9:03 am
Forum: General programming
Topic: Event Handler with some keys
Replies: 11
Views: 6335

Re: Event Handler with some keys

The CPU goes to 100% because there's nothing that prevents the loop from running at maximum speed. Try to insert a VWait() before the Forever to reduce iteration speed to that of the monitor refresh rate.
by airsoftsoftwair
Fri Sep 02, 2011 4:11 pm
Forum: General programming
Topic: Controlling a moving brush
Replies: 4
Views: 2350

Re: Controlling a moving brush

Do not use AsyncDrawFrame() for this. It's much better to do this with sprites using DisplaySprite() or a double buffered display.
by airsoftsoftwair
Wed Aug 31, 2011 10:46 am
Forum: General programming
Topic: My prototype game template with game state manager
Replies: 12
Views: 6208

Re: My prototype game template with game state manager

jalih wrote:What do you think, should I give it a try? ;)
Sure, keep it coming! :)
by airsoftsoftwair
Wed Aug 31, 2011 10:44 am
Forum: General programming
Topic: IsLeftMouse and StrinRequest possibly bug?
Replies: 5
Views: 3433

Re: IsLeftMouse and StrinRequest possibly bug?

This is a known problem/bug but there is no easy way to fix it. So the best idea is to do what jalih suggested: Just call ResetKeyStates() and it should be fine.