Search found 22 matches
- Thu Apr 30, 2020 11:23 pm
- Forum: Games
- Topic: animation timings and key-repeat issues
- Replies: 12
- Views: 12516
Re: animation timings and key-repeat issues
Hmmm, I think I know what you mean. I've found that when I move the red dot with A and D keys, it drastically slows down any animations currently looping (the green square). Can you see what I'm doing wrong? https://www.tsites.co.uk/downloads/key-anim/Untitled1.livecode.zip https://www.tsites.co.uk/...
- Sun Apr 26, 2020 4:36 pm
- Forum: Talking LiveCode
- Topic: Performance when multitasking
- Replies: 17
- Views: 9474
Re: Performance when multitasking
For anyone still following this, I solved the issues I was having. I used lockscreen (thank you bogs - I know what you mean now), and instead of using multiple 'sends' to various buttons, I moved all the scripts inside the card. Previously I was trying to send the handlers to various card objects co...
- Sun Apr 26, 2020 11:29 am
- Forum: Talking LiveCode
- Topic: odd scrolling behaviour of text field
- Replies: 12
- Views: 6621
Re: odd scrolling behaviour of text field
Not sure what to suggest here. This is the expected behaviour when I try it: https://www.tsites.co.uk/downloads/newline.png The new line appears without scrolling the text field to the bottom. One thing I could think of, where did you copy your text from? Perhaps there's some characters (unicode or ...
- Sun Apr 26, 2020 11:17 am
- Forum: Talking LiveCode
- Topic: Performance when multitasking
- Replies: 17
- Views: 9474
Re: Performance when multitasking
So, managed to find an older Macbook Air, running OSX 10.11. This is a generic, fresh 10.11 install. The tests match mine on my 10.11 desktop. So, I think the performance lag is specific to OSX 10.11 in Livecode. Not sure what causes it. All other programs are butter-smooth. No high CPU use in other...
- Fri Apr 24, 2020 6:38 pm
- Forum: Talking LiveCode
- Topic: Detect Operating System
- Replies: 35
- Views: 17133
Re: Detect Operating System
True, but let's say tomorrow the major chip manufacturers announce they are going to make a 128bit processor (unlikely, because they are all at home). Like what happens with a 64 bit chip currently, where 32bit software would run - the same would be true with the 128bit system. Older 64bit software ...
- Fri Apr 24, 2020 8:58 am
- Forum: Talking LiveCode
- Topic: Detect Operating System
- Replies: 35
- Views: 17133
Re: Detect Operating System
I guess if suddenly they release a new type of processor, an unidentified model. The shell would know what it is because the operating system needs a working shell, so better to query the shell for the answer.
- Thu Apr 23, 2020 9:45 pm
- Forum: Games
- Topic: animation timings and key-repeat issues
- Replies: 12
- Views: 12516
animation timings and key-repeat issues
Hi everyone. Having a few real issues with animation speeds not being consistent across different platforms. For example: https://www.tsites.co.uk/downloads/animtests/anim-test-png-sprites.mp4 This seems to run fine and is a simple load of PNGs being loaded into a button, while the button is being m...
- Thu Apr 23, 2020 9:33 pm
- Forum: Talking LiveCode
- Topic: Detect Operating System
- Replies: 35
- Views: 17133
Re: Detect Operating System
Something like this perhaps then?
Which works on Mac, Linux and Windows.
https://www.tsites.co.uk/downloads/32bi ... versal.zip
Which works on Mac, Linux and Windows.
https://www.tsites.co.uk/downloads/32bi ... versal.zip
- Thu Apr 23, 2020 8:49 pm
- Forum: Talking LiveCode
- Topic: Detect Operating System
- Replies: 35
- Views: 17133
Re: Detect Operating System
If you want to know if it's a 32bit or 64bit machine, I know how to do it on the mac. You could use: paste this into a field called "script" on the card set xvar to do shell script "getconf LONG_BIT" set yvar to do shell script "sysctl -n machdep.cpu.brand_string" display dialog "Running a " & xvar ...
- Thu Apr 23, 2020 8:41 pm
- Forum: Talking LiveCode
- Topic: Performance when multitasking
- Replies: 17
- Views: 9474
Re: Performance when multitasking
https://www.tsites.co.uk/downloads/screenshot-mac-10.14.png And next to no slowdown under OSX 10.14. So, question is, what is wrong with: A: My OSX 10.11 B: All OSX 10.11 Long shot, but if someone else is on OSX 10.11 and can do a test, that would be great. Until then, I'll see if I can beg / borro...
- Thu Apr 23, 2020 8:25 pm
- Forum: Talking LiveCode
- Topic: documentation
- Replies: 5
- Views: 6141
Re: documentation
True, but that's perhaps just bad design. You can have a complicated program - but as long as you explain underneath what the options do, have the documentation next to the button.
- Thu Apr 23, 2020 8:10 pm
- Forum: Talking LiveCode
- Topic: Performance when multitasking
- Replies: 17
- Views: 9474
Re: Performance when multitasking
So, tested on OSX 10.7 https://www.tsites.co.uk/downloads/screenshot-mac-10.7.png (forgot to turn on the box for accelerated rendering under OSX 10.7, but meh - performance not too bad anyway). and on OSX 10.11 https://www.tsites.co.uk/downloads/screenshot-mac-10.11.png (nearly maxed out. Frame rate...
- Thu Apr 23, 2020 7:56 pm
- Forum: Talking LiveCode
- Topic: Creating a password-protected (encrypted) disk image?
- Replies: 7
- Views: 6028
Re: Creating a password-protected (encrypted) disk image?
You could use put "hdiutil create -volname 'targetvol' -encryption -srcfolder 'pathtodatafolder' -ov -format UDRO 'nameofnewdmg.dmg'" into mycmd put shell(mycmd) -- targetvol (What your disk image icon name will be) -- pathtodatafolder (can be a folder or existing drive) - where the data is copied f...
- Thu Apr 23, 2020 7:48 pm
- Forum: Talking LiveCode
- Topic: documentation
- Replies: 5
- Views: 6141
Re: documentation
That's a wealth of information as far as documentation goes.
Having said that, if a program is designed in an intuitive way, then less documentation is required.
Having said that, if a program is designed in an intuitive way, then less documentation is required.
- Thu Apr 23, 2020 7:35 pm
- Forum: Talking LiveCode
- Topic: Detect Operating System
- Replies: 35
- Views: 17133
Re: Detect Operating System
To detect operating system, do you want put the platform should return "Win32" on any version of Windows "Linux" on all Linux distributions "MacOS" on any version of Mac OS X "iphone" on iPhones, iPads and other iOS devices "android" on smartphones, tablets and other Android devices "HTML5" when run...