Page 2 of 2

Re: First Game: Pholley

Posted: Tue Aug 21, 2012 12:54 pm
by ishkabible
why does the AI hit the ball so hard? I have no chance to even react; the AI hits the ball and then gains a point. that needs to be fixed.

Re: First Game: Pholley

Posted: Tue Aug 21, 2012 3:12 pm
by T-Bone
ishkabible wrote:why does the AI hit the ball so hard? I have no chance to even react; the AI hits the ball and then gains a point. that needs to be fixed.
This.

Re: First Game: Pholley

Posted: Tue Aug 21, 2012 3:19 pm
by Lafolie
Much better! Now you should consider these points!

Although the player is more easily controlled now, it is still difficult to win. You could fix this by giving the ball a tendency to move towards the opponents half when you hit it. Many times I hit the ball into the edge of screen without intention.

The AI is a lot smoother now, well done on that. However, I have witnessed it 'double-jumping' and even saw it do a complete circle around the ball in mid-ait before hitting it. Aside from being unrealistic, it was pretty cool to watch haha.

I think the player can do these double jumps too, and there's still no restart timer. Overall though, this is great and you've taken advice on board properly. That's cool.

Re: First Game: Pholley

Posted: Tue Aug 21, 2012 3:34 pm
by paranoiax
Lafolie wrote:Much better! Now you should consider these points!

Although the player is more easily controlled now, it is still difficult to win. You could fix this by giving the ball a tendency to move towards the opponents half when you hit it. Many times I hit the ball into the edge of screen without intention.

The AI is a lot smoother now, well done on that. However, I have witnessed it 'double-jumping' and even saw it do a complete circle around the ball in mid-ait before hitting it. Aside from being unrealistic, it was pretty cool to watch haha.

I think the player can do these double jumps too, and there's still no restart timer. Overall though, this is great and you've taken advice on board properly. That's cool.
Thanks for your Feedback.

Great idea on moving the ball with a tendency towards the oppents half. But to do that i have to check for a collision between the player's body and the ball's body. Unfortunately i have no idea how to do that yet as I dont understand world:setCallbacks :o:

Restart Timer will be added btw ;)

Re: First Game: Pholley

Posted: Tue Aug 21, 2012 3:37 pm
by Lafolie
Unfortunately I have 0 experience with Box2D. However I would suggest that you only move it backwards (the wrong way) if it touches the back 25% of the character, the rest should sent it forward at varying angles. The maths for this is quite simple, but I don't know how to apply it to Box2D.

Re: First Game: Pholley

Posted: Wed Aug 22, 2012 7:27 pm
by paranoiax
Ok. so there's a new update:

The following things have changed:
  • -added placeholder graphics
    -improved AI's jump behaviour
    -removed double jump feature
    -added TEsound Library
    -added some placeholder sounds
    -changed filesystem
    -added delay between rounds
    -some smaller bug fixes...
What's next:
  • -check collision between player(s) and ball with HardonCollider to play sound on collision.
You can also follow the Project on GitHub

Re: First Game: Pholley

Posted: Wed Aug 22, 2012 7:42 pm
by Roland_Yonaba
Starts looking good! Keep up.
You should attach the last release in your first post, by the way.

EDIT: The *.love file should be move in the download section on your Github.