Thank you!!! That works, as I'm sure you know. Awesome.BlackBulletIV wrote:Many of the references were still pointing box, not v. Also, you didn't implement the loop in love.mousereleased. Here's the new code (with your style preserved ):
Search found 8 matches
- Wed Sep 07, 2011 6:53 pm
- Forum: Support and Development
- Topic: Mouse Dragging in Love2D (Tutorials)
- Replies: 9
- Views: 7969
Re: Mouse Dragging in Love2D (Tutorials)
- Wed Sep 07, 2011 5:02 am
- Forum: Support and Development
- Topic: Mouse Dragging in Love2D (Tutorials)
- Replies: 9
- Views: 7969
Re: Mouse Dragging in Love2D (Tutorials)
Gah! That is exactly what I have been doing. (Or so I think... being new to this, I could be making an incredibly stupid mistake without realizing it...) In the spirit of finding out wtf I'm doing wrong, I've attached my code... Let me know if you can figure out my problem! As you'll see if you run ...
- Wed Sep 07, 2011 3:13 am
- Forum: Support and Development
- Topic: Early LÖVE code snippets? For learning?
- Replies: 17
- Views: 6251
Re: Early LÖVE code snippets? For learning?
I was going to post a reply to your question, but I thought I'd turn it into a tutorial: http://nova-fusion.com/2011/09/06/mouse-dragging-in-love2d/ Amazing! This forum is the best. Thanks so much, and I posted a question about that in your topic about it so... Yes. No need for redundancy here. :mo...
- Wed Sep 07, 2011 3:08 am
- Forum: Support and Development
- Topic: Mouse Dragging in Love2D (Tutorials)
- Replies: 9
- Views: 7969
Re: Mouse Dragging in Love2D (Tutorials)
Instead of writing a reply to heartmonster's question , I decided to write a tutorial. As you might guess, it covers my method of making objects draggable with the mouse. So, without further ado, here's the link: Mouse Dragging in Love2D First of all, THANK YOU! So, so helpful. Kind of a mixture be...
- Mon Sep 05, 2011 10:42 pm
- Forum: Support and Development
- Topic: Early LÖVE code snippets? For learning?
- Replies: 17
- Views: 6251
Re: Early LÖVE code snippets? For learning?
Here's something you might find useful: an function that checks if two rectangles are overlapping. Or, more correctly, it tests if they're not overlapping and then returns the opposite. Just give it the coords and dimensions of the first rectangle, and then the coords and dimensions of the second. ...
- Mon Sep 05, 2011 4:12 pm
- Forum: Support and Development
- Topic: Early LÖVE code snippets? For learning?
- Replies: 17
- Views: 6251
Re: Early LÖVE code snippets? For learning?
Aaah! Thank you guys so much! This is more helpful than you can imagine. So much of the code out there is like 100 steps above what I can comprehend at this level.
Anyway, I made something. This is my first ever programmed thing I've ever made so it's very simple. But I'm happy with it.
Anyway, I made something. This is my first ever programmed thing I've ever made so it's very simple. But I'm happy with it.
- Sun Sep 04, 2011 2:57 pm
- Forum: Support and Development
- Topic: Early LÖVE code snippets? For learning?
- Replies: 17
- Views: 6251
Re: Early LÖVE code snippets? For learning?
First of all, thanks!! I have a lot to look through now... It is nice to look at our code, but asking for our first LOVE code is also asking for our worst LOVE code in most cases. Before we figured out how to do things correctly essentially. That may very well be true, but it's better than nothing. ...
- Sun Sep 04, 2011 3:51 am
- Forum: Support and Development
- Topic: Early LÖVE code snippets? For learning?
- Replies: 17
- Views: 6251
Early LÖVE code snippets? For learning?
Hi LÖVE people! I'm totally new to LÖVE and Lua... (blah blah blah, usual stuff about experience with other things, but I'm a beginner, etc. etc.). I love video games, and I want to make them, or at least understand a little more about how they're made. Anyway, usually I don't post to forums but eve...