Search found 83 matches

by amyren
Fri Nov 22, 2019 3:01 pm
Forum: General programming
Topic: VWait() does not detect vertical blank when window is minimized
Replies: 0
Views: 20

VWait() does not detect vertical blank when window is minimized

I noticed this in one of my programs, I did use VWait() in the mainloop to avoid high CPU load. This works well as long as the program is active. But if I minimize the window (on windows x64) it will suddenly use lots of CPU. Similar on Amiga, if HideDisplay() is used to iconify the program, it will...
by amyren
Thu Nov 21, 2019 3:33 pm
Forum: Polybios
Topic: Link executable with embeded plugin
Replies: 6
Views: 974

Re: Link executable with embeded plugin

I just found that linking polybios.hwp to Amiga 68k actually works in some cases. The polybios plugin was used create a simple pdf file, not to read pdf's so this might have something to do with it. Also when I compiled the same program without linking, it did work with the polybios.hwp alone, witho...
by amyren
Wed Oct 16, 2019 9:07 am
Forum: Polybios
Topic: Poybios help file did not work (solved)
Replies: 0
Views: 505

Poybios help file did not work (solved)

I had this problem today after installing the Polybios plugin on windows 7, 64 bit. The help file did not work, it just displayed the titles, not the content. I remember there was a similar issue reported for the RapaGUI help file earlier, then on 32 bit systems. I think these two problems are close...
by amyren
Wed Oct 16, 2019 8:34 am
Forum: Newbie questions
Topic: JPEG quality setting syntax
Replies: 5
Views: 358

Re: JPEG quality setting syntax

Thank you. When I saw your comment my initial thought was that it probably wouldn't work either. Since the #SNAPWINDOW argument is optional and have a default value I thought it should not make any difference, and also the third argument worked without the second argumement. And that error message "...
by amyren
Tue Oct 15, 2019 9:40 pm
Forum: Newbie questions
Topic: JPEG quality setting syntax
Replies: 5
Views: 358

Re: JPEG quality setting syntax

Thanks for the suggestion, but I think I did try that combination already.
That line will give this error output:

Error in line 1749 (test.hws): Number expected in argument 3!
by amyren
Tue Oct 15, 2019 2:38 pm
Forum: Newbie questions
Topic: JPEG quality setting syntax
Replies: 5
Views: 358

JPEG quality setting syntax

I use this command to save the screen as an image file. The docs mention that default quality setting is 90, so I want to reduce this to create smaller files. But there is no example in the docs using the quality setting, so I am not sure how to set it. I did try some variants, but either it was ign...
by amyren
Tue Oct 08, 2019 12:46 pm
Forum: Tutorials
Topic: Very simple Exit-the-maze game
Replies: 4
Views: 356

Re: Very simple Exit-the-maze game

jPV: Thank you for pointing this out. I must admit I have made a similar mistake in some of my other programs, so I will need to update these as well. For smooth movement I did choose to use only 1 pixel movement per cylcle, and I notice that using vwait() in this example will limit the character ma...
by amyren
Mon Oct 07, 2019 10:12 pm
Forum: Tutorials
Topic: Very simple Exit-the-maze game
Replies: 4
Views: 356

Very simple Exit-the-maze game

This is a simple basic exit-the-maze game made for beginners. The purpose is to show how easy programming in Hollywood can be, so this first code is stripped down to just what is needed to make it run. I might add more features to in in follow up posts later. Prerparations: You should make an image ...
by amyren
Wed Oct 02, 2019 5:54 pm
Forum: General programming
Topic: Detect incoming calls on android
Replies: 6
Views: 515

Re: Detect incoming calls on android

Here is a small app for testing this with hollywood player on android. I just realized that my example shown above was not a good example, since installeventhandler must be put after function in order to work. @DISPLAY {Title = "Test", Width = 640, Height = 480, Color = #BLUE} Function p_HandlerFunc...
by amyren
Wed Oct 02, 2019 5:29 pm
Forum: General programming
Topic: Detect incoming calls on android
Replies: 6
Views: 515

Re: Detect incoming calls on android

Which Android version and how do you switch to another app? I have tested on android 9.0 (my main phone), 8.1.0(tablet), and 4.2.1(old phone) The way I switch to other app is tested on all devices, by either pressing the home button, or use the menu button to show all running apps and select anothe...