Search found 74 matches

by emeck
Thu Sep 19, 2019 6:56 pm
Forum: Hollywood bugs
Topic: function table:continue() not allowed
Replies: 6
Views: 66

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: 105

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: 105

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: 105

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?
by emeck
Tue Aug 27, 2019 5:26 pm
Forum: Newbie questions
Topic: Example Linux arm + Rasberry pi 3 B + does not run
Replies: 11
Views: 353

Re: Example Linux arm + Rasberry pi 3 B + does not run

Have you set it as executable?

In a terminal window type:

sudo chmod +x yourfilename


Or you can set it with RMB (sorry, I'm not at home and don't remember the option but it is easy to find. Maybe in properties?)
by emeck
Mon Aug 26, 2019 7:49 pm
Forum: Newbie questions
Topic: Understanding asynchronus mode
Replies: 5
Views: 248

Re: Understanding asynchronus mode

For the code segment, you have to use the [_code] and [_/code] tags but without the underscore, like this:

[_code]
Your code here
[_/code]

And removing the undescore it shows:

Code: Select all

Your code here
by emeck
Mon Aug 26, 2019 7:37 pm
Forum: Newbie questions
Topic: Instruction to set a negative number to positive
Replies: 3
Views: 184

Re: Instruction to set a negative number to positive

Hello Juan Carlos,

you just need to multiply the numbre by -1. For example:

-3 * -1 = 3
3 * -1 = -3
-134 * -1 = 134
by emeck
Thu Aug 22, 2019 6:19 pm
Forum: Newbie questions
Topic: Understanding asynchronus mode
Replies: 5
Views: 248

Re: Understanding asynchronus mode

Hello, I also had trouble trying to understand Asyncronous operation, but I think I'm understanding it a bit now. So others could do a better explanation. But this works for me from your example code. You have to call AsyncDrawFrame to actually show your async objects. @DISPLAY {Mode = "Windowed", W...
by emeck
Tue Jun 18, 2019 2:09 pm
Forum: Newbie questions
Topic: @DISPLAY vs CreateDisplay arguments
Replies: 2
Views: 266

Re: @DISPLAY vs CreateDisplay arguments

@DISPLAY is a preprocessor command, which are processed before the rest of the script, so your variables mywidth, myheight and mycol don't exist yet.