Script not accepting empty line
Just recently I noticed a very strange 'bug'(?) in my code that I really can't figure out There is a repeat script that checks each line of a variable to see if it is empty, if it is then add data to that line. Certain events will empty a random line (so line 2 would be empty but lines 1,3,4,5 etc.. are full). The script doesn't recognise the line as empty though, but if I copy the exact line and put answer in front of it in the message box I get back True... Why would the messagebox return true while the script returns false? I tried two other methods to check for an empty line, the first was to do an if statement and if true was returned for an empty line then continue. That didn't work, so I put a check to see if item 1 of the line was empty.. That worked!?! In case the above doesn't make sense here is an example code (I haven't got the code with me to paste sorry). -- This script will add data to lines 1 to 10 but then when lines are emptied only line 10 will fill back up. on Add_New repeat with x = 1 to 10 if line x of variable is empty then Add some data to the line here end repeat end Add_New This returns true, and is the exact line (minus the if) from the above code!?? answer (line x of variable is empty) Cheers. Jeremy. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
RE: animated gifs
Have you made sure that the ask dialog is included in the standalone? Might just be as simple as that... From: Andrew [EMAIL PROTECTED] Reply-To: How to use Revolution [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: animated gifs Date: Mon, 15 Mar 2004 22:51:24 -0800 One more unrelated question: I'm still having trouble with my ask window not appearing on my windows standalone due to something ill in my script, and the only suggestion that has been made is to replace greater than or equals signs with =. I have done this, but windows still seems to find fault in my scripts, and it shows its disapproval by refusing to show my ask boxes. Is there any other thing that I should replace in my scripts to appease windows? Thanks a lot! -Andrew ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution _ Get Extra Storage in 10MB, 25MB, 50MB and 100MB options now! Go to http://join.msn.com/?pgmarket=en-aupage=hotmail/es2 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Scrolling a Card?
It's really just saying set the location size of the group to the window size. Doing this enables you to scroll the group, otherwise the group would span outside the stack window without an option to scroll... It doesn't mean re-orgranize the objects within the group so they all fit into the stack window. Umm, confusing to word... I hope this makes sense :) From: Doug Lerner [EMAIL PROTECTED] Reply-To: How to use Revolution [EMAIL PROTECTED] To: How to use Revolution [EMAIL PROTECTED] Subject: Re: Scrolling a Card? Date: Fri, 20 Feb 2004 09:54:56 +0900 You got me. :) I haven't actually tried this yet. I've been meaning to though. All I know is what it says in the docs: - You create a scrolling window by placing all the objects on the card in a scrolling group. If you make the group the same size as the stack window, scrolling the group causes the whole content area of the window to scroll. To display the group¹s horizontal or vertical scroll bar, set the group¹s hScrollbar or vScrollbar property to true. You can either set these properties in a handler or the message box, or use the Basic Properties pane in the group¹s property inspector to display or hide a vertical or horizontal scroll bar. Tip: After sizing the group to fit the window, set the group¹s lockLocation property to true. This prevents it from automatically resizing to fit the contents when you switch cards. - But what confuses is me is what does it mean by make the group the same size as the stack window...? If you do that, what is the scroll for? doug On 2/20/04 9:35 AM, Kathy Jaqua [EMAIL PROTECTED] wrote: Thanks Doug! OK sooo, I would create a bottom level group larger then the card and ... would I lose the groups that are on the card If I scrolled them out of sight? Do they scroll out of sight? Um :) Kathy Graves Jaqua A Wildest Dream Software ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution _ Hot chart ringtones and polyphonics. Go to http://ninemsn.com.au/mobilemania/default.asp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: emulators
Stay away from emulators inc. (emulators.com) and any softmac product. They are notorius for ripping off the community, the author is the equilvent of Dr. Derek Smart :D Although, he does have fusion PC, purchased from a leading company in macintosh emulation, it's free and a hundred times better than softmac. Although it is a dos application Otherwise, there is a new PowerPC emulator around, it's only in early stages but you are able to run a few things. It requires linux and can be found on source forge, I'm not on my computer at the moment and cant think of the name I'm sure it runs OS 9, but I don't think it runs 10/X... Since it's only in alpha stages thats to be expected, but if you were ever tracking the mac emulation scene, the power pc emulator was promised 5 years ago.. I'm just so glad that it's finally here, abit incomplete but still!! :D From: Stephen Quinn Barncard [EMAIL PROTECTED] Reply-To: How to use Revolution [EMAIL PROTECTED] To: How to use Revolution [EMAIL PROTECTED] Subject: Re: emulators Date: Thu, 12 Feb 2004 13:42:27 -0800 OK, Ok, if one wants to go through hoops to use this stuff. I just know I have old macs lying around that I can't give away that would be easier to use than buying into this emulator package, ROM cards, etc. And it's no good for OSX. I was wrong before... pre OS 9 software is really dead; Apple's making sure it is going away fast. And there is also http://www.softmac2000.com/ If you already own the Mac hardware, it is perfectly legal to emulate your Mac on another machine (although not running simultaneously). We had a 68040 Mac Quadra that died years ago, so we used its ROM in an emulator. When you are porting HyperCard stacks to Revolution on a Windows machine, it is nice to be able to run HyperCard in OS 8.1 so I can visually see the differences. Of course Apple would not be at all happy if OS X were being emulated. ~Roger Sure there is! http://www.maconlinux.org/ Among others. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution _ Get less junk mail with ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Weirdness with global variable declaration
Instead of doing this on openCard global debugMode global inChatUsers, newChatSocket global chatRect, chatRectHalf, wbRect put 8,8,596,314 into chatRect do this global debugMode global inChatUsers, newChatSocket global chatRect, chatRectHalf, wbRect on openCard put 8,8,596,314 into chatRect ... Then you can access the globals from all the handlers (opencard/closecard) etc... Cheers. From: Doug Lerner [EMAIL PROTECTED] Reply-To: How to use Revolution [EMAIL PROTECTED] To: How to use Revolution [EMAIL PROTECTED] Subject: Re: Weirdness with global variable declaration Date: Mon, 19 Jan 2004 15:37:22 +0900 What do you mean by off by themselves? doug On 1/19/04 2:47 PM, Thomas J McGrath III [EMAIL PROTECTED] wrote: just declare the globals off by themselves... then do your on opencard. On Jan 18, 2004, at 11:40 PM, Doug Lerner wrote: I read about doing that - in a so-called script rather than in a handler. But I wasn't clear about how that works. How do script commands get executed if they are not part of a handler? doug On 1/19/04 1:32 PM, Thomas J McGrath III [EMAIL PROTECTED] wrote: Have you tried creating the global outside of this handler? put it by itself before the openCard . On Jan 18, 2004, at 9:37 PM, Doug Lerner wrote: In an openCard handler I have: on openCard global debugMode global inChatUsers, newChatSocket global chatRect, chatRectHalf, wbRect put 8,8,596,314 into chatRect . . . But a button in that card doesn't seem to know the value of chatRect. And while globalNames lists inChatUsers, newChatSocket and debugMode it doesn't list any of the three globals on the third line of the handler above. Any reasons why a global should no longer be among the globalNames? Thanks, doug ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III 2003 [EMAIL PROTECTED] 220 Drake Road, Bethel Park, PA 15102 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Macintosh PowerBook G-4 OSX 10.3.1, OS 9.2.2, 1.25 GHz, 512MB RAM, Rev 2.1.2 Advanced Media Group Thomas J McGrath III 2003 [EMAIL PROTECTED] 220 Drake Road, Bethel Park, PA 15102 ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution _ Send mobile Christmas cards, download a festive ringtone and win a Motorola E365. Go to: http://ninemsn.com.au/mobilecentral/christmas.asp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: GameDev in Rev. Seuck explained + suggestion
I would love to join as well, I've been programming games using hypercard/metacard and now revolution. I went the C++/DirectX route but missed the speed and ease of xtalk! It would be great to see just how many people there are out there programming games in revolution, as from the list it seems there are only a handful but I am sure there are many more. From: Andre Garzia [EMAIL PROTECTED] Reply-To: How to use Revolution [EMAIL PROTECTED] To: How to use Revolution [EMAIL PROTECTED] Subject: Re: GameDev in Rev. Seuck explained + suggestion Date: Fri, 16 Jan 2004 05:58:11 -0200 Count with me for this project, I really want to use rev as a game development tool (this way I could quit programming in C forever!) On Jan 16, 2004, at 3:28 AM, Judy Perry wrote: I'm sorry for coming in late on this one (trying to finish up a couple of classes I'm taking), but as I am using Rev to teach simple multimedia and GAME development, I, too, would be VERY interested... Judy On Wed, 14 Jan 2004 [EMAIL PROTECTED] wrote: From: WIlliam Griffin First up i'm trying to properly focus the next Inkubator project at www.idevgames.com [ snips ] So I'd like to suggest to the rev community that we set up a place that we discuss game dev topics in relationship to Revolution as a continous resource instead of the random weeding of this list. I'm interested in Revolution as an engine for Adventure games (just as a hobbyist but I know of one commercial Adventure game developer looking at Revolution.) iDevGames is a great place but seems mainly focussed on action and arcade style games (from a cursory glance.) A place on the web for Revolution and Adventure games would be nice but not sure there'll be much overlap between that and shoot 'em up style games. This list has been a real help to me but my queries have been pretty generic not specifically game related. Regards, Peter. ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution Andre Garzia ð 2003 imac2 ibook p100 e uma torradeira ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution _ Send mobile Christmas cards, download a festive ringtone and win a Motorola E365. Go to: http://ninemsn.com.au/mobilecentral/christmas.asp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Uh... yet Game Programming... or Is there a way to buildtilemap graphics in
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 all the buttons, so in other words these files were the maps, each time i went to a new screen i would load a map which would create a whole new screen while only using a few tiles over and over again. Eventually i was able to load another map while still displaying part of the other map, this allowed for smooter scrolling. The name/label of the buttons were saved as if the game character was within a button and it had a special name it would look that name up in a list and do an action, usually something like 'load,map12,5,6 so if the game character walked into that button it would load the map file map12 and place the character at location 12,6. So you eventually end up programming your game with your own customized scripting language and not metacard/revoltion. This will work for most games, platform games are a step up in difficultly from the top-down ones, when i did a platform game i usually displayed a large graphic as the background and placed invisible buttons as ledges for the game character, the scrolling was much smoother and the game was more optimized as platformers require more speed than your typical top-down / isometric game. Cheers. Jeremy. _ E-mail just got a whole lot better. New ninemsn Premium. Click here http://ninemsn.com.au/premium/landing.asp ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Lost revMenubar on Windows XP
This problem occurs often to me as well, the solution is to right click on revolution in the task bar select move, then hold down shift and press any of the arrow keys, then move the mouse (while still holding shift) and the menu bar will reappear. Its a bug that sets the location WAYYY off, is anyone fixing this? Cheers. Jeremy Please help! I open Rev 2.03 on Windows XP and sometimes ONLY the toolbar is visible, the menuBar does not appear anyplace. Obviously is nothing I can do to open even the msg. box and type show revMenuBar. When this problem occurs, I try to launch Rev again but still no menuBar is appearing - only another toolbar. I then restart the machine but the same problem occurs (no menuBar, only toolBar!) The only solution I have found is to reinstall the program after I shut down the machine. However, I am getting sick and tired in doing a couple of installations every day because the menuBar does not appear when launching Rev. How do I avoid this irritating problem? Why the menuBar is not showing? Is this a Rev or Windows problem? Any help will be greatly appreciated Regards, Anthony Kouvoussis _ ninemsn Extra Storage is now available. No account expiration - no need to worry about losing your Hotmail account. Click here http://join.msn.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
Re: revTools + : NEW VERSION
When I click the application browser using revTools is seems to always stay OnTop of the other stacks (unlike selecting it normally from the menu). Just curious if this is a design or bug? Windows XP Rev 2.1 Cheers Jeremy. Dear RunRev Afficionados, I have just uploaded a new version of my modified revTools stack to my website: it incorporates Klaus Major's FAVOURITES stack (with his permission). Will try to sort out a new version of the horizontal revTools sometime this afternoon. Love, Richmond _ ninemsn Extra Storage is now available. Get five times more storage - 10MB in your Hotmail account. Click here http://join.msn.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
ListBrowser
Just give a big hollo to everyone, after being away from Metacard since 2.2 release (went on to C++) I needed a better and easier interface to program a new education program and so upon searching for good old metacard I was quite shocked to find Revolution (still in beta from what I remembered back then) Excellent work to the team btw, there's so much improved I am sure it will keep me busy for months... Now I have been looking around the list for awhile and amazed to find no one has created a List Browser in Revolution... So I thought I might be missing something and see if you guys can point me in the right direction, as this web browser of the list is really not effiecent or stylish :) If no one has done one, would you guys be interested in a Rev stack that you can keep in the background to get the lastest List updates, post/read the list without needing to load the web browser?? Im sure it can be done, and keeping it open source for the list so that anyone can contribute to its development... Cheers Jeremy. _ ninemsn Extra Storage is now available. Get larger attachments - send/receive up to 3MB attachments (up to three times more per e-mail). Click here http://join.msn.com/ ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution