|
|||||||
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Attached is a simple game of BatBallWall (a Breakout clone). Gives players the choice to use the Zen's accelerometers to control the bat (simply tilt the device left and right), or use the touch screen.
Version 1.2 Improved the way ball bounces off edges of bat Fixed bug where ball's speed was not constant Added Easy and Hard modes Accelerometer game tweaks (larger bat, slower ball) Added Sound on/off switch to main-menu Added pause feature (touch the top half of the screen to pause, touch anywhere to resume) Version 1.1 Added choice of Accelerometer Game or Touch Game Added a main menu (with AI player running in the background) Removed set volume call (mucks with device's volume) Fixed bug to do with X-axis velocity modification when ball hits bat Version 1.0 Known Issues : Player's 'idle shutdown' can kick in while playing. This is likely due to the fact that the player believes no one is using the device because you don't touch the screen while playing (it's 100% accelerometer driven). You can either increase the Idle Shutdown Time, or turn it off, or keep touching the screen every minute or so while playing ;0) Feeback Requested - is it too easy / too hard / missing a feature etc... Dan Screenshot:
Last edited by DanTheLegoMan; 02-16-2010 at 05:12 AM. Reason: New Version |
|
|
|||
|
|
|
#2
|
|||
|
|||
|
u can disable the idle shutoff in the system menu
|
|
#3
|
||||
|
||||
|
Tried it, and it works. You could make the graphics better in later versions, as it is now you can't really see the size of the blocks even.
As for responsiveness, I'm not sure how exact the accelerometer is. What orientation should you hold the player for best performance? Should the screen face upwards or 90 degrees from the floor, if you understand what I mean.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#4
|
|||
|
|||
|
This is a nice game-----This is a fun game it reminds me Arcenoid
I would love it if you make a option for playing with the touchscreen Thanks for this GAME ! |
|
#5
|
|||
|
|||
|
You could make the graphics better in later versions, as it is now you can't really see the size of the blocks even.
I was going for a retro look This is a game I used to play on my BBC Model B 8bit computer back in the 80s! Back when memory was measured in kilobytes not gigabytes.I'm hopeless at art, but if someone wanted to draw some pretty graphics I'll happily update the code to use them. So, to anyone who might be interested ... The Ball is a circle of radius 4 pixels (actually to look right it is more like an ellipse with maximum height of 6 pixels and maximum width of 8 pixels) Bricks are 40 x 12 pixels. There are 7 different colours at the moment. 5 represent normal bricks, 1 is a special brick that has to be be hit twice to be destroyed, and the last is a special unremovable brick that you just have to avoid. Finally, the Bat is 40 x 5 pixels (this could easily change - but should be roughly this size) The Screen is 400 x 240 in case you want to have a graphical background rather than just black. What orientation should you hold the player for best performance? Should the screen face upwards or 90 degrees from the floor, if you understand what I mean. I usually hold the screen so that it is facing me (rotated 90 degrees from facing upwards). The bat moves left when you lower your left hand or raise your right, and vice versa. would love it if you make a option for playing with the touchscreen I did have that code originally - but I found that my fingers got in the way of the screen, so I couldnt' see what I was doing. Thanks for the comments so far. Dan |
|
#6
|
||||
|
||||
|
Quote:
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#7
|
|||
|
|||
|
wow nice work on the breakout clone game :-) the accelerometer works pretty smooth considering this is the first app to take advantage of it.
All i can say is smaller blocks, have the ball speed up when it bounces off the top of the screen and the blocks below like on the old atari breakout. good job on the game this had to be time consuming to write |
|
#8
|
|||
|
|||
|
this would be pretty sweet with a touchscreen option. it's sort of unplayable with the accelerometer.
i love the score countdown....very nice. would be nice to a see a super breakout version of this.
|
|
#9
|
|||
|
|||
|
I will give this a shot and make some nice, but still retro, graphics. So the graphics you use right now are images, correct? Even the ball and paddle?
That sound's great. Currently there are no images at all - it's all just rectangles and lines (for the ball). So, the code will have to be updated to load and display images instead of drawing shapes (won't be hard, as long as the X-Fi2 can draw that many images in a frame). Looks like a few people would prefer a touch driven interface - so I'll add support for that too. Dan |
|
#10
|
|||
|
|||
|
i cant see how images would be more retro than drawing it out.
the atari had no images. |
|
#11
|
|||
|
|||
|
everytime i turn this game on, the volume of my song always change to a fixed one, can u stop tat from happening? THX
|
|
#12
|
||||
|
||||
|
Quote:
But true, when I check the image posted in here of an old game the blocks are indistinguishable from each other, looking like solid lines. I was thinking to perhaps make them with separators so you could distinguish individual blocks. Would that be something you would want, or would it destroy the retro feeling of the app?
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#13
|
||||
|
||||
|
If you are going to add touch screen support, then please make it optional, I love using the accelerometer!
|
|
#14
|
||||
|
||||
|
I love the version 1.1 with the touch option and main screen and all. Also the graphics are growing on me. They are quite good as it is. Even though it might be fun with a similar game with more advanced graphics just for those who don't know about Atari =P
And you could make an easy/hard choice on the touch version, and in the hard use a similar delay on the paddle as in Pong. And one more thing you might want to implement from pong is that the ball bounces off of the paddle in different angles depending on where you hit. That gives you the option to actually aim and not just hope that it will eventually bounce into all blocks.
__________________
"If you are good enough at English to apologize, then there is no need to." - A good friend of mine Discovered something about the X-Fi2 you think others may not know? Post it here so others can learn about it! Have a question about X-Fi2 apps? Consult the FAQ before creating a thread about it. Like my work? Tell your friends. Don't like it? Tell me so I can improve. ^.^ |
|
#15
|
|||
|
|||
|
I agree with this update :O
|
|
#16
|
||||
|
||||
|
Fantastic Game!!! (worth all 3 exclamation points)
The updates suggested by Habhome would encourage me to give it more exclamation points.
__________________
If you have a question, please ask. I am more than happy to help. ![]() Cheers, Your friendly neighborhood Dark Lord |
|
#17
|
|||
|
|||
|
that's a really important feature for gameplay. in pong that's the only way to defeat the computer.
|
|
#18
|
||||
|
||||
|
Definately agree, we need this feature in the next update. Otherwise you have to wait for the ball to bounce off the left/right wall for it to change direction...
|
|
#19
|
||||
|
||||
|
Quote:
|
|
#20
|
|||
|
|||
|
Actually you can affect the x-axis velocity in the current version by hitting the ball at one side of the bat or the other. I'm guessing that the effect is a little to subtle though! I'll make it more obvious in the next update.
Thanks for all the feedback. |
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 10:22 AM.











This is a game I used to play on my BBC Model B 8bit computer back in the 80s! Back when memory was measured in kilobytes not gigabytes.
Linear Mode
