Hello,
what is the common way to detect clicks on some Drawable object and attach events to it?
Do I need to get the coordinates of the mouse, see if some of the drawn objects are captured by them, discover which one is the foreground, and do something ?..
Search found 6 matches
- Thu Jul 08, 2010 9:04 am
- Forum: Support and Development
- Topic: how to detect clicks on Drawable images?
- Replies: 1
- Views: 2188
- Thu Jul 08, 2010 9:02 am
- Forum: Support and Development
- Topic: line with arrows?
- Replies: 3
- Views: 3349
Re: line with arrows?
thanks!
- Tue Jul 06, 2010 4:11 pm
- Forum: Support and Development
- Topic: line with arrows?
- Replies: 3
- Views: 3349
line with arrows?
Hello i guess this is kind of a basic question, but i'm really a newbie. How do I attach an arrow to one or both the endings of a line? I guess I need to draw a triangle, but do I need to calculate by hand the coordinates, or is there around some predefined function that I can add, by specifying the...
- Tue Jul 06, 2010 3:14 pm
- Forum: Support and Development
- Topic: table not visible?
- Replies: 4
- Views: 4694
Re: table not visible?
you're right..i really need one more pair of eyes..
- Tue Jul 06, 2010 3:02 pm
- Forum: Support and Development
- Topic: table not visible?
- Replies: 4
- Views: 4694
Re: table not visible?
The table is filled in the love.load(). See the code i've posted this line:
Code: Select all
peers[i] = {x,y}
- Tue Jul 06, 2010 1:35 pm
- Forum: Support and Development
- Topic: table not visible?
- Replies: 4
- Views: 4694
table not visible?
Hello im getting started with LOVE. I did a simple script that is supposed to draw 10 circles at random positions on the scree. I initialize the coordinates in load.love(), and I try to draw them in load.love() . When I run the app, the window and the background are displayed, but not circles. What ...