Search found 11 matches

by synaptic
Wed Aug 26, 2009 3:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: collision detection
Replies: 4
Views: 5218

I just realized that this should be in the Enterprise section... don't know how to move it...
by synaptic
Tue Aug 25, 2009 10:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: collision detection
Replies: 4
Views: 5218

Also, I do have animation engine, and have tried to use its fancy features, with the same result as above.
by synaptic
Tue Aug 25, 2009 10:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: collision detection
Replies: 4
Views: 5218

collision detection

Yup, it's me again:

I have two images moving randomly around. I would like them to (at the very least) stop if they touch. I'm not sure I understand the basics of how to detect collisions.

I've got something like

on mouseup

put random(500), random(500) into LOC1
put random(500), random(500 ...
by synaptic
Tue Aug 25, 2009 12:50 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: counting and tables - 2 problems
Replies: 6
Views: 5248

No, I was just sending a plain mouseUp to the whole card... perhaps that is what created my issues? I don't know. I do know that if I were to simply click manually on the card, it worked fine.
by synaptic
Mon Aug 24, 2009 11:53 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: counting and tables - 2 problems
Replies: 6
Views: 5248

Oh, that was brilliant! Thanks so much.. it's going to be a lot nicer once I get past this whole newbie thing.
by synaptic
Mon Aug 24, 2009 11:39 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: counting and tables - 2 problems
Replies: 6
Views: 5248

counting and tables - 2 problems

I have two cards in my stack: One runs some graphics, and the other records various numerical properties of what the graphics have done - or at least, that's what it's supposed to do.

Problem 1) I'm measuring the distance in pixels that 2 gif images have traveled. I am able to do this just fine ...
by synaptic
Sat Aug 22, 2009 12:15 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: a creative way to crash Rev - any suggestions?
Replies: 3
Views: 3252

Thanks! This is very helpful...
by synaptic
Fri Aug 21, 2009 8:26 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: a creative way to crash Rev - any suggestions?
Replies: 3
Views: 3252

a creative way to crash Rev - any suggestions?

So, what I'm trying to do is get two images to "line up" with points to which they are going to move. I have written this script, but all it does is close down Rev. Any suggestions for what might be wrong?

on mouseup

set the lockmoves to true
put random(1000),random(1000) into LOC1
put random ...
by synaptic
Wed Aug 19, 2009 12:38 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: simultaneous movement
Replies: 2
Views: 2811

Thanks!
by synaptic
Tue Aug 18, 2009 11:54 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: simultaneous movement
Replies: 2
Views: 2811

simultaneous movement

Can someone help me with some simple code to make two graphics move simultaneously? Currently, I've got them both turning to random angles, but they won't do it at the same time... any suggestions? I'm pretty new to Rev and to programming in general, and it feels like I"m missing something obvious ...
by synaptic
Thu Jun 04, 2009 10:51 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: help with moving graphics
Replies: 0
Views: 1662

help with moving graphics

Hello,

I am more or less brand new to the worlds both of programming, and to Rev in particular. I am trying to create a simulation of moving (and hopefully eventually interacting) animals. Currently, I have a couple of polygons that are moving around a screen. How do I specify a "head" end so that ...