Page 3 of 3
Re: How do you simple make a button?
Posted: Fri Jul 22, 2011 7:54 am
by Jasoco
GijsB wrote:umm no xD
Why?
Re: How do you simple make a button?
Posted: Fri Jul 22, 2011 12:47 pm
by GijsB
i use now 1 line, with function ill use 4 lines.
Re: How do you simple make a button?
Posted: Fri Jul 22, 2011 2:39 pm
by Robin
You shouldn't worry about the length of your program, you should worry about how clean it is. And splitting into multiple functions certainly enhances that.
Re: How do you simple make a button?
Posted: Fri Jul 22, 2011 2:58 pm
by GijsB
oke, thanks
Re: How do you simple make a button?
Posted: Fri Jul 22, 2011 9:36 pm
by Ensayia
Here's a bit of code I provided to encyz11 and he did well with it. You can run the example and see how it works then open the .love file and have a look at the code. It may help you out.
Re: How do you simple make a button?
Posted: Fri Jul 22, 2011 9:55 pm
by GijsB
Ensayia, thanks but i already got it
.
please let this thread die, i have the finished product at the project and demo's forum.
Re: How do you simple make a button?
Posted: Sat Aug 06, 2011 6:32 pm
by BorzoyExist
Oh, can someone, please post an example of full code with image button, which can be pressed to start a function
Re: How do you simple make a button?
Posted: Sat Aug 06, 2011 6:45 pm
by GijsB
BorzoyExist,
look at Ensayia last post