Search found 80 matches

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

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

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

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

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

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.
by emeck
Fri Jun 14, 2019 9:12 am
Forum: Newbie questions
Topic: capture cli output
Replies: 8
Views: 2222

Re: capture cli output

Thank you!
by emeck
Thu May 02, 2019 7:03 pm
Forum: Newbie questions
Topic: How to Clear display Empty when having BGPIC?
Replies: 3
Views: 392

Re: How to Clear display Empty when having BGPIC?

@Bugala That basically I could have had Game running on BGpic 1, and inventory in bgpic2, and when ever i wanted to peak to inventory, i could have used displaybgpic 2, and then use displaybgpic1 to get back to game. AFAIU Display library is what you need for that (CreateDisplay, SelectDisplay, Open...
by emeck
Fri Apr 12, 2019 7:05 pm
Forum: Newbie questions
Topic: Position constant value
Replies: 2
Views: 344

Re: Position constant value

I see it now. I was focusing only on display dimensions but some of those constants work for other things too.
Thanks for the reply.
by emeck
Fri Apr 12, 2019 11:33 am
Forum: Newbie questions
Topic: Position constant value
Replies: 2
Views: 344

Position constant value

Aren't #TOP and #LEFT supposed to be 0, and the other position constants dependent on display's dimensions? It seems to be hardecoded for me. For example: @DISPLAY 1, {Width = 640, Height = 480, Color = #BLACK} TextOut(#CENTER, #CENTER, "Text") TextOut(#LEFT, #CENTER, "Text") TextOut(#RIGHT, #CENTER...