I was brushing up on my Flash, following Pom’s PongOut Tutorial, and I decided to improve on the original idea… and so far [URL=“http://www.craversdark.com/index.php?entry=entry060329-170544”]this is what I have.
Maps, Brick definitions, and a few other items are very easy to add. I know there are some bugs, and I still need to tweak some parts, but I think it’s very good so far. Let me know what you think
Very good for a first try. I would adjust the angle depending on where the ball hits the paddle and/or the blocks if at all possible, and increase the speed of the ball (possibly you could increase it every time it hits something, pong style). Also, this is a bit nit picky but I would sharpen the hittests so that the ball doesn’t pass through the paddle before bouncing off.
Thanks
It looks like a ‘first try’ Not my first by a longshot, I’ve just been busy with work, and stuff so I haven’t put a lot of refinement into it yet…
I would like to make my paddle have a slight curve to it, so that depending on where the ball hits, it changes the angle a bit. I’m also planning on making blocks that are triangles in various rotations.
There will be more power-ups that include speed-up, speed-down, and more. Right now there’s just 1Ups.
Yeah, I know the hittest need work. I’ve been playing with it, and in fact think I made it a little worse than it was at first. If anyone knows a lot more about hittest than I do, I could use a bit of a hand there…
Thanks for looking at it, and discussing it - I hope to have 0.2 ready to show in a month or so… lol Got too much programing to do at work
Nice work- boost up the visual design and ya might have a nice game happening!
ya it kind of does look like a first try not offense, because the first game i ever created was like that, and well the code wasn’t pretty but it looked like yours accept it could save score through share objs, ya like nich said make it hit by angles and your good to go, also you should probably set the framerate up higher and make the ball slower or make the ball slower and put it on a setInterval because its kind of uhly when it hits the paddle don’t ya think? thats the only 2 bad things about it
I didn’t mean first try at programming a game, I meant first time at this sort of game (You mentionned in your first post that you were following a tutorial, so I figured this is your first breakout game. That and the version is 0.1 . If I’m still wrong, feel free to correct me :thumb: ).
I thought it was cool. The code for this is a lot cleaner than what i was doing for some of my games.
My suggestion is to just keep picking at it and don’t get sidetracked(my current problem), if you have any questions about anything let us know and we’ll help you out
keep up the good work
It’s hard to keep on track when you program 50+ hours a week for work. lol
didn’t even know he released the source? am i missing something =(
Version 0.2 is up, so take a look here.
Please let me know what you think
still don’t like the hitTesting, anyways i just did a google search and found my first game
http://www.angelfire.com/ak5/breakout101/
lol yup my first work, its horrible and ugly, the game was made with ifs and elses for every possible angle took days just to write the scripts to hit the walls, lol the good ol’ days lol flash was so fresh
hey that’s what i do … hahaha
Here’s version 0.2.1: http://craversdark.com/index.php?entry=entry060408-115800
Again, let me know what you think
Bump… hoping to get more comments…
I dont like 45 degrees hit. I got the ball to stay and pop squares untill there was an half of an row left.
I also don’t like the 45 Degrees, but I’m having trouble getting the angle-changing to work… any ideas? I have three different things that I tried, but couldn’t get to work: First: the ball’s angle would change depending on where on the bar it hit, as if the bar has a gradual curve to it. This simply resulted in the ball going nearly horizontally. Second: The ball’s angle would be affected by the speed of the bar when it hits… if you move the bar fast, it alters the angle, this didn’t work at all, other than causing the ball to go straight downward. Third: Blocks that are angled (basically, cut one of the normal blocks in half, diagonally). This caused the ball to stop moving altogether… Anyone who knows anything about angles, trajectories, and physics, and is willing to help me out, please let me know
Yeah, I cant help you. Heck I have just started with Algebra.
But if you can fix that angle problem you’ll be having an quite nice game