backdrop on Linux

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

backdrop on Linux

Post by jmburnod » Sat Aug 22, 2009 6:53 pm

Hi All,

I watch a problem with backgrop in a standalone it work fine on OSX and windows

I set the backdrop to the id on an image of the stack but i see un rectangle 100/80 at the topleft of the screen but there is not backdrop.


What is the best way for a really backdrop on Linux?

Thank

Jean-Marc

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Aug 22, 2009 8:07 pm

Hi Jean-Marc,

Are you sure you used the right dimensions? This is what the documentation says about it:
To be used as a pattern on Mac OS systems, an image must be 128x128 pixels or less, and both its height and width must be a power of 2. To be used on Windows and Unix systems, height and width must be divisible by 8. To be used as a fully cross-platform pattern, both an image's dimensions should be one of 8, 16, 32, 64, or 128.
And of course, pray that it works :-) This kind of features, which involve special windows, can be quite tricky with Linux.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

backdrop on linux

Post by jmburnod » Sat Aug 22, 2009 9:23 pm

Hi mark,

Yes, the size of the image is 64X64

best

Jean-Marc

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Sat Aug 22, 2009 9:37 pm

Then pray harder, Jean-Marc :-D

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

backdrop on Linux

Post by jmburnod » Tue Aug 25, 2009 9:29 pm

Thank Mark,

I do it and someone heard my prayer. This user said me he have a very short linux.

A linux version is available here :

http://alternatic.ch/jmb/hdplinux.zip

Jean-Marc

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Aug 26, 2009 10:13 am

Hi Jean-Marc,

It looks like there are a few execution errors in your stack. Sorry, I have no additional information.

At some point, a repeat loops seems to outline object on the screen alternately, with big black borders. This causes processor uses to go up and makes the fan take off sky high. It seems that you need to adjust this to avoid locking up the interface and you'll need to make clear what is going on and how to stop it.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

backdrop on linux

Post by jmburnod » Wed Aug 26, 2009 10:42 am

Hi Mark,

Thank for this feed-back.

The processLoop is destined to handicaped people

Type optionKey to stop the process loop (or select the btn "mouse" by a mouseup when the processLoop is on)

The vietnamien proverb is only in french. I try a english translation

"Before you go up a tiger, it is a good idea learning to go down"


The btns "mouse" and "Processlopp" (at right of the nousebtn) works like a radiobutton.

If the hilite of btn "Mouse" is true you can use with the mouse or with a joystick. The loop is ooff

If not, the hilite of btn Processlopp is true and the loop is on

When you quit, the navigation mode is saved in one file and read on opnstack to set the preferences.


Best

Jean-marc

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Aug 26, 2009 10:50 am

Hi Jean-Marc,

Thanks for the explanations. Now I understand how it works. I still believe that you need to change the repeat loop though. I guess you need to use the send command instead of a repeat loop. It would avoid a lot of annoyance.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

backdrop on Linux

Post by jmburnod » Wed Aug 26, 2009 11:44 am

Thank one more mark,

In fact, there is several loop with a wait at the end of each.

What is the difference if i send a message at the same rythm

Jean-Marc

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Post by Mark » Wed Aug 26, 2009 12:30 pm

Hi Jean-Marc,

By using the send command (send in 0 millisecs) you give Revolution time to clean up and the processor needs to work less hard.

Best,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

backdrop on Linux

Post by jmburnod » Sat Aug 29, 2009 9:30 am

Hi Mark,

We are going out the original topic
I move our exchanges on a new topic "tools to watch the processor work" in "talking revolution"

Best

Jean-Marc

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9388
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: backdrop on Linux

Post by richmond62 » Wed Mar 24, 2010 4:04 pm

My experience of the built-in Backdrop has never been very satisfactory, so I tend to use a fake one:

http://andregarzia.on-rev.com/richmond/STUFF/FAKER.zip

Post Reply

Return to “Linux”