Search found 20 matches
- Mon Feb 11, 2013 11:30 pm
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
Alright so I got some more help with the code, if anybody is interested they can download the zip attached to this message.
- Sat Feb 09, 2013 7:41 am
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
The below code doesn't work but I think I get the gist of it, the debugger doesn't give me much help on why it doesn't work though. function love.load() --initial graphics and physics setup love.graphics.setMode(1280, 720, false, true, 8) --sets the window dimensions to 720p love.physics.setMeter(64...
- Wed Feb 06, 2013 6:42 pm
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
Yeah preventing it from being dragged is needed but so is a way of detecting whether or not the previous rock is still in motion. The get linear and angular velocity functions seem to be broken in Love 0.8 or maybe I just wasn't using them correctly.
- Tue Feb 05, 2013 10:00 pm
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
I can see how having a set of rocks variables, a table, and a timer or other kill mechanism will allow for multiple rocks but the code still needs to alternate between the two types of rocks. Maybe something like: if love.mousereleased() == true and objects.rrock.body:getLinearVelocity() > 1 then ob...
- Tue Feb 05, 2013 4:38 am
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
So I'll have to start over with the entity system, but in the interim I've been trying to get a little test with just two rocks working. Any ideas? Yell0w? function love.load() --initial graphics and physics setup love.graphics.setMode(1280, 720, false, true, 8) --sets the window dimensions to 720p ...
- Sat Feb 02, 2013 11:20 pm
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
So my entity system is probably FUBAR'd beyond repair but does anybody have an idea of how to do 16 rock entities?
- Wed Jan 23, 2013 9:38 pm
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
ATM I'm trying to figure out how to and could use some help w/: 1. Get the entity system working for red and blue rocks which will be an array of ents 0-7 2. Alternate between the two depending on which rock was released last and if that rock has stopped. The Object:GetLinearVelocity function seems ...
- Wed Jan 23, 2013 2:05 am
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
No problem Yell0w since you've helped more than anyone.
Extract the zip and the unfinished version with the entity system is in it's own directory, it also contains .love files so it's much larger than what even the final game will be.
Extract the zip and the unfinished version with the entity system is in it's own directory, it also contains .love files so it's much larger than what even the final game will be.
- Sun Jan 20, 2013 3:26 am
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
http://code.google.com/p/get-your-rocks ... p&can=2&q=
Now I'm starting an entity system but the working demo with just one rock is also included in the above zip file.
Now I'm starting an entity system but the working demo with just one rock is also included in the above zip file.
- Sat Jan 19, 2013 10:02 pm
- Forum: Support and Development
- Topic: trying to make a click and drag curling rock demo
- Replies: 31
- Views: 23196
Re: trying to make a click and drag curling rock demo
setting linearDampening slows the rock down!