Search found 9 matches

by lourinho81
Tue Jan 13, 2015 11:46 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Moving Image within the card from right to left
Replies: 10
Views: 6539

Re: Moving Image within the card from right to left

Hi Guys, Many thanks for your help and advise. I have managed to resolve the challenge with your assistance. Updated Code below. command preopencard set location of image "pinkwall" to 225,25 moveobjects moveleft end preopencard command moveobjects // Move object down set the top of image "pinkwall"...
by lourinho81
Mon Jan 12, 2015 1:52 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Moving Image within the card from right to left
Replies: 10
Views: 6539

Moving Image within the card from right to left

Hi, Ive created a new challenge for myself. Im trying to move and Image from right to left within a card. trying to create an effect of bouncing the image between the right and left edges of the card. My code this far; command preopencard set location image "pinkwall" to 25,25 moveobjects end preope...
by lourinho81
Mon Jan 12, 2015 1:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: set location of a image to a random area on my screen
Replies: 15
Views: 11078

Re: set location of a image to a random area on my screen

Hi Guys,

I used Simon's solution and that helped me to move in the right direction. got my egg to load in the correct area.

Many Thanks to all,
Lourinho81
by lourinho81
Wed Dec 24, 2014 9:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: set location of a image to a random area on my screen
Replies: 15
Views: 11078

Re: set location of a image to a random area on my screen

Thanks for your feedback guys, i'm going on vacation will try when i get back.

Rg
Lourinho81
by lourinho81
Tue Dec 23, 2014 10:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: set location of a image to a random area on my screen
Replies: 15
Views: 11078

Re: set location of a image to a random area on my screen

Hi,

I'm trying to load the egg randomly in egg tray off screen so that the player cant predict it trying to create the element of surprise.
I can get it to load in any random position but i want it to be random in that specific area.

Regards
Lourinho81
by lourinho81
Mon Dec 22, 2014 12:09 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: set location of a image to a random area on my screen
Replies: 15
Views: 11078

Re: set location of a image to a random area on my screen

Hi Guys, Im making diff and apps to test functionality so i can learn how to use livecode. So i have set the following task for myself. I have an egg that is falling from the sky. Once the egg moves off the screen i would like the egg to load into a random area off the screen called eggtray. I have ...
by lourinho81
Mon Dec 22, 2014 10:51 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: set location of a image to a random area on my screen
Replies: 15
Views: 11078

Re: set location of a image to a random area on my screen

Hi Guys,

The egg tray is in a fixed position and i want to load the egg randomly in the area of egg tray.

cheers
by lourinho81
Thu Dec 18, 2014 3:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: set location of a image to a random area on my screen
Replies: 15
Views: 11078

Re: set location of a image to a random area on my screen

Hi Klaus,

Thank you for you advice. I will play around with your recommendation and have a look at the link you posted.

Much appreciated. :)

Regards
Lourinho81
by lourinho81
Thu Dec 18, 2014 2:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: set location of a image to a random area on my screen
Replies: 15
Views: 11078

set location of a image to a random area on my screen

Hi, I am new to live code. I have hit a little challange I would like to set a location of an image to a specific area on my screen. lets say i have and area 100x100 (lets call this an egg tray). I have an image 10x10 (Egg) and i would like to load the image randomly in this area. Appreciate any ass...