Search found 6 matches

by TheApexEffect
Fri Dec 13, 2013 11:00 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Saving variable when a stack is closed
Replies: 9
Views: 5168

Saving variable when a stack is closed

Hey all, I was wondering if there is any way to stop a variable from being deleted when a stack is closed. For instance in my project I am using a variable called playcounter, this variable is supposed to count how many times the program has been run but any values it holds are deleted when the stac...
by TheApexEffect
Tue Nov 26, 2013 11:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to increase a variable every second
Replies: 2
Views: 2400

How to increase a variable every second

I'm currently running into problems with creating a running score. I'm looking to have a score that increases by 100 every second but I'm not sure if a function exists to perform that or if i have to hack something together. Thanks in advance and any help would be very appreciated
by TheApexEffect
Tue Nov 26, 2013 11:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Generating objects until a condition is met
Replies: 2
Views: 2185

Re: Generating objects until a condition is met

Sorry for the uncertainty caused in my description, I've actually found a solution to the problem but thanks for the reply
by TheApexEffect
Mon Nov 25, 2013 2:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Generating objects until a condition is met
Replies: 2
Views: 2185

Generating objects until a condition is met

I am currently working on a game with random enemy generation. At this moment in time I have one of three enemies spawning at one end of the screen, travelling across to the other end of the screen and then respawning in the original position. I would like for it to repeat when a variable is equal t...
by TheApexEffect
Tue Nov 19, 2013 11:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating generation at a set time period
Replies: 9
Views: 5409

Re: Creating generation at a set time period

Thanks for all your help, both methods were equally helpful
by TheApexEffect
Mon Nov 18, 2013 8:43 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Creating generation at a set time period
Replies: 9
Views: 5409

Creating generation at a set time period

I'm currently having a slight problem with a program I am creating. I need to get a random image to appear every 15 seconds but I don't know the code to get the generation to occur at the time intervals. I'm coding it on a mac and this is what I have so far. on randomgenerate put random(3) into appe...