Search found 16 matches
- Sat Aug 23, 2014 5:11 pm
- Forum: Support and Development
- Topic: Vectors for a dummie
- Replies: 4
- Views: 5289
Vectors for a dummie
Recently I have decided to get back into programming. Since all of ny knowledge is self taught there are lots of gaps in it. It seems that vectors are used a lot in peoples examples I have seen and was hoping that maybe someone with more knowledge on the subject could explain the benifits of them. A...
- Fri Aug 22, 2014 4:08 pm
- Forum: General
- Topic: checking if a mouse is over a rectangle
- Replies: 4
- Views: 4524
Re: checking if a mouse is over a rectangle
Looking at the code you posted you get the x and y position saved as block[x][y] multiplied by 45 (The same way you are drawing it)
Without a .love thats really all I can do. Hopefully this makes sense.
Without a .love thats really all I can do. Hopefully this makes sense.
- Fri Aug 22, 2014 3:53 pm
- Forum: General
- Topic: checking if a mouse is over a rectangle
- Replies: 4
- Views: 4524
Re: checking if a mouse is over a rectangle
The first thing I would do off the top off my head would to use a simple aabb collision function. If you know the x and y position of the box and have it at a set width and height then you can do something like: if mx >= x and mx <= x + width then if my >= y and my < y + height then -- Do whatever h...
- Sat Jul 12, 2014 8:47 pm
- Forum: General
- Topic: Basic Menu Utilities Release
- Replies: 0
- Views: 1287
Basic Menu Utilities Release
When I was working on a project of mine I decided that I would make a simple Menu Utilites library to easily make buttons and that sort. At the time of this post I have mostly completed the button functionality except some minor tweeking functions. Here is a link to the repo on Github https://github...
- Sat Jun 21, 2014 2:15 pm
- Forum: General
- Topic: Version control system
- Replies: 4
- Views: 1936
Re: Version control system
That said, I also find it ugly. The commands are inconsistent and require me to know more things than I should (or get wacky errors from time to time). What about using the desktop versions they provide for window and mac? Won't that remove the need to remember any other the commands? but even on y...
- Sat Jun 21, 2014 4:52 am
- Forum: General
- Topic: Version control system
- Replies: 4
- Views: 1936
Version control system
Now that the school year is ending for me I have some spare time to explore Love a little more. My question for you guys is do you use any version control systems like Git and such, and how useful do you think it actually is? I've started to set up Git myself, but i've been having second thoughts if...