Search found 52 matches

by jag_e_nummer_ett
Sat May 25, 2013 3:01 pm
Forum: Support and Development
Topic: Collision detection
Replies: 17
Views: 10224

Re: Collision detection

micha wrote:-snip-
Yea but that mostly checks if the ball is going straight on the x axle. But if it's going in a diagonal fashion then your statement might miss that!

I've put together a small image representation to explain this:
TUtWfIl.png
TUtWfIl.png (148.52 KiB) Viewed 403 times
From this I hope you also see the obvious problem.
by jag_e_nummer_ett
Sat May 25, 2013 2:18 pm
Forum: Games and Creations
Topic: Pop (v2) (simple mouse game)
Replies: 32
Views: 25388

Re: Pop (v2) (simple mouse game)

Woa ok :)
Well I tell you; it's a good game, looks nice! Just lacking some minor stuff.
But if you've stopped this project then I wont bother you, good luck on your latest project!
by jag_e_nummer_ett
Sat May 25, 2013 10:01 am
Forum: Games and Creations
Topic: Pop (v2) (simple mouse game)
Replies: 32
Views: 25388

Re: Pop (v2) (simple mouse game)

When playing around with the code, I noticed that the maximum score you can possibly get is around 2'082. Because at stage 53 or whatever it is, there are too many dots then the player can handle. So if every dot is broken at stage 53 there will spawn enough for you to lose. Just a suggestion: Add t...
by jag_e_nummer_ett
Sat May 25, 2013 9:45 am
Forum: Support and Development
Topic: Collision detection
Replies: 17
Views: 10224

Re: Collision detection

I am grateful for your help, and I've found some solutions: This problem is called "Speculative Contacts" . I got 2 sites viewing a solution those are kinda different from each other. (Both are from wildbunny.co.uk, but they are different) http://www.wildbunny.co.uk/blog/2011/03/25/specula...
by jag_e_nummer_ett
Fri May 24, 2013 10:46 pm
Forum: Support and Development
Topic: Collision detection
Replies: 17
Views: 10224

Re: Collision detection

Ah man, while looking at my code I am just thinking more and more on redoing it :(
I thought I knew Lua, but then löve put me back on the world :cry:
by jag_e_nummer_ett
Fri May 24, 2013 6:32 pm
Forum: Support and Development
Topic: Collision detection
Replies: 17
Views: 10224

Re: Collision detection

If you post your .love you could help us help you. For a game like pong the collision can be very simple. For example on the left paddle, just check if the balls x is anywhere behind the paddle's x and it should work. And of course make sure to check the y also. Well there is the problem... Because...
by jag_e_nummer_ett
Fri May 24, 2013 5:11 pm
Forum: General
Topic: Avatars: OBEY!
Replies: 763
Views: 1010214

Re: Avatars: OBEY!

Woa holy fuck I knew there was a thing like this!!
Damn this confused (and scared) me o.o
by jag_e_nummer_ett
Fri May 24, 2013 5:09 pm
Forum: Support and Development
Topic: Collision detection
Replies: 17
Views: 10224

Collision detection

So I've been struggling around with löve and so I made my first game; pong. But I'm experiencing a problem: I bet you all know how movement works in games, the graphic dosen't move, they jump. For example: if they got let's say a speed of 10 they will "teleport" 10 pixels each tick. But th...
by jag_e_nummer_ett
Fri May 17, 2013 7:42 am
Forum: Support and Development
Topic: Internet
Replies: 8
Views: 2575

Re: Internet

Try tostring on the site value when you print it. The tostring() function did not work, it gave me the same error. -- the code. well, part of it. site = tostring( http.request("http://google.com/") ) --snip-- That code scares me! D: :shock: I do somewhat understand what the first part ins...
by jag_e_nummer_ett
Thu May 16, 2013 8:48 pm
Forum: Support and Development
Topic: Internet
Replies: 8
Views: 2575

Re: Internet

Now I got a small problem with the http.request(). I don't know if I should make a new topic about this, but oh well.. So what I've done is I have set it up to download a site and print it. It worked at first try, wich I am very happy of. But as I was testing different sites I noticed that google's ...