Search found 80 matches

by emeck
Sun Nov 17, 2019 7:03 am
Forum: Hollywood bugs
Topic: SetDisplayAtrributes x & y don't work except for positional constants
Replies: 3
Views: 81

Re: SetDisplayAtrributes x & y don't work except for positional constants

Tested under MOS3.12 and same behaviour.

But this works as a quick fix:

horizontal=#LEFT + 150
vertical=#TOP + 150
by emeck
Tue Oct 22, 2019 8:48 am
Forum: General programming
Topic: Select which catalog to open
Replies: 2
Views: 239

Re: Select which catalog to open

Ok, thnaks.
by emeck
Sun Oct 20, 2019 10:59 pm
Forum: General programming
Topic: Select which catalog to open
Replies: 2
Views: 239

Select which catalog to open

Hello, is there a way to specify which catalog to use when running a script without changing system's locale? If not, could it be added to OpenCatalog? Something like OpenCatalog(name$[, version, language]) I think it is useful when using several languages and want to check if all catalogs are in pl...
by emeck
Tue Oct 15, 2019 2:25 pm
Forum: Tutorials
Topic: Balloons - a Scratch tutorial written in Hollywood
Replies: 6
Views: 939

Re: Balloons - a Scratch tutorial written in Hollywood

@Juan Carlos
Juan Carlos wrote:
Tue Oct 15, 2019 1:31 pm
...different points for balloons color, etc.
I like that idea. Not much time available right now but I'll keep that in mind. Maybe others can improve the code meanwhile.
by emeck
Tue Oct 15, 2019 2:23 pm
Forum: Tutorials
Topic: Balloons - a Scratch tutorial written in Hollywood
Replies: 6
Views: 939

Re: Balloons - a Scratch tutorial written in Hollywood

@SantiDarkG
Glad you like it. I'm also learning HW and this kind of small challenges help me to learn new skills. While I was using this to play with sprites I also learnt a little about objects with LUA and HW.

I hope to share more like this.
by emeck
Fri Oct 11, 2019 11:48 pm
Forum: Tutorials
Topic: Balloons - a Scratch tutorial written in Hollywood
Replies: 6
Views: 939

Balloons - a Scratch tutorial written in Hollywood

Hello, I found a nice Scratch tutorial of a simple game and decided to make a Hollywood version. It has helped me to understand how to use sprites. I post the code here but you can get the srcipt and all other files from here in case you are interested in trying it. Please, if you have any suggestio...
by emeck
Thu Sep 19, 2019 6:56 pm
Forum: Hollywood bugs
Topic: function table:continue() not allowed
Replies: 6
Views: 373

Re: function table:continue() not allowed

I would use:

Video:Resume
Scroll:Resume
Game:Resume
by emeck
Wed Sep 11, 2019 9:48 pm
Forum: General programming
Topic: Any way to detect if DoubleBuffer is on?
Replies: 6
Views: 244

Re: Any way to detect if DoubleBuffer is on?

airsoftsoftwair wrote:
Wed Sep 11, 2019 8:31 pm
You can query #ATTRDOUBLEBUFFER for #DISPLAY.
So you can start double buffering when creating the display also or only with BeginDoubleBuffer and it is set to the current display?
by emeck
Wed Sep 11, 2019 9:44 pm
Forum: General programming
Topic: Any way to detect if DoubleBuffer is on?
Replies: 6
Views: 244

Re: Any way to detect if DoubleBuffer is on?

Bugala wrote:
Wed Sep 11, 2019 8:08 pm
Error handling is not really a clean way, as a dirty trick I was thinking of disabling error messages and execute the command, then turn error handling back on, but would rather not do that.
OK, I understand what you mean.
by emeck
Wed Sep 11, 2019 5:37 pm
Forum: General programming
Topic: Any way to detect if DoubleBuffer is on?
Replies: 6
Views: 244

Re: Any way to detect if DoubleBuffer is on?

Would checking for #ERR_NODOUBLEBUFFER with GetLastError to continue execution or disable double buffering be a clean way?