Search found 74 matches

by g0blin
Sat Nov 15, 2014 11:08 am
Forum: Hollywood bugs
Topic: Double buffering problems.
Replies: 12
Views: 5063

Re: Double buffering problems.

@ airsoftsoftwair I've been flawlessly running (at the same time) your DoubleBuffer.hws AND SinusScroller.hws demos for over an hour, now. They work fine. While re-analyzing your codes I noticed that you always use this approach: Flip ; flip front/back buffer Cls ; clear buffer It looked weird to me...
by g0blin
Sat Nov 15, 2014 9:59 am
Forum: Hollywood bugs
Topic: Double buffering problems.
Replies: 12
Views: 5063

Re: Double buffering problems.

your examples run nicely, but I'm now starting an extended session just to be absolutely positive.
by g0blin
Fri Nov 14, 2014 8:04 pm
Forum: Hollywood bugs
Topic: Double buffering problems.
Replies: 12
Views: 5063

Re: Double buffering problems.

@ airsoftsoftwair I did some checks with the prototype using sprites. It has run nicely on my win laptop for over 24h straight hours, successfully "surviving" the system sleep state and the subsequent warm reboot. In other words, memory occupancy itself (huge number of brushes ect) seems not to be t...
by g0blin
Thu Nov 13, 2014 7:27 pm
Forum: Hollywood bugs
Topic: Double buffering problems.
Replies: 12
Views: 5063

Re: Double buffering problems.

Hello Bugala, I don't have any problem in sharing concepts and even a few code snippets. After all, a brainstorming could help us both. Having said that, I'm a bit in a hurry now, so I'll write a proper post tomorrow. Just let me say that your idea of mapping hotspots is exactly what I tried first, ...
by g0blin
Thu Nov 13, 2014 2:58 pm
Forum: Hollywood bugs
Topic: Double buffering problems.
Replies: 12
Views: 5063

Re: Double buffering problems.

I ran a few tests using the resource monitor and two different versions of the game. Version 1 (using double buffering): BGPics 1 brushes 173 displays 1 musics 11 pointer images 9 sprites on screen 0 sprites (total) 81 text objects 1 timers 8 Version 2 (using sprites) BGPics 1 brushes 175 displays 1...
by g0blin
Thu Nov 13, 2014 9:04 am
Forum: Hollywood bugs
Topic: Double buffering problems.
Replies: 12
Views: 5063

Re: Double buffering problems.

Hello, thanks for your prompt answer. As I said, the program just stops working. It actually freezes (not answering any input) and Windows resource manager indicates its PID waiting for a thread sync. RAM occupancy is around 200MB both on Windows and on AmigaOS, so there is plenty of memory. But I g...
by g0blin
Wed Nov 12, 2014 8:26 pm
Forum: Hollywood bugs
Topic: Double buffering problems.
Replies: 12
Views: 5063

Double buffering problems.

Hello all, after tinkering with Hollywood for a few years, some months ago I was asked to code a point 'n' click adventure. Since there's not much moving graphics involved, I originally elected to use sprites. Despite of apparences, I didn't like the look and feel of some part of the game, so I deci...
by g0blin
Tue Jul 30, 2013 8:11 am
Forum: Newbie questions
Topic: StringRequest() problem..
Replies: 7
Views: 4865

Re: StringRequest() problem..

Mah, sai che con le stringhe in Hollywood non ho mai lavorato? A questo punto mi viene il dubbio che non sia così, a differenza di ARexx. Appena posso ci riprovo
by g0blin
Mon Jul 29, 2013 10:51 am
Forum: Newbie questions
Topic: StringRequest() problem..
Replies: 7
Views: 4865

Re: StringRequest() problem..

I solved the problem by converting the string to a numer and comparing it. Now it works. title$ = "Requester!" body$ = "Inserisci un numero" def$ = "ciao" a$, ok = StringRequest(title$, body$, def$, #ALL, 0, False) n=ToNumber(a$) If n < 5 DebugPrint("Il numero che hai inserito non é maggiore di 5") ...
by g0blin
Mon Jul 29, 2013 10:20 am
Forum: Newbie questions
Topic: StringRequest() problem..
Replies: 7
Views: 4865

Re: StringRequest() problem..

Sorry dude, as for the first question, you just inverted the "greater than" sign with "lesser than". (see code below). I'm investigating on the second one, now Ciao title$ = "Requester!" body$ = "Inserisci un numero" def$ = "ciao" a$, ok = StringRequest(title$, body$, def$, #ALL,0,False) If a$ < "5"...