Search found 14 matches

by Steelweaver52
Sun Nov 30, 2014 3:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting the style of a graphic to line
Replies: 6
Views: 4789

Re: Setting the style of a graphic to line

Dixie: thank you very much. That was very helpful!

---Tom Nally
by Steelweaver52
Sun Nov 30, 2014 8:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting the style of a graphic to line
Replies: 6
Views: 4789

Re: Setting the style of a graphic to line

Thanks, Dixie. That definitely works. The code compiles without error, and the object is created. Even though I can't see the object, I know it is there because its "handles" show up in edit mode. I'm mystified as to why it's not showing up. I'm setting the lineSize to 5; I'm setting the visible to ...
by Steelweaver52
Sun Nov 30, 2014 7:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting the style of a graphic to line
Replies: 6
Views: 4789

Re: Setting the style of a graphic to line

Thanks, Dixie. The following line... set the style of the templateGraphic to line; ...produces a compilation error. The lines shown below produce no compilation errors: set the style of the templateGraphic to oval; set the style of the templateGraphic to curve; set the style of the templateGraphic t...
by Steelweaver52
Sun Nov 30, 2014 6:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting the style of a graphic to line
Replies: 6
Views: 4789

Setting the style of a graphic to line

Hello. Regarding the following handler... on mouseUp create graphic "new_line"; set the style of graphic "new_line" to xxxxx; end mouseUp ...I'm finding that not all of the listed styles for a graphic object will allow compilation. The following six styles will work: curve, oval, polygon, rectangle,...
by Steelweaver52
Fri Jan 23, 2009 4:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling Keyboard events in Continuous Action Games
Replies: 10
Views: 11836

Janschenkel wrote:Very good job, Tom...
Jan, thanks for your assistance!

Let the record show that I definitely had fun building the little game.

---Tom Nally, New Orleans
by Steelweaver52
Thu Jan 22, 2009 6:44 pm
Forum: Games
Topic: Visit the Rev Media board for a link to a new game
Replies: 0
Views: 3849

Visit the Rev Media board for a link to a new game

Friends: I've written a tiny, one-level space shooter game which, in a fit of creative branding, I've decided to call "Space Shooter 01". To download it, visit this link in the Getting Started With Revolution Media board... http://forums.runrev.com/phpBB2/viewtopic.php?t=2540 ...and scroll down to a...
by Steelweaver52
Thu Jan 22, 2009 4:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling Keyboard events in Continuous Action Games
Replies: 10
Views: 11836

Klaus wrote: VERY, VERY nice lil game!
Thanks, Klaus. You are very kind.

---Tom Nally, New Orleans
by Steelweaver52
Thu Jan 22, 2009 2:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling Keyboard events in Continuous Action Games
Replies: 10
Views: 11836

Hi, Friends: I wrote a tiny space shooter game as a practice exercise with Revolution. I'm giving it the unlikely name, "Space Shooter 01". Download it here. http://nally.wikispaces.com/file/view/Shooter_01.rev/54390032 It features a single level of play, and a typical game should last about a minut...
by Steelweaver52
Tue Jan 20, 2009 6:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Calling a user-written function located externally
Replies: 7
Views: 6978

But please put ALWAYS QUOTES around the message you are sending: Oh, thanks! I didn't know that was a "best practice". Actually, I might not adhere to that best practice with perfect fidelity. But if I fail to adhere to it, I will try to remember to acknowledge to readers that I'm neglecting a best...
by Steelweaver52
Tue Jan 20, 2009 2:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Calling a user-written function located externally
Replies: 7
Views: 6978

Thanks, friends. I think that I'm going to do it in the following way. (To review, myCustomFunction() resides in the script of button "B". I want to call this function from the script of button "A".) In my particular application, program control need not return to button "A" after myCustomFunction()...
by Steelweaver52
Tue Jan 20, 2009 8:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Calling a user-written function located externally
Replies: 7
Views: 6978

Calling a user-written function located externally

Hi, friends: In the script of button "A", I would like to call a user-written function that resides in the script of button "B". Is it possible to do that? I have found that the following doesn't work: put (myCustomFunction() of button "B") into myVariable Would it work if I put myCustomFunction() i...
by Steelweaver52
Wed Jan 07, 2009 9:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling Keyboard events in Continuous Action Games
Replies: 10
Views: 11836

Jan, Just glancing at your code, I notice that most (if not all) variables have a single-character, lower-case prefix, such as "k", "s" or "t". Is their a common convention that the experienced Rev programmers follow? Rather than write a full response, feel free to point me to an existing forum entr...
by Steelweaver52
Wed Jan 07, 2009 9:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling Keyboard events in Continuous Action Games
Replies: 10
Views: 11836

Janschenkel wrote: Rather than using 'repeat' loops for your animations, you should look into 'send in time' constructs...
Jan, thank you very much! I'll study it.

---Tom Nally, New Orleans
by Steelweaver52
Tue Jan 06, 2009 10:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Handling Keyboard events in Continuous Action Games
Replies: 10
Views: 11836

Handling Keyboard events in Continuous Action Games

Hi, Friends! I'm a new Rev programmer, which I think will become apparent very quickly as I ask questions. Basically, I'm interested in writing games where multiple objects are moving simultaneously. I intend to drive this movement within a repeat loop, which is contained within a mouseUp handler. F...