Search found 8 matches

by mediakitchen
Fri Oct 08, 2010 3:53 pm
Forum: Support and Development
Topic: Newbie question
Replies: 12
Views: 4310

Re: Newbie question

Thanks vrld - I will look at your code now. In the meantime I would like to show my code so far. Please note I have based this on some examples on a physics site and I don't really understand some of it as I struggle with vectors. This code so nearly works but occasionally one or more balls just sho...
by mediakitchen
Fri Oct 08, 2010 3:13 pm
Forum: Support and Development
Topic: Newbie question
Replies: 12
Views: 4310

Re: Newbie question

Hope you do collision reactions too:)
by mediakitchen
Fri Oct 08, 2010 3:05 pm
Forum: Support and Development
Topic: Newbie question
Replies: 12
Views: 4310

Re: Newbie question

Thanks guys - great to see such a helpful bunch here especially as I have another question relating to ball to ball collision. I have spent the entire day trying to work this out and I am still getting erratic behaviour:(

Will post shortly. Just going to try one more thing.
by mediakitchen
Fri Oct 08, 2010 8:39 am
Forum: Support and Development
Topic: Newbie question about speed of game
Replies: 3
Views: 2020

Re: Newbie question about speed of game

Thanks ThursdayBloom

That works a treat.

Many thanks

Paul
by mediakitchen
Fri Oct 08, 2010 7:06 am
Forum: Support and Development
Topic: Newbie question about speed of game
Replies: 3
Views: 2020

Re: Newbie question about speed of game

Following up my previous post I added the following code inside the love.draw function and I am getting a value of around 900. Does that mean I am getting a FPS this high?

Code: Select all


love.graphics.print(love.timer.getFPS( ), 300,300)

by mediakitchen
Fri Oct 08, 2010 6:56 am
Forum: Support and Development
Topic: Newbie question about speed of game
Replies: 3
Views: 2020

Newbie question about speed of game

Another newbie question. Only been using Love for a couple of hours and playing around with a simple penalty shootout game idea. I have managed to work out to detect when the mouse clicks the ball (thanks to help) and I am also able to launch the ball when the mouse is released. I have set the speed...
by mediakitchen
Fri Oct 08, 2010 6:45 am
Forum: Support and Development
Topic: Newbie question
Replies: 12
Views: 4310

Re: Newbie question

Wow thanks for the swift reply. I think I have sussed it. I have another question about how the basic updating works but will ask that in a separate thread. function love.mousepressed(x, y, button) -- Calculate if mouse over ball -- i.e distance squared less than radius squared local ballRadiusSquar...
by mediakitchen
Fri Oct 08, 2010 6:21 am
Forum: Support and Development
Topic: Newbie question
Replies: 12
Views: 4310

Newbie question

Hi there Just discovered Love a few hours ago and am having a play. Anyway I wanted to make a simple penalty shoot out game and would like to detect when the user clicks on the ball. Is there a way to detect a mouse click on a particular image or do I have to use the position of the mouse and the po...