Search found 9 matches

by Vmpwraith
Thu Aug 10, 2017 8:40 am
Forum: General
Topic: Anyone run Love2d on Cloud9 IDE?
Replies: 2
Views: 2803

Anyone run Love2d on Cloud9 IDE?

Just as the question asks, Is anyone developing and running on cloud9 how did you do it?. Would love a way to practice when at UNI via a cloud IDE.

regards
by Vmpwraith
Tue Aug 08, 2017 8:26 pm
Forum: General
Topic: [Solved] Mouse click weirdness
Replies: 3
Views: 3419

Re: Mouse click weirdness

Awsome thankyou 0x72 and Ivan. Cheers for the Doc's link I hadn't realized I wasn't sending it the "i" and just amused it was getting the correct information. Also cheers Ivan it makes sense to go in reverse.
by Vmpwraith
Tue Aug 08, 2017 11:02 am
Forum: General
Topic: [Solved] Mouse click weirdness
Replies: 3
Views: 3419

[Solved] Mouse click weirdness

hi I made a little game out of what I've been learning in Love2d but I have a weird issue happening with the mouse clicks. If you start the game and click the circles they disappear fine, but if you let a couple spawn sometimes the one you are clicking will become immune and a random circle will dis...
by Vmpwraith
Tue Aug 08, 2017 10:33 am
Forum: General
Topic: [Solved] Table comparison logic question
Replies: 2
Views: 2555

Re: Table comparison logic question

I have been able, with help, to get this, and it seems to work fine for the purpose. Though I haven't tested it with high numbers of spawned rings yet. function collision() -- remove all collided rings for k = #rings, 1, -1 do local rX = rings[k].x local rY = rings[k].y local rR = rings[k].r local c...
by Vmpwraith
Tue Aug 08, 2017 2:31 am
Forum: General
Topic: [Solved] Table comparison logic question
Replies: 2
Views: 2555

[Solved] Table comparison logic question

I have a table that holds balls that have been spawned and grow over time. I'm trying to figure out a way to make them disappear once they grow to touch each other. I plan to check overlaps via Pythagoras. The part I'm struggling with is the table like this. Basically I have added a static growth sp...
by Vmpwraith
Mon Aug 07, 2017 11:43 am
Forum: Support and Development
Topic: [solved] Not sure why I'm getting Circular Collisions drawn
Replies: 6
Views: 4528

[SOLVED] Not sure why I'm getting Circular Collisions drawn

Awesome. Thank-you for the advice, I was having difficulty with the break logic, and getting it to restart with new randoms. I hadn't even known "while true do" loops existed will do a little brushing up on them. Will also fix the indentation, looks like tabs were 4 spaces not 2.
by Vmpwraith
Sun Aug 06, 2017 11:52 pm
Forum: Support and Development
Topic: [solved] Not sure why I'm getting Circular Collisions drawn
Replies: 6
Views: 4528

Re: Not sure why I'm getting Circular Collisions drawn

Still having issues getting this to loop correctly through all values in the array.Currently crashes trying to create 2nd circle. Any help greatly appreciated. spawntimer = 1 rings ={} function love.load(arg) -- body... end function love.draw() -- body... love.graphics.print(spawntimer) for i,v in i...
by Vmpwraith
Sun Aug 06, 2017 9:14 pm
Forum: Support and Development
Topic: [solved] Not sure why I'm getting Circular Collisions drawn
Replies: 6
Views: 4528

Re: Not sure why I'm getting Circular Collisions drawn

Ah makes sense. I'll try to fix that.
by Vmpwraith
Sun Aug 06, 2017 10:27 am
Forum: Support and Development
Topic: [solved] Not sure why I'm getting Circular Collisions drawn
Replies: 6
Views: 4528

[solved] Not sure why I'm getting Circular Collisions drawn

Hi this is a simple love program. Spawn a random circle every 5 secs that don't overlap with previous circles in the array until it cant fill any more. I'm not sure why it starts drawing overlapping circles when there is still plenty of space available onscreen for circles to be drawn in. I cant see...