Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (496)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Newbie & Debugging Questions / Re: Catacomb Snatch design questions on: 2012-02-28 16:57:02
Note: this was written before Orangy Tang's answer

Thanks for the answers! But I don't find them very useful, unfortunately.

I understand you saying me "start by doing small stuff", but I already did that. My English is not the best and I should have chosen other words than "start coding games". Indeed my experience in game programming is small as I'm starting but it's not zero as well. I'm coding my game for six months now (purely casually, hence the long process), and I've been writing simulation renderers for another 5 years (in AWT).

I understand the factor "limited time" to develop it and I thank you for the indication of Notch's philosophy about accessors: I read his blog and found out what he meant.

Regarding the engine, I'll stick with AWT for the moment, not that Slick (which I also tested) is bad: I just want to start with what I know best.

In that context, I hope my questions make more sense and may actually find answers about how Mojang designed their Catacomb Snatch.  Smiley
2  Game Development / Newbie & Debugging Questions / Catacomb Snatch design questions on: 2012-02-28 13:56:52
Hello,

I'm starting the development of games under Java and I essentially come from the Business Java (Java EE, Spring, etc.).

I have have average knowledge in AWT/Swing.

I wanted to take a look at the source code of Catacomb Snatch (for which I proudly donated previous week-end) to help me start coding games and I have a few questions about it. I guess everything is related to performance or something like that. On top of that, they had only 60 hours, but I'm quite intrigued by half of their design choices.
  • Why doesn't Mojang use the standard tools of AWT such as BufferedImage but uses a kind of buffer (with their class Bitmap) without going through the AWT paint/update methods? Where can I find more information about this?
  • Why did they rewrite half of AWT for this game (Keys are handled differently, for instance)?
  • Why is there no kind of Manager?
  • Why are nearly all fields public? (and broader: why is nearly none of the  "good practices" ever used?)
  • Why is every art loaded at start rather than lazily?

There is probably something that explains all this, but I just couldn't find anything about it. If such resource exists, could you point me to it?

It's ok if not all questions find answers, I'll try to do it myself then.

Thanks a lot in advance Smiley
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

BurntPizza (14 views)
2014-09-19 03:14:18

Dwinin (32 views)
2014-09-12 09:08:26

Norakomi (58 views)
2014-09-10 13:57:51

TehJavaDev (80 views)
2014-09-10 06:39:09

Tekkerue (40 views)
2014-09-09 02:24:56

mitcheeb (62 views)
2014-09-08 06:06:29

BurntPizza (46 views)
2014-09-07 01:13:42

Longarmx (33 views)
2014-09-07 01:12:14

Longarmx (37 views)
2014-09-07 01:11:22

Longarmx (36 views)
2014-09-07 01:10:19
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!