Search found 603 matches

by jPV
Thu Dec 28, 2023 6:42 pm
Forum: Newbie questions
Topic: Wait a file exist
Replies: 7
Views: 1649

Re: Wait a file exist

papiosaur wrote: Thu Dec 28, 2023 6:26 pm What i must do when i use filetostring() command, how to know when the conversion is finalized please?
No need to do anything, the script halts until a file is read in a string and continues to the next command when it's done.
by jPV
Thu Dec 28, 2023 1:09 pm
Forum: Newbie questions
Topic: How to make a loop
Replies: 1
Views: 1158

Re: How to make a loop

WaitKeyDown() halts the script execution and waits until you press the correct key. So in this case you have to press the keys in exact order to get forward, and you can't start and stop music without pausing it in between. What you need is to listen key presses in the event handling function, just ...
by jPV
Thu Dec 28, 2023 12:47 pm
Forum: Newbie questions
Topic: Wait a file exist
Replies: 7
Views: 1649

Re: Wait a file exist

Unfortunately ReportChanges=True for the MonitorDirectory() does only work on Windows and OS4, AFAIK. At least it fails on MorphOS, which papiosaur uses I guess. Here are my two more options :) If doing purely with Hollywood and don't want to use the looping solution, something like this with the Mo...
by jPV
Wed Dec 13, 2023 8:15 am
Forum: Hollywood bugs
Topic: Hollywood10 Amiga - copyfile saveerror
Replies: 2
Views: 1776

Re: Hollywood10 Amiga - copyfile saveerror

copyfile("DH1:Empty_WBPattern.prefs", "ENV:Sys/WBPattern.prefs") ; write-error Remember that you have to give a directory as the destination for the CopyFile() function, not a file name. Now it probably tries to access/create a "WBPattern.prefs/" directory but fails be...
by jPV
Mon Dec 11, 2023 8:15 pm
Forum: General programming
Topic: yet another sinus scroller question
Replies: 13
Views: 5242

Re: yet another sinus scroller question

I use Cls() because I did a star field moving in background. Is it really better to clear only the "old" pixels even from starfield instead of using Cls()? It might depend how full of stars it is, but most likely it's better to avoid Cls() still. You'll see the definite answer when you me...
by jPV
Wed Dec 06, 2023 5:06 pm
Forum: General programming
Topic: yet another sinus scroller question
Replies: 13
Views: 5242

Re: yet another sinus scroller question

Well.. this isn't anywhere near perfect, but more like a quick proof of concept how to optimize it somehow. Here we have characters as brushes and only render visible ones, and won't clear the whole screen, but just the previous characters. Sin/cos doesn't look like the same etc. but it's just a qui...
by jPV
Sat Dec 02, 2023 12:25 pm
Forum: General programming
Topic: yet another sinus scroller question
Replies: 13
Views: 5242

Re: yet another sinus scroller question

Just some quick notes without testing etc. You'll have to remember that a real Amiga (I assume you mean an Amiga with 68k CPU and slow graphics throughput) is from a whole different world compared to a modern PC, and such an Amiga has a hard time outputting fullscreen chunky graphics at good framera...
by jPV
Thu Nov 30, 2023 6:15 pm
Forum: General programming
Topic: yet another sinus scroller question
Replies: 13
Views: 5242

Re: yet another sinus scroller question

Check your Y calculations, I think your Y values jump wildly and makes it look flickering when it technically doesn't flicker (try with a steady Y value).
by jPV
Thu Nov 30, 2023 8:47 am
Forum: RapaGUI
Topic: Align caracters in texteditor mode
Replies: 6
Views: 3956

Re: Align caracters in texteditor mode

Another option would be to convert the output as listview entries :)
by jPV
Mon Nov 13, 2023 12:56 pm
Forum: Newbie questions
Topic: Correct Menu Nav System
Replies: 10
Views: 5962

Re: Correct Menu Nav System

I am NOT lazy or ignorant about my code, I am a beginner as it was clear posting in the newbie questions, and to state it's not difficult to make some basic planning and how logical it is, was unkind and rude. We ALL have to start somewhere and there is no reason to be so discouraging about someone...