Page 21 of 34

Re: What projects are you currently working on?

Posted: Mon Aug 23, 2010 3:53 am
by Van-B
I'm mostly working on a dual format puzzle bubble style game, for PC and iPhone, and then hopefully the iPad. It's my first C++ project, and last week I got it to a demo stage with 25+ levels, waiting on feedback from the big cheeses. It's a fair bit into development now, hoping to have that wrapped up and released before the intel app store is out of beta.

Other than that, I'm building a 2-player MAME cabinet, and am eagerly awaiting my 3D headset (VR920's) so I can finally write a VR game, something I've wanted to do for years.

Re: What projects are you currently working on?

Posted: Mon Aug 23, 2010 5:45 am
by ChrissyJ91
I've just started learning some java as a preparation for going back to college(next week). I must have spent an hour trying to find an alternate download for the developer kit as Oracle seem to have somehow broken half the downloads on their site.

Re: What projects are you currently working on?

Posted: Mon Aug 23, 2010 10:27 am
by xAustechx
Thanks for all the support. I currently don't plan on giving up Beat Tapper yet. But I'm currently starting and a fresh project. Just to sort of get away from the Beat Tapper code. That way later on when I go back it will be amusing to work with different code. :D
dandymcgee wrote:
xAustechx wrote:And if you'd like to see for your self you can get it here but note that it's alpha: http://xaustechx.comule.com/BeatTapper.htm
I can't get it to run.. there's a shit ton of dll and .NET framework errors. Is it compiled as release or debug?

As for that, the game is compiled in release. So you may need the .NET framework or something since BTExtract is in C#.

Re: What projects are you currently working on?

Posted: Mon Aug 23, 2010 11:48 am
by ismetteren
I'm working on a level editor, written in Scala, to learn the language and some of the tricks of functional programming. But also to actually get a project done for once. ATM i need to optimize the basic stuff, like inserting tiles and stuff, since it is using an extremely slow method and to write a GUI. I am looking into this Qt binding for java (Qt Jambi) i recently learned about(Scala can use java libraries), since some of you guys seems to be very exited about Qt

Re: What projects are you currently working on?

Posted: Mon Aug 23, 2010 3:21 pm
by mattheweston
I've made some more progress on my Pong Clone and have updated my dev blog.


http://mattheweston.wordpress.com

Re: What projects are you currently working on?

Posted: Mon Aug 23, 2010 9:26 pm
by mattheweston
As promised.... Anyone have any suggestions on fixing the collision detection?

Link: http://www.youtube.com/watch?v=Aab6ZJAW2qY


Re: What projects are you currently working on?

Posted: Tue Aug 24, 2010 12:35 pm
by dandymcgee
mattheweston wrote:As promised.... Anyone have any suggestions on fixing the collision detection?

Code: Select all

if( ball.x >= paddle.x + paddle.w ){
    //Do collision check
}
If ball is on side of paddle all collisions are ignored so that you can't side swipe it back into play.

Can be easily altered for a second paddle on the right side of the screen.

Re: What projects are you currently working on?

Posted: Tue Aug 24, 2010 3:18 pm
by mattheweston
yeah there was a bug with my bounding box for the top and bottom. However, now I have a problem when I hit the ball with the top or bottom of the paddle that the ball is sticking to the top or bottom for a few secs before flying off in the proper direction.

I have three bounding boxes for the paddle: one for the whole paddle, one for the top, and one for the bottom. The image I attached shows the bounding boxes for the paddle and the bounding sphere for the ball.

Pardon my messy code. I'll go through later and clean it up. lol

Code: Select all


    BoundingSphere BallSphere = new BoundingSphere(new Vector3(GameBallPos.X+16, GameBallPos.Y+16, 0), 16);
                    BoundingBox LeftPaddleBox = new BoundingBox(new Vector3(50, leftPaddlePos, 0), new Vector3(50 + 22, leftPaddlePos + 92, 0));

                    
                    if (BallSphere.Intersects(LeftPaddleBox))
                    {

                        Cue cue = soundBank.GetCue("PongBallHit");
                        cue.Play();

                        GameBallDirection.X = 1;

                        if (BallSphere.Intersects(new BoundingBox(new Vector3(LeftPaddleBox.Min.X, LeftPaddleBox.Min.Y, 0), new Vector3(LeftPaddleBox.Min.X + 22, LeftPaddleBox.Min.Y + 10, 0))))
                        {
                            GameBallDirection.Y -= 2;
                        }

                        if (BallSphere.Intersects(new BoundingBox(new Vector3(LeftPaddleBox.Max.X, LeftPaddleBox.Max.Y, 0), new Vector3(LeftPaddleBox.Max.X + 22, LeftPaddleBox.Max.Y - 10, 0))))
                        {
                            GameBallDirection.Y += 2;
                        }
                    }


Re: What projects are you currently working on?

Posted: Tue Aug 24, 2010 3:25 pm
by GroundUpEngine
Following the KISS principle http://en.wikipedia.org/wiki/KISS_principle, I would advise using just one bounding region per Object ;)

Re: What projects are you currently working on?

Posted: Tue Aug 24, 2010 3:39 pm
by mattheweston
Yeah, I was going for the idea of having one on each end so the ball could be bounced off at a different angle/speed; however, as with anything in programming....there's more than one way. =)

Re: What projects are you currently working on?

Posted: Fri Aug 27, 2010 8:31 am
by Milch
Started learning programming on the Android phone ( urgh its Java >< )
First results:
Image

Re: What projects are you currently working on?

Posted: Fri Aug 27, 2010 8:42 am
by eatcomics
gotta love programming on mobile devices... granted java wouldn't be my first choice. Although I see why they chose it

Re: What projects are you currently working on?

Posted: Sun Aug 29, 2010 1:11 am
by mattheweston
My Pong clone has hit beta testing. =)

It's available for download here
http://rapidshare.com/files/415775397/Pong.zip

Player one uses the up/down arrows
Player two uses the w/s keys

Player one is on the right
Player two is on the left

I know I have some issues still with the collision detection, but otherwise I am pleased with the rest of the game.

Re: What projects are you currently working on?

Posted: Wed Sep 01, 2010 4:13 am
by Van-B
@mattheweston
One thing I would suggest, is when affecting your balls speed, with those GameBallDirection variables, it might help if you check to see if they are bouncing the right way after a collision. For instance, if the ball hits something to the left, make sure that the GameBallDirection.X actually needs to be adjusted, if it's less than zero then set the speed, otherwise ignore it. I tend to get bugs with collisions sticking, but I also tend to invert the speed more often than setting it directly, so it might be more of a problem for me, your issue just sounded familiar is all :).

Re: What projects are you currently working on?

Posted: Wed Sep 01, 2010 7:23 am
by GroundUpEngine
@mattheweston
Another tip, make a new thread in GameDev if you want testers ;)