Search found 63 matches
- Mon Jul 02, 2012 10:28 am
- Forum: General
- Topic: Are the love2d developers making an IDE for ver 1.0?
- Replies: 1
- Views: 918
Are the love2d developers making an IDE for ver 1.0?
Are the love2d developers making an IDE for ver 1.0? Just curious. Kinda happy with sublime text 2 for now
- Sun Jul 01, 2012 11:45 pm
- Forum: General
- Topic: Should you get into programming if you hate maths n physics?
- Replies: 5
- Views: 4938
Should you get into programming if you hate maths n physics?
I hate math. I don't like it and it doesn't like me, and most of all I suck at it. I'm coming third last atm for advanced math, and everywhere I look, programming involves harder formulas than the ones I use at school. Same with physics. Every time I look at how to do collision detection and resolut...
- Sun Jul 01, 2012 10:07 pm
- Forum: Support and Development
- Topic: How to handle collision resolutions?
- Replies: 16
- Views: 8596
Re: how to print the values inside a sub, sub, sub table? lo
Try this one. It uses a "table to string" to show what happens when you press keys. Do you realy need a table for input_time? Oh yay :D That works perfectly :D Thanks so much! and ummm...I probably don't need to but...idk xD hrmm to continue with this version or my new simplified one... E...
- Sun Jul 01, 2012 10:10 am
- Forum: Support and Development
- Topic: How to handle collision resolutions?
- Replies: 16
- Views: 8596
Re: how to print the values inside a sub, sub, sub table? lo
You shouldn't use table.foreach, btw, that's deprecated. for i, v in ipairs(box[i].keyCompare) do print(v.input_time) end If you check your table.insert you can see you're inserting into box .keyCompare, so that's what you should be interating over. I tried plugging that in, but it just gets the ni...
- Sun Jul 01, 2012 5:04 am
- Forum: Support and Development
- Topic: How to handle collision resolutions?
- Replies: 16
- Views: 8596
Issue #2
STATUS: resolved. How can you print the value of input_time in this table? table.insert(box[i].keyCompare, {input_time = hidden_timer}) I've tried: for i = 1,2 do if #box[i].keyCompare.input_time > 0 then table.foreachi(box[i].keyCompare.input_time, print) end end for i = 1,2 do if #box[i].keyCompa...
- Sun Jul 01, 2012 1:57 am
- Forum: Support and Development
- Topic: How to handle collision resolutions?
- Replies: 16
- Views: 8596
Re: table.remove question
if I remove a[1] and a[2], does a[3] become index 1 afterwards? http://codepad.org/dd5AWIeT sample = {"hello", "felicia", "day"} print(sample[1]) table.remove(sample,1) table.remove(sample,1) print(sample[1]) hello day ok good. thanks :D finally had the sense to check ...
- Sun Jul 01, 2012 1:41 am
- Forum: Support and Development
- Topic: How to handle collision resolutions?
- Replies: 16
- Views: 8596
How to handle collision resolutions?
||===========onedaysnotice help thread============|| **I moved the thread to this board since its more appropriate :D** Before i infuriate the whole love2d community with my incessant making of 'help me' and 'how to' threads, I've decided to create a centralised thread xD Current problem: https://l...
- Sat Jun 30, 2012 7:05 am
- Forum: General
- Topic: please delete this thread. (moved thread to support)
- Replies: 2
- Views: 1644
Re: Collision only happens for one player :s
--======BUTTON COLLISION======-- for i,v in ipairs(button_menu) do if menu_inRect(menuSelector[p].x, menuSelector[p].y, 0, 0, v.x, v.y, v.img:getWidth(), v.img:getHeight()) then v.inFocus = true else v.inFocus = false end end When p is 1, and menuSelector[1] is over a button, v.inFocus will be set ...
- Sat Jun 30, 2012 4:32 am
- Forum: General
- Topic: please delete this thread. (moved thread to support)
- Replies: 2
- Views: 1644
please delete this thread. (moved thread to support)
**How do I delete a thread? o.o ||===========onedaysnotice help thread============|| Before i infuriate the whole love2d community with my incessant making of 'help me' and 'how to' threads, I've decided to create a centralised thread xD Current problem : https://love2d.org/forums/viewtopic.php?p=59...
- Fri Jun 29, 2012 8:38 am
- Forum: General
- Topic: How to check the end of a string?
- Replies: 10
- Views: 4603
Re: How to check the end of a string?
yay thanks