On Wednesday, January 7, 2004, at 10:00 PM, Dar Scott wrote:
Here is my function:
Here is a revision that handles the unusual case of the stack in
defaultFolder not being open or otherwise not containing a valid value.
-- Returns an image (PNG) of current card even if obscured
-- or off screen.
On 1/8/04 10:40 PM, Mark Wieder [EMAIL PROTECTED] wrote:
Hard to tell much on the show floor with all the other activity
around, but with all that the samples sounded good to my ears. If the
loops really are intrument samples, then transposing them *should*
affect the quality somewhat. You
On Thursday, January 8, 2004, at 11:52 PM, Alex Rice wrote:
Dar- why would you use a button instead of an image, if there is only
1 instance of a particular tile? Just curious about game dev
advantages of buttons, other than the ability to kind of clone an
image by referencing it.
I was
I once made a Role Playing game in metacard, back then I used a background
(group) that had buttons sized 64x64 pixels filling the whole screen (ended
up with over a hundred buttons). I programmed a scripting language that
would save and load files which contained the icons and name/label of
As a follow up to the game development discussion, you can take a look at a
small demo stack that illustrates the use of tiled buttons in a grid which
reference common images. As stated earlier, the main benefit of this
technique is low memory overhead needed for displaying a large image area.
On 09 Jan 2004, at 07:39, [EMAIL PROTECTED] wrote:
Message: 5
Date: Thu, 8 Jan 2004 23:17:08 -0700
From: Dar Scott [EMAIL PROTECTED]
Subject: Re: Rev Crash Again!
To: How to use Revolution [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed
On
Frank,
This doesn't work because LINE 3 gets executed right after
LINE 2, not
after the dialog is closed (i.e. Revolution doesn't wait for
the modal
dialog to be closed before it executes LINE 3).
Actually, that's exactly what Rev does. When you call modal stack,
execution stops at that line
If I do a
clone stack myStack
Then a clone of the stack appears with the name Copy of myStack.
If I then clone again I get *another* stack with the same name - Copy of
myStack and same ID.
How do I distinguish between them?
Can I decide the cloned stack name myself?
doug
It's a scope and identifier confusion question.
Suppose I have a local variable thisVar. And suppose I want to set a
property of that name in stack myStack.
If I do:
set the thisVar of stack myStack to thisVar
then the *name* of the created property is the *value* of the local variable
On 09 Jan 2004, at 13:00, [EMAIL PROTECTED] wrote:
Message: 5
Date: Fri, 9 Jan 2004 00:12:41 -0700
From: Dar Scott [EMAIL PROTECTED]
Subject: Re: Rev Crash Again! ... cardImage() function
To: How to use Revolution [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;
Dar Scott wrote:
This export regulations stuff doesn't fit into my head very well.
To your credit, sir! Score: Right Brain 1, Left Brain zip.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
I wrote a game that uses a rev app as a level editor. I used the same
tilemap approach that is being discussed, with a grid of buttons which take
on different images depending on what is being 'painted' on the level. There
are close to 600 buttons in all and the speed is remarkable. Painting
Robert Brenstein quoted Scott Raney:
open
inv is poor technique in MC anyway (it's only there as a SuperCard
compatibility feature), as is setting up fields in one stack from
another directly. Instead, do the init in a preOpenStack handler, and
get the data in the dialog from a well known place
Doug,
From what I understand, this is not a good thing to do. FWIW you can
clone a stack and then change the name and then set it to the mainStack
Whatever and for that matter change it's size location and add
scripts to it all via scripts.
In fact my experience shows that this is preferred
yeah, I hit that too, now i just:
put the thisVar of stack myStack into myVar
or
put yada into myVar
and then
set the thisVar of stack myStack to myVar
or
set the thisVar of this stack to myVar
tom
On Jan 9, 2004, at 7:05 AM, Doug Lerner wrote:
It's a scope and identifier confusion question.
Hello list,
I have a stack with hundreds of substacks. 'All of a sudden' when I
open a substack via button; the substack opens and then goes away! i
think it goes to the back? I have to push the button again.
What can cause the substack to go to the back?
I was using 'open stack mystack '.
An alternative to the one pixel editing of an image
proposed by Scott Raney a while ago :^)
(to keep the transparency of an image in this case)
is the use of the export command. (works for me)
export img imagename to aVar as PNG -- or RLE
set the text of img imagename to aVar
(don't forget to
I've seen this technically absurd behavior opening HC stacks in MC. Checko
ut the
rect of the stack to see if it is not with negative numbers. If that's thec
ase, it could
be that the stack is reduced or hidden.
Hope that helps, hope they fix it!
Xavier
On 09/01/2004 15:52:56
So...
Are you saying something like:
1. clone a stack
2. set the name of the stack to something unique
3. close the stack again and
4. set the name of the stack to something unique
etc
rather than leaving them all with the name Copy of stack thisStack?
What about the fact that the ids are the
Actually the substack shows up for a couple of milliseconds and then
the main stack is all that can be seen. Once I hit the button again the
window does come to the front.
The size is 800x600
The rect is 240,132,1040,722
It does not appear that the substack is resizing but rather that it
When I use the clone command as in
clone stack myStack
even though myStack is a substack of the main stack, the *cloned* stack is
its own main stack - so it can't find the handlers in the real main stack.
Does anybody know how to clone a substack so that it also is a substack?
Thanks,
doug
Nevermind my previous message. I see you have to set the mainStack property
for all new stacks.
doug
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
Hi Thomas,
Actually the substack shows up for a couple of milliseconds and then
the main stack
is all that can be seen. Once I hit the button again the window does
come to the front.
The size is 800x600
The rect is 240,132,1040,722
It does not appear that the substack is resizing but rather
Hi Doug,
When I use the clone command as in
clone stack myStack
even though myStack is a substack of the main stack, the *cloned*
stack is
its own main stack - so it can't find the handlers in the real main
stack.
Does anybody know how to clone a substack so that it also is a
substack?
Add
Actually,
1. clone the stack (via a script in a button etc.)
2. immediately rename that stack (then another copy can't be the same
name)
Now you have your main stack and another main stack. If you want the
cloned stack to be apart of the main stack then do 3. if not you can
close it or
here's a trick
a little preopenstack script like
on preopenstack
get the time
pass openstack
end preopenstack
(do the same with preopencard just in case)
debug the get the time line
and trace to see if there is not another stack that is
intercepting or overiding your open stack behavior...
immediately set the cloned stack's mainStack to the main stack - now
it IS a part of the main stack - IDs are resolved - Names are not - so
rename the cloned stack(now a substack) and you got it.
Tom
On Jan 9, 2004, at 10:14 AM, Doug Lerner wrote:
When I use the clone command as in
clone
OK I will try that.
Do you know how to check the script of each of my hundreds of substacks
for an PreOpenStack, PreOpenCard and if so then add the code to it and
if not than copy the code to that stack and card VIA scripting
Thanks
TOm
On Jan 9, 2004, at 10:20 AM, [EMAIL PROTECTED]
If I do a
clone stack myStack
Then a clone of the stack appears with the name Copy of myStack.
If I then clone again I get *another* stack with the same name - Copy of
myStack and same ID.
How do I distinguish between them?
Can I decide the cloned stack name myself?
doug
Interesting. I just
(1) If I use the
set mainStack
command to cause cloned stacks to be a substack of the main stack it has the
inconvenient side-effect of storing all the created cloned substacks in the
main file when I save everything in the IDE.
It's probably better to duplicate main stack handlers in the
Hello all!
I'm developing on Mac OS9.2.2, RunRev2.0.3 for multiple platform
distribution...
One of the first things I do in my app (on openstack) is to:
on openStack
global warming -- :-)
set the itemDelimiter to /
put (item 1 to -2 of the effective filename of this stack)/ into
line 26 of
Hello all!
I'm developing with MacOS9.2.2, RunRev2.0.3 for multi-platform
distribution...
Apparently, one of my Linux beta sites reports that the app is not
appearing as an executable. So...he manually sets that flag before he
uses the app so that Linux will treat it properly. Any clues?
On Jan 9, 2004, at 5:53 AM, Dave Beck wrote:
Also, I found it helpful to keep a separate 'lookup' field of
button ids, again each line representing a row of the grid and each
item
representing a column. When you need set the button's icon at (2,4),
you can
lookup the button's ID from item 2 of
On Jan 8, 2004, at 11:52 PM, [EMAIL PROTECTED] wrote:
And isn't it true that newer Macs can't install OS9 even as a second
startup disk?
I am wondering the same thing. I have a newer G4-dual-800 Mac. I
installed OS X without having OS 9 installed first. Later I failed
utterly trying to install
I posted about the keyboard access on Windows showing up in my app. I
turned on Keyboard access in OSX but it does not seem to work.
Is there another thing that lets the Mac access the buttons like the
Windows is? traversal is on
Tom
Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz,
What if you had an internet game and you wanted participants to be able to
talk to each other by voice over T1. It would not have to be the quality of
full VOIP. It could even be simplex rather than duplex. This problem
should be similar to broadcasting a web camera output, except you just want
Tom,
The windows app acts like it is at the root level even though
it is in
a sub folder. I guess the autorun.inf makes the rev
standalone 'think'
it was launched at the root level even though it wasn't. I also guess
that windows does not like the autorun.inf and the app it launches to
Are there any diff like tools that I can compare stacks with - like
say the altArchive numbered backup stacks, to see what changes were
made between different versions?
Alex Rice [EMAIL PROTECTED] | Mindlube Software |
http://mindlube.com
what a waste of thumbs that are opposable
to make
Hi developers,
I use this handler to convert a jpg embedded in
an Adobe Ilustrator file (version 6 or 7) as
Hexadecimal data in a binary image within Runrev.
But it takes so long. Comments to make this faster
are welcome.
on mouseUp
put the ticks into zxc
show img id 1088
put fld
This thread should now be called : No rev crash again and metacard
neither,
or something :^))
On 09 Jan 2004, at 22:04, [EMAIL PROTECTED] wrote:
Message: 10
Date: Fri, 9 Jan 2004 13:03:35 -0800 (PST)
From: Alejandro Tejada [EMAIL PROTECTED]
Subject: Re: Rev Crash Again! ... cardImage()
On 09 Jan 2004, at 22:04, [EMAIL PROTECTED] wrote:
Message: 9
Date: Fri, 9 Jan 2004 14:02:42 -0700
From: Dar Scott [EMAIL PROTECTED]
Subject: Re: Rev Crash Again! ... cardImage() function
To: How to use Revolution [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;
On Friday, January 9, 2004, at 01:59 PM, Jim Carwardine wrote:
You guys are way beyond me. :-! I think I'll use another strategy to
allow
users to jump to a certain card.
I always assume that I'm way beyond me, too. That is why I tend to
package things like this into functions and then I can
on Fri, 9 Jan 2004 14:02:42 -0700
Dar Scott wrote:
I like it! Maybe theStack can be made optional,
too. If so, should it
be defaultStack or topStack?
Anybody have ideas on specifying the card?
Look at these additions:
In a button this handler calls the function:
on mouseUp
create
On Friday, January 9, 2004, at 10:43 AM, Kirby Glad wrote:
What if you had an internet game and you wanted participants to be
able to
talk to each other by voice over T1. It would not have to be the
quality of
full VOIP. It could even be simplex rather than duplex. This problem
should be
On Friday, January 9, 2004, at 04:26 PM, Alejandro Tejada wrote:
function cardsImage theStack theCard --
local tCurrentCardImage, tOldBuffer, tID
put the topstack into qwerty --
lock screen --
go to card theCard of stack thestack --
On Friday, January 9, 2004, at 08:01 AM, Wouter wrote:
export img imagename to aVar as PNG -- or RLE
set the text of img imagename to aVar
RLE is not listed in the TD as an option. I see this:
paint, JPEG, GIF, PNG
On my setup, the paint format will generate PBM (P6). P6 is binary
after
Hello,
On 09 Jan 2004, at 22:04, [EMAIL PROTECTED] wrote:
Message: 2
Date: Fri, 9 Jan 2004 12:35:50 -0500
From: Thomas J McGrath III [EMAIL PROTECTED]
Subject: Full keyboard Access
To: How to use Revolution [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;
on Fri Jan 9
Dar Scott wrote:
function cardsImage theStack theCard --
local tCurrentCardImage, tOldBuffer, tID
put the topstack into qwerty --
lock screen --
go to card theCard of stack thestack --
Should the body of this
on Fri Jan 9 13:58:09 EST 2004
Dar Scott wrote:
Do these help?
unhex(h) is the string equivalent of a hex sequence
function unhex h
return binaryEncode(H*,h)
end unhex
This function could help, but I was thinking about
some way to convert this long hexadecimal string
in an array or convert
How do I change the size of the group. In the inspector, if I use the Size
and Position section, I don't seem to be able to resize the group and get
the scroll bar to work correctly. I created a long, narrow group that
extends off the card and I loaded it with buttons. Exactly what part of the
On 08 Jan 2004, at 12:27, [EMAIL PROTECTED] wrote:
Message: 9
Date: Thu, 08 Jan 2004 19:31:50 +0900
From: Doug Lerner [EMAIL PROTECTED]
Subject:Conceptual question about opening multiple windows of the
samekind
To: [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type:
Figured it out... Jim
on 1/9/04 9:13 PM, Jim Carwardine wrote:
How do I change the size of the group. In the inspector, if I use the Size
and Position section, I don't seem to be able to resize the group and get
the scroll bar to work correctly. I created a long, narrow group that
extends
What is the best way, timing-wise, to set the custom properties of a newly
cloned stack.
I (stupidly) tried
clone stack myStack
set the myProperty of Copy of myStack to 123
But... if in the openStack handler of the cloned stack I need to make
immediate use of that property it seems it is too
I work in MS Excel extensively, copy pasting text between it and
Revolution.
I experience problems with the Rev IDE when I copy-paste text from MS
Excel into the IDE, on OS X. Like:
- script won't compile
- find and replace dialog won't find correctly
- answer dialog won't properly display
For Mac OS X you can turn on full keyboard navigation in the System
Preferences. In OS X.3 it is under Keyboard Mouse - Keyboard
Shortcuts - Turn on full keyboard access. I use this all of
the time
for navigating dialog boxes. I haven't ever tested it with Rev apps
though.
That's
55 matches
Mail list logo