# Lodmot

Member Since 19 Feb 2011
OFFLINE Last Active Apr 25 2013 2:30 PM

### Question about checking playfield. owo

Sun Apr 21, 2013 11:16 PM

Hello ^^
Anybody here know how to check whether the playfield is completely empty? 0:

Thankies.

### Ball physics with Playfield Pixels

Tue Mar 26, 2013 9:20 AM

Alright, so I'm still working on that ball-paddle game for my college class, and now I've run into a new problem.... xDDD

I'm trying to make it so that when the ball hits the block, depending on which side the ball hits the block on, it reverses either its horizontal direction or vertical direction.

For example, say this is a playfield pixel and the ball collides into it from the left:

----> * []

The ball should reverse direction horizontally:

* <---- []

Also, if the ball comes from the right, it should do the opposite.
The same should apply for vertical collisions as well, so if the ball comes down and hits the playfield block from the top:

|
|
|
v
*
[]

It should reverse direction and start moving upwards:

*
^
|
|
|

[]

I know that in order to get the collision between sprites and individual playfield blocks, I have to do the conversion formulas from playfield coordinates to regular sprite coordinates, which I did. But I'm having trouble figuring out how to make the ball tell which side of the individual block it's hitting, so it could bounce off going the appropriate reversal direction.

Any ideas? xDD

### Quadra-Ball

Tue Mar 5, 2013 12:22 PM

Here's a new game I'm working on called Quadra-Ball. It's very unfinished right now, and it's pretty much just a simple ball and paddle physics demo. (Really bad physics by the way xD) I thought I'd put it up for people to see how the game will be played. 0: Hope you like it. ^^

Update 4/26/2013:
Got a new Beta version of the game up. Pretty much everything is working, except for sound. I also wanna implement a neat logo intro before the title screen. Some of the level details are still incomplete too.

### Missile width

Mon Mar 4, 2013 12:30 PM

I'm working on a new 2600 game as my final project for my Digital Arts Associates' degree before I graduate.... but I've run into a bit of a pickle. When the paddle is at the bottom or the top of the screen, it's too short width-wise. Is there any way to make it longer than 8 pixels? o3o