Trying to update and move old Hypercard stack to LC. (The stack allows one to describe a system process.)
In HC i used a matrix of buttons, drawing from and extensive library of icon resources to visualize user interactions.
Just beginning with LC and using a matrix of 238 jpegs. Is this similar approach best strategy for LC??
strategy for matrix of interactive images
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
strategy for matrix of interactive images
rebuilding visual programming app originally created in 1993 as Hypercard stack
Re: strategy for matrix of interactive images
Not enough information.
Can't you simply convert your icon resources to images and use the old/running code?
p.s. For editing such a lot of objects better use (at first) LC 6 or LC 7.
Can't you simply convert your icon resources to images and use the old/running code?
p.s. For editing such a lot of objects better use (at first) LC 6 or LC 7.
shiftLock happens
Re: strategy for matrix of interactive images
I don't think you need 238 buttons. You need just to master these commands:
You may force the loc property of objects to the near position of your grid during MouseMove used to move object. Grid would be just an image. It would simplify your code.
Moreover you can divide you objectes in actives (start/stop, signal transformers, etc.) and inactive ones (wires), so your control everything loop will check only active elements.
In the end no matrix, but only few active elements.
- mouseMove
- mouseDown
- mouseUp
You may force the loc property of objects to the near position of your grid during MouseMove used to move object. Grid would be just an image. It would simplify your code.
Moreover you can divide you objectes in actives (start/stop, signal transformers, etc.) and inactive ones (wires), so your control everything loop will check only active elements.
In the end no matrix, but only few active elements.
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
Re: strategy for matrix of interactive images
Thanks for guidance MaxV and -hh
Is 6.7.11 a best choice for HC conversion?
Off to the benevolent Hyperactive Software...
Is 6.7.11 a best choice for HC conversion?
Off to the benevolent Hyperactive Software...
rebuilding visual programming app originally created in 1993 as Hypercard stack
Re: strategy for matrix of interactive images
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w