8bitooze
Senior Newbie 
|
 |
«
Posted
2011-02-23 21:46:35 » |
|
[size=18pt] 8BitOoze[/size] [size=14pt]Overview[/size] This is the official java-gaming.org thread for 8BitOoze. The latest news and updates will be posted in this thread and this post edited accordingly. 8BitOoze is a bat and ball style game written in the java programming language. It's graphics are vector based like early 8-bit machines. The source code to the game is open sourced and available to download from the web site. Feel free to post any comments or problems you have in this thread as I'm always open to feedback. [size=12pt]News[/size] RC3 has been released and is available on the games official web site. [size=12pt]Updates[/size] [size=10pt]RC3[/size] *ADDED: highscore system similar to 8bit machines at the time(highscores get erased when machine is reset) *ADDED: Facebook like metadata og:title, og:description,og:url,og:image etc. *FIXED: Server now sends the correct charset in the http header instead of relying in the html *FIXED: Server now sends expires header *FIXED: Server now sends cache control header [size=10pt]RC2[/size] *ADDED: Sound Effect(s) *ADDED: Sound Effect Toggle Key *ADDED: Frames Per Second Counter [size=10pt]RC1[/size] Initial Release [size=12pt]Demo[/size] Demo[size=12pt]Source[/size] Web Site
|
|
|
|
ra4king
|
 |
«
Reply #1 - Posted
2011-02-23 22:28:46 » |
|
It's very hard to move the paddle back and forth. Did you intentionally make it so it would speed up the longer you hold the left and right arrow keys?
|
|
|
|
gouessej
|
 |
«
Reply #2 - Posted
2011-02-24 12:54:06 » |
|
ra4king, you should look at his source code as I don't reproduce the problem I have with your game, the keys work.
|
|
|
|
Games published by our own members! Check 'em out!
|
|
princec
|
 |
«
Reply #3 - Posted
2011-02-24 12:58:57 » |
|
The bat has momentum and inertia. Cas 
|
|
|
|
nsigma
|
 |
«
Reply #4 - Posted
2011-02-24 13:22:36 » |
|
The bat has momentum and inertia.
But a little too much of it!!! Think I managed to hit the ball twice, but that might just be me ... 
|
|
|
|
fruitmaze
|
 |
«
Reply #5 - Posted
2011-02-24 13:50:13 » |
|
It is very difficult to control the bat. Maybe you should make the acceleration of it faster?
|
|
|
|
|
gouessej
|
 |
«
Reply #6 - Posted
2011-02-24 16:20:17 » |
|
Nice source code (under GPL v3  ), well commented, quite clean, thank you very much.
|
|
|
|
Mads
|
 |
«
Reply #7 - Posted
2011-02-24 18:37:00 » |
|
Nice game! It needs some more features though, and it's confusing that it starts itself when then loading ends.
|
|
|
|
|
|
ra4king
|
 |
«
Reply #9 - Posted
2011-02-24 20:18:45 » |
|
ra4king, you should look at his source code as I don't reproduce the problem I have with your game, the keys work.
I did the same thing, called addKeyListener() on the Applet itself. By the way, that is TOO commented 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Mickelukas
|
 |
«
Reply #10 - Posted
2011-02-24 20:25:41 » |
|
By the way, that is TOO commented  4 times as many lines of comments than code  Mike
|
|
|
|
ra4king
|
 |
«
Reply #11 - Posted
2011-02-24 20:29:02 » |
|
By the way, that is TOO commented  4 times as many lines of comments than code  Mike Hahaha yeah!  Ironically, I had trouble finding the code I was looking for.
|
|
|
|
BoBear2681
|
 |
«
Reply #12 - Posted
2011-02-24 20:29:13 » |
|
One of my college professors had a bumper sticker on his door that read: Real Programmers Don't Comment Code If it was difficult to write, it should be difficult to understand

|
|
|
|
|
ra4king
|
 |
«
Reply #13 - Posted
2011-02-24 20:30:50 » |
|
One of my college professors had a bumper sticker on his door that read: Real Programmers Don't Comment Code If it was difficult to write, it should be difficult to understand
 I want your college professor  I have rarely commented my code. I never saw the need to because I thought my code was understandable from the method names, variable names, and the code itself!
|
|
|
|
8bitooze
Senior Newbie 
|
 |
«
Reply #14 - Posted
2011-02-24 22:36:48 » |
|
@r4king - sorry you find the bat hard to control. When an arrow key is held the bat accelerates by 0.2d pixels per frame. so if you hold the arrow key long enough the bat will zip across the screen. When the arrow key is let go the bat decelerates by a friction rate of 0.99d, so if you wait long enough the bat will eventually come to a full stop.
@princec see above comment
@Mads i may add a title screen to the game at some point as well as more features. Right now i'm looking to add a 8-Bit "bump/boink/ping" sound effect to the game, but haven't due to not being able to find any free 8-bit sounds, not even through google.
@fruitmaze see comment above. If i increase the bat's velocity, the bat will accelerate too much, causing it to zip from one side to the other and making the game too easy.
@nsigma i managed to hit the ball enough times to reach a score of 10k so there shouldn't be a problem.
@All. Thanks for all the comments. You i might of overdone it on the comments as i wanted other developers to learn from my code and so the reason it's GPL v3.
Sincerely,
8BitOoze
|
|
|
|
ra4king
|
 |
«
Reply #15 - Posted
2011-02-25 01:33:54 » |
|
Then maybe increase friction a bit since there is no way to stop the bat by letting it go without it going to the other side of the screen.
|
|
|
|
gouessej
|
 |
«
Reply #16 - Posted
2011-02-27 12:00:33 » |
|
@All. Thanks for all the comments. You i might of overdone it on the comments as i wanted other developers to learn from my code and so the reason it's GPL v3.
I agree with you, it is fine for beginners, that is why I wrote it is well commented. Of course, it is too much for experienced programmers but your audience is not restricted to them.
|
|
|
|
8bitooze
Senior Newbie 
|
 |
«
Reply #17 - Posted
2011-03-14 15:02:37 » |
|
Update:
I have added sound effects to my game as well as fixing some bug including the "sliding bat" bug. The update has been posted on the site for consumption. Please let me know if you find any other bugs as the next update will see an overhaul to separate of the game logic and the game engine.
8BitOoze
|
|
|
|
Mads
|
 |
«
Reply #18 - Posted
2011-03-21 10:55:20 » |
|
The site is down :L
|
|
|
|
|
|
8bitooze
Senior Newbie 
|
 |
«
Reply #20 - Posted
2011-04-19 20:06:43 » |
|
Sorry, i fixed it and the site should be up. Unfortinately, i lost all the source code in a os crash and had to reformat my hd. However i will be starting over and will not abandon the project. Sincerely, 8BitOoze
|
|
|
|
tberthel
|
 |
«
Reply #21 - Posted
2011-04-19 21:25:28 » |
|
Hopefully someone will send you the code.
|
|
|
|
Mads
|
 |
«
Reply #22 - Posted
2011-04-19 22:13:07 » |
|
Hopefully someone will send you the code.
I'll boot my old computer right away and look! EDIT: No luck here 
|
|
|
|
8bitooze
Senior Newbie 
|
 |
«
Reply #23 - Posted
2011-04-25 18:58:50 » |
|
Just wanted to let you know i recreated almost all of the source code from scratch minus the sound effects and javadocs. I am working on the sound code as we speak but, i wanted to post what i had now so people don't get discouraged and think i have abandoned the project. Javadocs unfortunately will not be coming back as i found it to be overkill for such a small project.
Sincerely,
8BitOoze
|
|
|
|
|
|
8bitooze
Senior Newbie 
|
 |
«
Reply #25 - Posted
2011-04-25 22:42:26 » |
|
I don't understand, why would i need to use External Source Control if the source is availiable as a zip file? What would be the use of complicating things? Sincerely, 8BitOoze
|
|
|
|
|
|
8bitooze
Senior Newbie 
|
 |
«
Reply #27 - Posted
2011-04-26 01:38:34 » |
|
The only problem with svn is that my dev laptop doesn't have any internet connection at all, and i have to resort to using my libraries computers to do my dev stuff(upload jar, source code, update site etc.). Unfortinately they don't allow you to install stuff :`( So unless i find a web based svn system subversion is out of the question. As far as ads go, there are none  ! Sincerely 8BitOoze
|
|
|
|
ra4king
|
 |
«
Reply #28 - Posted
2011-04-26 01:46:04 » |
|
Ah well that sucks not having any internet :/ I have ads on my website because I'm cool like that (and me needz $$) 
|
|
|
|
8bitooze
Senior Newbie 
|
 |
«
Reply #29 - Posted
2011-04-27 01:19:51 » |
|
Ah well that sucks not having any internet :/ I have ads on my website because I'm cool like that (and me needz $$)  Well i just managed to (re)add sound effects to my game so now eveything should be like it was before minus the javadocs. One thing you will find that wasn't part of the previous R2 release is the FPS counter at the top of the screen. Sincerely, 8BitOoze
|
|
|
|
|