Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  Print  
  8BitOoze - Open Source 2d game  (Read 4952 times)
0 Members and 3 Guests are viewing this topic.
Offline 8bitooze

JGO n00b
*

Posts: 32
Medals: 1



« on: 2011-02-23 15:46:35 »

8BitOoze

Overview

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.

News
RC3 has been released and is available on the games official web site.

Updates

RC3
*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

RC2
*ADDED: Sound Effect(s)
*ADDED: Sound Effect Toggle Key
*ADDED: Frames Per Second Counter

RC1
Initial Release

Demo
Demo

Source
Web Site

Offline ra4king

JGO Kernel
*****

Posts: 3137
Medals: 195


I'm the King!


« Reply #1 on: 2011-02-23 16: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?

Offline gouessej

JGO Kernel
*****

Posts: 3558
Medals: 30


TUER


« Reply #2 on: 2011-02-24 06: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.

Julien Gouesse
Games published by our own members! Go get 'em!
Offline princec
« League of Dukes »

JGO Kernel
*****

Posts: 8073
Medals: 91


Eh? Who? What? ... Me?


« Reply #3 on: 2011-02-24 06:58:57 »

The bat has momentum and inertia.

Cas Smiley

Offline nsigma

Sr. Member
**

Posts: 342
Medals: 18



« Reply #4 on: 2011-02-24 07: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 ...  Roll Eyes

Offline fruitmaze

Full Member
**

Posts: 156
Medals: 3



« Reply #5 on: 2011-02-24 07:50:13 »

It is very difficult to control the bat. Maybe you should make the acceleration of it faster?
Offline gouessej

JGO Kernel
*****

Posts: 3558
Medals: 30


TUER


« Reply #6 on: 2011-02-24 10:20:17 »

Source
Web Site
Nice source code (under GPL v3  Grin), well commented, quite clean, thank you very much.

Julien Gouesse
Offline Mads

JGO Ninja
***

Posts: 674
Medals: 16


Directly directional


« Reply #7 on: 2011-02-24 12:37:00 »

Nice game! It needs some more features though, and it's confusing that it starts itself when then loading ends.

Offline nsigma

Sr. Member
**

Posts: 342
Medals: 18



« Reply #8 on: 2011-02-24 12:59:32 »

Nice source code (under GPL v3  Grin), well commented, quite clean, thank you very much.

hmm ... Nice source code (under GPL v3  Grin), well commented, quite clean, thank you very much.

http://www.codinghorror.com/blog/2008/07/coding-without-comments.html

 Smiley


Offline ra4king

JGO Kernel
*****

Posts: 3137
Medals: 195


I'm the King!


« Reply #9 on: 2011-02-24 14: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 Tongue

Games published by our own members! Go get 'em!
Online Mickelukas

JGO Ninja
***

Posts: 731
Medals: 25


Java guru wanabee


« Reply #10 on: 2011-02-24 14:25:41 »

By the way, that is TOO commented Tongue

4 times as many lines of comments than code Smiley

Mike

Offline ra4king

JGO Kernel
*****

Posts: 3137
Medals: 195


I'm the King!


« Reply #11 on: 2011-02-24 14:29:02 »

By the way, that is TOO commented Tongue

4 times as many lines of comments than code Smiley

Mike
Hahaha yeah! Grin
Ironically, I had trouble finding the code I was looking for.

Offline BoBear2681

Full Member
**

Posts: 237
Medals: 8



« Reply #12 on: 2011-02-24 14:29:13 »

Nice source code (under GPL v3  Grin), well commented, quite clean, thank you very much.

hmm ... Nice source code (under GPL v3  Grin), well commented, quite clean, thank you very much.

http://www.codinghorror.com/blog/2008/07/coding-without-comments.html

 Smiley


One of my college professors had a bumper sticker on his door that read:

Quote
Real Programmers Don't Comment Code
If it was difficult to write, it should be difficult to understand

 Cheesy
Offline ra4king

JGO Kernel
*****

Posts: 3137
Medals: 195


I'm the King!


« Reply #13 on: 2011-02-24 14:30:50 »

Nice source code (under GPL v3  Grin), well commented, quite clean, thank you very much.

hmm ... Nice source code (under GPL v3  Grin), well commented, quite clean, thank you very much.

http://www.codinghorror.com/blog/2008/07/coding-without-comments.html

 Smiley


One of my college professors had a bumper sticker on his door that read:

Quote
Real Programmers Don't Comment Code
If it was difficult to write, it should be difficult to understand

 Cheesy
I want your college professor Tongue
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!

Offline 8bitooze

JGO n00b
*

Posts: 32
Medals: 1



« Reply #14 on: 2011-02-24 16: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

Offline ra4king

JGO Kernel
*****

Posts: 3137
Medals: 195


I'm the King!


« Reply #15 on: 2011-02-24 19: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.

Offline gouessej

JGO Kernel
*****

Posts: 3558
Medals: 30


TUER


« Reply #16 on: 2011-02-27 06: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.

Julien Gouesse
Offline 8bitooze

JGO n00b
*

Posts: 32
Medals: 1



« Reply #17 on: 2011-03-14 10: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

Offline Mads

JGO Ninja
***

Posts: 674
Medals: 16


Directly directional


« Reply #18 on: 2011-03-21 05:55:20 »

The site is down :L

Offline SwampChicken

Full Member
**

Posts: 199
Medals: 1



« Reply #19 on: 2011-03-25 11:40:38 »

The site is down :L

x2
Offline 8bitooze

JGO n00b
*

Posts: 32
Medals: 1



« Reply #20 on: 2011-04-19 14: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

Offline tberthel

Sr. Member
**

Posts: 267
Medals: 1



« Reply #21 on: 2011-04-19 15:25:28 »

Hopefully someone will send you the code.

Offline Mads

JGO Ninja
***

Posts: 674
Medals: 16


Directly directional


« Reply #22 on: 2011-04-19 16:13:07 »

Hopefully someone will send you the code.

I'll boot my old computer right away and look!

EDIT: No luck here Sad

Offline 8bitooze

JGO n00b
*

Posts: 32
Medals: 1



« Reply #23 on: 2011-04-25 12: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

Offline badlogicgames

Full Member
**

Posts: 144
Medals: 3152



« Reply #24 on: 2011-04-25 14:26:05 »

External source control. Now!

Google Code

[url=http://www.github.com


Seriously.

http://www.badlogicgames.com - musings on Android and Java game development
Offline 8bitooze

JGO n00b
*

Posts: 32
Medals: 1



« Reply #25 on: 2011-04-25 16:42:26 »

External source control. Now!

Google Code
SourceForge
Github

Seriously.

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

Offline ra4king

JGO Kernel
*****

Posts: 3137
Medals: 195


I'm the King!


« Reply #26 on: 2011-04-25 18:45:33 »

See this reply from gouessej to me about SourceForge, or source control in general.

Offline 8bitooze

JGO n00b
*

Posts: 32
Medals: 1



« Reply #27 on: 2011-04-25 19:38:34 »

See this reply from gouessej to me about SourceForge, or source control in general.
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 Smiley!

Sincerely

8BitOoze

Offline ra4king

JGO Kernel
*****

Posts: 3137
Medals: 195


I'm the King!


« Reply #28 on: 2011-04-25 19: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 $$) Cool

Offline 8bitooze

JGO n00b
*

Posts: 32
Medals: 1



« Reply #29 on: 2011-04-26 19: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 $$) Cool
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

Pages: [1] 2
  Print  
 
 
Jump to:  


Add your game by posting it in the showcase section.

The first screenshot will be displayed as a thumbnail.

obsidian_golem 2012-05-23 10:14:50

Danny02 2012-05-21 17:10:34

Danny02 2012-05-21 17:07:10

Danny02 2012-05-21 16:56:12

davedes 2012-05-21 13:59:23

obsidian_golem 2012-05-20 20:28:41

darkjava55 2012-05-12 16:14:40

Ultroman 2012-05-12 09:36:05

Ultroman 2012-05-11 22:49:53

Ultroman 2012-05-11 22:20:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.184 seconds with 19 queries.