RE: scrolling stack I made

2013-06-09 Thread Ralph DiMola
Very strange. Could this be an Android OS version problem? I thought there
was some backwards compatibility. On the developers console it tell me my
apk supports all devices. See stats from the developers console below:

Supported devices 2876
Excluded devices 0

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Roger Eller
Sent: Saturday, June 08, 2013 10:52 AM
To: How to use LiveCode
Subject: RE: scrolling stack I made

Searching via the play store app did not reveal your app because it knows
what devices I have.  I did find it however by searching from a browser (not
signed in).  From there, I touched the icon and it took me to your app in
the play store.  Immediately, I saw that it says Your device isn't
compatible with this version.

From the screenshots, the app appears to have a phone layout.  Did you have
to specify anywhere that it can also run on tablets?  I believe J. Landman
Gay also had this initial problem with Casey's Solitaire, but it runs fine
on tablets now.

~Roger

Sent from my Pipo M2
On Jun 8, 2013 12:02 AM, Ralph DiMola rdim...@evergreeninfo.net wrote:

 Roger or anyone,

 Could you install mine from the PlayStore and see if you have a 
 problem with 4.1.1? Search JBT or Sectionals. The app is for the 
 Jewelers Board of Trade. You won't get past the login screen but that 
 should be enough to see if it works. I'm thinking of upgrading from my 
 Droid X to a Galaxy S3 or S4 and keep the 2.2 Droid X for backwards 
 compatibility testing.

 Thanks in advance!

 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net


 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On 
 Behalf Of Roger Eller
 Sent: Friday, June 07, 2013 9:44 PM
 To: How to use LiveCode
 Subject: Re: scrolling stack I made

 I also get that error on my 4.1.1 tablet.

 Sent from my Pipo M2
 On Jun 7, 2013 9:23 PM, Alejandro Tejada capellan2...@gmail.com wrote:

  I downloaded your APK installer in a Samsung S3 Galaxy (Android 
  4.1.1)
  http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080D
  J6
  CM
 
  When I tried to install it, just get the same error as in the 
  Polaroid tablet.
  (Application NOT installed)
 
  Alejandro
 
 
 
 
 
  --
  View this message in context:
  http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-mad
  e- tp4665050p4666131.html Sent from the Revolution - User mailing 
  list archive at Nabble.com.
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your 
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: scrolling stack I made

2013-06-09 Thread Alejandro Tejada
Hi All,

This the website of Ralph DiMola's Android application:
https://play.google.com/store/apps/details?id=com.jewelersboard.app.sectional

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666210.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-09 Thread Mark Wieder
Geoff-

Wednesday, May 22, 2013, 10:02:54 AM, you wrote:

 Here it is adapted to use the array again. It's too bad (for this) that the
 loc can't use a fractional value and just work.

I thought I had a patch for the engine source that would allow this,
but the parser outsmarted me (again). Still working on it.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: scrolling stack I made

2013-06-08 Thread Roger Eller
Searching via the play store app did not reveal your app because it knows
what devices I have.  I did find it however by searching from a browser
(not signed in).  From there, I touched the icon and it took me to your app
in the play store.  Immediately, I saw that it says Your device isn't
compatible with this version.

From the screenshots, the app appears to have a phone layout.  Did you have
to specify anywhere that it can also run on tablets?  I believe J. Landman
Gay also had this initial problem with Casey's Solitaire, but it runs fine
on tablets now.

~Roger

Sent from my Pipo M2
On Jun 8, 2013 12:02 AM, Ralph DiMola rdim...@evergreeninfo.net wrote:

 Roger or anyone,

 Could you install mine from the PlayStore and see if you have a problem
 with
 4.1.1? Search JBT or Sectionals. The app is for the Jewelers Board of
 Trade. You won't get past the login screen but that should be enough to see
 if it works. I'm thinking of upgrading from my Droid X to a Galaxy S3 or S4
 and keep the 2.2 Droid X for backwards compatibility testing.

 Thanks in advance!

 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net


 -Original Message-
 From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
 Behalf
 Of Roger Eller
 Sent: Friday, June 07, 2013 9:44 PM
 To: How to use LiveCode
 Subject: Re: scrolling stack I made

 I also get that error on my 4.1.1 tablet.

 Sent from my Pipo M2
 On Jun 7, 2013 9:23 PM, Alejandro Tejada capellan2...@gmail.com wrote:

  I downloaded your APK installer in a Samsung S3 Galaxy (Android 4.1.1)
  http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080DJ6
  CM
 
  When I tried to install it, just get the same error as in the Polaroid
  tablet.
  (Application NOT installed)
 
  Alejandro
 
 
 
 
 
  --
  View this message in context:
  http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-
  tp4665050p4666131.html Sent from the Revolution - User mailing list
  archive at Nabble.com.
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
  subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-08 Thread J. Landman Gay

On 6/8/13 9:51 AM, Roger Eller wrote:


From the screenshots, the app appears to have a phone layout.  Did you have

to specify anywhere that it can also run on tablets?  I believe J. Landman
Gay also had this initial problem with Casey's Solitaire, but it runs fine
on tablets now.


Actually I had the reverse problem and eventually decided to release 
only for tablets. But the issue wasn't that the app wouldn't install on 
small phones (it did) but that the layout just didn't conform 
comfortably to small screens.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-07 Thread Colin Holgate
Had you already built your own tests onto the device?


On Jun 6, 2013, at 11:53 PM, Alejandro Tejada capellan2...@gmail.com wrote:

 I downloaded and try to run your APK file, but my Android device
 does not allows me to install the application. Strangely enough
 it says that will replace another application!

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-07 Thread Alejandro Tejada
Hi Colin,


Colin Holgate-2 wrote
 Had you already built your own tests onto the device?

No, I build the APK in Windows, then copy the installer to the Tablet
and install from X-Plore:
https://play.google.com/store/apps/details?id=com.lonelycatgames.Xplorehl=en

It has worked, so far, with the very simple test stacks
compiled with LC Community Edition 6.0.2

Notice, I could not compile your stack for Android with this version of LC,
and this Tablet Polaroid tablet uses Android 4.04 (API level 15) Ice Cream
Sandwich. 

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666093.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-07 Thread Alejandro Tejada
I downloaded your APK installer in a Samsung S3 Galaxy (Android 4.1.1)
http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080DJ6CM

When I tried to install it, just get the same error as in the Polaroid
tablet.
(Application NOT installed)

Alejandro





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666131.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-07 Thread Roger Eller
I also get that error on my 4.1.1 tablet.

Sent from my Pipo M2
On Jun 7, 2013 9:23 PM, Alejandro Tejada capellan2...@gmail.com wrote:

 I downloaded your APK installer in a Samsung S3 Galaxy (Android 4.1.1)
 http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080DJ6CM

 When I tried to install it, just get the same error as in the Polaroid
 tablet.
 (Application NOT installed)

 Alejandro





 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666131.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


RE: scrolling stack I made

2013-06-07 Thread Ralph DiMola
Roger or anyone,

Could you install mine from the PlayStore and see if you have a problem with
4.1.1? Search JBT or Sectionals. The app is for the Jewelers Board of
Trade. You won't get past the login screen but that should be enough to see
if it works. I'm thinking of upgrading from my Droid X to a Galaxy S3 or S4
and keep the 2.2 Droid X for backwards compatibility testing.

Thanks in advance!

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf
Of Roger Eller
Sent: Friday, June 07, 2013 9:44 PM
To: How to use LiveCode
Subject: Re: scrolling stack I made

I also get that error on my 4.1.1 tablet.

Sent from my Pipo M2
On Jun 7, 2013 9:23 PM, Alejandro Tejada capellan2...@gmail.com wrote:

 I downloaded your APK installer in a Samsung S3 Galaxy (Android 4.1.1) 
 http://www.amazon.com/Samsung-Galaxy-Unlocked-Smart-Marble/dp/B0080DJ6
 CM

 When I tried to install it, just get the same error as in the Polaroid 
 tablet.
 (Application NOT installed)

 Alejandro





 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-
 tp4665050p4666131.html Sent from the Revolution - User mailing list 
 archive at Nabble.com.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-06 Thread Alejandro Tejada
Hi All,

Where could I find a link of this stack,
already compiled for Android?

I have tried, without success, to create
an Android APK with Colin's stack using
LiveCode Comunnity 6.0.2 for Android 2.2

Thanks in advance!

Al





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666071.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-06 Thread Colin Holgate
I did previously build an APK version, but when I try now I get an apk 
finalization failed error. Are you able to open the stack I posted, and 
publish your own APK?

Here's the one I made at the conference. The current one has some improvements:

http://xfiles.funnygarbage.com/~colinholgate/apks/scroller.apk


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-06-06 Thread Alejandro Tejada
Hi Colin,


Colin Holgate-2 wrote
 I did previously build an APK version, but when I try now I get
 an apk finalization failed error. Are you able to open the stack
 I posted, and publish your own APK?
 
 Here's the one I made at the conference. The current one has
 some improvements:
 
 http://xfiles.funnygarbage.com/~colinholgate/apks/scroller.apk

I downloaded and try to run your APK file, but my Android device
does not allows me to install the application. Strangely enough
it says that will replace another application! :o
http://www.amazon.com/Polaroid-PMID800-8-Internet-Tablet/dp/B00AAJQPS2/ref=cm_cr_pr_product_top

Many Thanks for posting the download.

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4666074.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-23 Thread Michael Kristensen
Runrev has promised subpixel placement in a future update

Mic

 
 Here it is adapted to use the array again. It's too bad (for this) that the
 loc can't use a fractional value and just work.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-23 Thread J. Landman Gay

On 5/18/13 5:04 AM, Colin Holgate wrote:

While at the conference I found time to figure out a couple of
things. I used arrays for the first time (in LiveCode that is), and I
found hardware acceleration settings that worked well.

The test I did was to have a scene doing parallax scrolling. The
initial scene is made up of five slices, each 1024 wide, and
significantly tall too. Those need to be on the card twice each, so
that you can scroll the second copy into view as you move. That went
well enough, so I added 101 LC logos to the scene, and it still moved
well.


This is pretty amazing. We took an extra week in Scotland after the 
conference, and very little internet access, so I just now had a chance 
to look at the stack. I'm really impressed.


The only thing I'd add is a closestack handler that stops the pending 
messages when the stack is closed. I noticed the fans in my iMac went 
wild and LiveCode was using 100% of the CPU, which I tracked down to 
pending messages. I suppose that isn't an issue on mobile but on desktop 
things get quite lively. (For some reason it kicked Finder into 100% CPU 
too, so I had 2 processes going full speed for a while. I had to 
relaunch Finder to get it to stop.)


Still, the effect was worth it. :)

--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-22 Thread Geoff Canyon
Hi Colin,

Nice work!

I added timing code to get the framerate. On my macbook pro when nothing is
actually moving, it achieves about 40 fps. When the images are moving it
drops to about 24 fps. I'd be curious how using the move command might
compare. I don't think  it would be faster since with each frame it's
likely that all the commands would have to be canceled and re-issued to
change the speed.

I also simplified the movement routine to a single line to update the
position of each object, which eliminated the need to store the position in
the array. Feel free to use anything or nothing from this:


global places,worldx,difx
local frameratecounter,secondmarker

on opencard
   resetobjects
   put 0 into difx
   if the environment is mobile then mobileEnableAccelerometer 100
   moveworld
end opencard

on accelerationChanged pXAccel, pYAccel, pZAccel
   put min(100,max(-100,pYAccel*10)) into difx
end accelerationChanged

on moveworld
   if the environment is not mobile then
  put (512-the mouseh)/100 into difx
   end if
   movethings difx
   add 1 to frameratecounter
   if seconds() is not secondmarker then
  put frameratecounter
  put 0 into frameratecounter
  put seconds() into secondmarker
   end if
   if the optionkey is not down then send moveworld to me in 16 milliseconds
end moveworld

on resetobjects
   lock screen
   put 0 into oldvalue
   put 0 into worldx
   put  into places
   split places by return
   addimage lc1,the left of img lc1,8
   repeat with a = 1 to 100
  put lc_a into imagename
  if there is not an image imagename then
 clone image lc1
 set the name of image the number of images to imagename
  end if
  set the width of image imagename to min(256,1024/min(101-a,100))
  set the height of image imagename to min(256,1024/min(101-a,100))
  set the top of image imagename to random(500)
  set the left of image imagename to random(2048)
  addimage imagename,the left of image imagename,min(10+(101-a) / 3,100)
   end repeat
   addimage sky1,0,60
   addimage sky2,1024,60
   addimage hills1,0,40
   addimage hills2,1024,40
   addimage tracks1,0,20
   addimage tracks2,1024,20
   addimage farhedges1,0,10
   addimage farhedges2,1024,10
   addimage nearhedges1,0,5
   addimage nearhedges2,1024,5
   movethings worldx
   repeat with a = 1 to the number of images
  set the layerMode of img a to dynamic
   end repeat
   unlock screen
end resetobjects

on addimage imagename, imageplace, imagespeed
   put imagename into places[imagename][imagename]
   set the left of image imagename to imageplace
   put imagespeed into places[imagename][imagespeed]
end addimage

on movethings howmuch
   lock screen
   repeat for each element a in places
  set the left of image a[imagename] to trunc(3072 + the left of
image a[imagename] + howmuch*100/a[imagespeed]) mod 2048 - 1024
   end repeat
   unlock screen
end movethings
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-22 Thread Colin Holgate
The use of an array value was intentional. Try your version and my version 
while moving very slowly, you'll see that lots of the images will stall in your 
one. That's because the value keeps rounding down to the nearest pixel. The 
array approach makes the location be floating point, and so over time the image 
will reach the next integer value.


On May 22, 2013, at 10:28 AM, Geoff Canyon gcan...@gmail.com wrote:

 I also simplified the movement routine to a single line to update the
 position of each object, which eliminated the need to store the position in
 the array.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-22 Thread Geoff Canyon
Funny, I thought I was getting away with it because I was scrolling to the
left, where the use of trunc instead of round meant that even at the
slowest setting, everything was moving, in some cases too fast.

Here it is adapted to use the array again. It's too bad (for this) that the
loc can't use a fractional value and just work.

on addimage imagename, imageplace, imagespeed
   put imagename into places[imagename][imagename]
   put imageplace into places[imagename][imageplace]
   put imagespeed into places[imagename][imagespeed]
end addimage

on movethings howmuch
   lock screen
   repeat for each key K in places
  put (3072 + places[K][imageplace] +
howmuch*100/places[K][imagespeed]) mod 2048 - 1024 into
places[K][imageplace]
  set the left of image places[K][imagename] to
trunc(places[K][imageplace])
   end repeat
   unlock screen
end movethings



On Wed, May 22, 2013 at 10:00 AM, Colin Holgate co...@verizon.net wrote:

 The use of an array value was intentional. Try your version and my version
 while moving very slowly, you'll see that lots of the images will stall in
 your one. That's because the value keeps rounding down to the nearest
 pixel. The array approach makes the location be floating point, and so over
 time the image will reach the next integer value.


 On May 22, 2013, at 10:28 AM, Geoff Canyon gcan...@gmail.com wrote:

  I also simplified the movement routine to a single line to update the
  position of each object, which eliminated the need to store the position
 in
  the array.

 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-20 Thread Mark Talluto
That is a wonderful franchise to be a part of. My kids love Thomas. We have all 
the movies, books, and a number of trains. 

Mark
canelasoftware.com

On May 19, 2013, at 6:31 PM, Colin Holgate co...@verizon.net wrote:

 The landscape in the background is the Island of Sodor. I borrowed the layers 
 from a menu I made for this app:
 
 https://itunes.apple.com/us/app/thomas-friends-lift-haul-collection/id641291615?mt=8
 
 as you can see in the first screenshot.
 
 
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-20 Thread Thomas McGrath III
Colin,

I tried this (awesome) stack on an iPad Retina and there seems to be a problem 
with the scrolling logos being cut off. There seems to be a square section 
either missing or constrained for most logo images. I have a screen shot if you 
are interested here: 
https://www.dropbox.com/s/wlesoa70gy0yt2e/scrollingParallax.png

Thanks for sharing this informative demo.

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On May 19, 2013, at 7:04 PM, Colin Holgate co...@verizon.net wrote:

 Hopefully some of you will try it on iOS and Android, it works well there too.
 
 
 On May 19, 2013, at 10:55 PM, Alejandro Tejada capellan2...@gmail.com wrote:
 
 This Scrolling Stack works really nice in Windows, too! :D
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-20 Thread Thomas McGrath III
This screenshot shows an LC logo in the upper middle that seems to be 
constrained by the square where others seem to be cut out by the square.

https://www.dropbox.com/s/vb57wkia6b1l1qq/scrollingParallax2.png

Tom 

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On May 20, 2013, at 8:34 AM, Thomas McGrath III mcgra...@mac.com wrote:

 Colin,
 
 I tried this (awesome) stack on an iPad Retina and there seems to be a 
 problem with the scrolling logos being cut off. There seems to be a square 
 section either missing or constrained for most logo images. I have a screen 
 shot if you are interested here: 
 https://www.dropbox.com/s/wlesoa70gy0yt2e/scrollingParallax.png
 
 Thanks for sharing this informative demo.
 
 Tom
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.com
 
 On May 19, 2013, at 7:04 PM, Colin Holgate co...@verizon.net wrote:
 
 Hopefully some of you will try it on iOS and Android, it works well there 
 too.
 
 
 On May 19, 2013, at 10:55 PM, Alejandro Tejada capellan2...@gmail.com 
 wrote:
 
 This Scrolling Stack works really nice in Windows, too! :D
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-20 Thread Colin Holgate
That's just showing that a script error has happened. All of the logos should 
be different sizes, and if they're all the same size, like they are in the 
screenshot, something went wrong.

Did you make any changes to the script?
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-20 Thread Thomas McGrath III
Colin, For once I did not even open the script before I tested and loaded this. 
I saw the comment mentioning accelerometer and immediately loaded it on my iPad 
to see it in action. This was run straight from the download.

Here is what is happening on my iPhone 4: 
https://www.dropbox.com/s/4po1t2brbq57jlm/ScrollingParallaxiPhone4.png

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On May 20, 2013, at 8:52 AM, Colin Holgate co...@verizon.net wrote:

 That's just showing that a script error has happened. All of the logos should 
 be different sizes, and if they're all the same size, like they are in the 
 screenshot, something went wrong.
 
 Did you make any changes to the script?
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-20 Thread Thomas McGrath III
Colin, I just checked a build using 6.0.1 and everything runs as expected. The 
original build was using 5.5.4 where it didn't work. So it seems that something 
in 5.5.4 has changed for 6.0.1

Thanks

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On May 20, 2013, at 8:57 AM, Thomas McGrath III mcgra...@mac.com wrote:

 Colin, For once I did not even open the script before I tested and loaded 
 this. I saw the comment mentioning accelerometer and immediately loaded it on 
 my iPad to see it in action. This was run straight from the download.
 
 Here is what is happening on my iPhone 4: 
 https://www.dropbox.com/s/4po1t2brbq57jlm/ScrollingParallaxiPhone4.png
 
 Tom
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.com
 
 On May 20, 2013, at 8:52 AM, Colin Holgate co...@verizon.net wrote:
 
 That's just showing that a script error has happened. All of the logos 
 should be different sizes, and if they're all the same size, like they are 
 in the screenshot, something went wrong.
 
 Did you make any changes to the script?
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-19 Thread Mark Talluto

On May 18, 2013, at 11:04 AM, Colin Holgate co...@verizon.net wrote:

 While at the conference I found time to figure out a couple of things. I used 
 arrays for the first time (in LiveCode that is), and I found hardware 
 acceleration settings that worked well.
 
 The test I did was to have a scene doing parallax scrolling. The initial 
 scene is made up of five slices, each 1024 wide, and significantly tall too. 
 Those need to be on the card twice each, so that you can scroll the second 
 copy into view as you move. That went well enough, so I added 101 LC logos to 
 the scene, and it still moved well.
 
 I made changes now so that you can try the effect on desktop, not just on 
 mobile. If you do build this to mobile it uses the accelerometer, otherwise 
 it uses the mouse position to control the scrolling speed.

This truly an amazing demo of what can be done graphically with LC these days.  
It is incredibly smooth on my Mac Air.  Thanks for sharing this.
It is very fitting that I am testing it at this moment.  The backdrop looks 
like the hills over here in Scotland.  I am listening to the bag pipes as they 
are being played outside my hotel window while flying through the highlands in 
this demo.  Very cool!

Best regards,

Mark Talluto
http://www.canelasoftware.com






___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-19 Thread Colin Holgate
The landscape in the background is the Island of Sodor. I borrowed the layers 
from a menu I made for this app:

https://itunes.apple.com/us/app/thomas-friends-lift-haul-collection/id641291615?mt=8

as you can see in the first screenshot.




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-19 Thread Alejandro Tejada
This Scrolling Stack works really nice in Windows, too! :D





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4665114.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-19 Thread Colin Holgate
Hopefully some of you will try it on iOS and Android, it works well there too.


On May 19, 2013, at 10:55 PM, Alejandro Tejada capellan2...@gmail.com wrote:

 This Scrolling Stack works really nice in Windows, too! :D

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-19 Thread Alejandro Tejada
Hi Colin,

Would you like to test if your code
could be adapted to create this
kind of infinite zoom effect in iOS
or Android device?

No iPad, iPhone or Android device
in my developer desk...

http://runtime-revolution.278305.n4.nabble.com/Second-test-for-Infinite-Zoom-td3642705.html

Thanks in advance!

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4665119.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-19 Thread Roger Guay
Hi Colin,

I tried it in the iOS simulator where it opened but remained static. How do you 
initiate scrolling?

Thanks,

Roger


On May 19, 2013, at 4:04 PM, Colin Holgate co...@verizon.net wrote:

 Hopefully some of you will try it on iOS and Android, it works well there too.
 
 
 On May 19, 2013, at 10:55 PM, Alejandro Tejada capellan2...@gmail.com wrote:
 
 This Scrolling Stack works really nice in Windows, too! :D
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-19 Thread Colin Holgate
The iOS Simulator doesn't do accelerometer as far as I know. You could remove 
the if statement on the mouse handler, then you can click to make it scroll. I 
wouldn't bother though, the performance is nowhere near as good as on desktop 
or a real device.


On May 19, 2013, at 8:06 PM, Roger Guay i...@mac.com wrote:

 I tried it in the iOS simulator where it opened but remained static. How do 
 you initiate scrolling?

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-18 Thread Robert Mann
wouhaou!! Impressed! ...add a vertical change of view direction and you'll
have made that funky 3D desktop some of us must have fantasized about!
Warm thank you : It's so interesting to see how things work behind the
scene.
And one can measure the live code path since the first scrollable groups a
few years back, than the datagrid...



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/scrolling-stack-I-made-tp4665050p4665058.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: scrolling stack I made

2013-05-18 Thread Jim Little

Very nice parallax scrolling. 

thank you.

Jim 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode