Java-Gaming.org    
Featured games (82)
games approved by the League of Dukes
Games in Showcase (434)
games submitted by our members
Games in WIP (466)
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: "Dead Objects"? on: 2012-10-30 17:12:36
hmm ok thanks for the fast answer, but what do you mean by heavy lifting? You mean its bad to do the calculations etc in the constructor?
2  Game Development / Newbie & Debugging Questions / "Dead Objects"? on: 2012-10-30 16:55:41
Hi,
I have a little question and I hope its in the right section but well here it comes  Wink
today in class our professor "collected the homework" (what was a programm that takes decimal numbers and converts them to binary numbers). Well not very difficult but he told me i created a "dead object" by writing:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
public class Converter {
 
  public Converter() {
    //do the algorithm etc..
 }  
 
  public void otherFUnctions() {
    //..
 }
 
  public static void main(String[] args) {
    [b]new Converter();[/b]
  }
}

He told me this is a bad behaviour of writing code and my algorithm should better be in the main method, than instantiating a dead object. He also didnt want to explain that to me and just said you'll learn more about that when you learned how stacks are built.
I wonder now why this is so bad because i always see alot of ppl starting their code like this (even example code in books I've read is like that).
Since my prof didnt had the time or smth else  Grin to explain that to me.
So I wanted to ask you guys, maybe someone can explain it
thx
3  Discussions / General Discussions / Re: Law question on: 2012-08-29 00:29:31
I will go for it Wink
When its done I tell you guys and well I might ask some questions here again if I face any problems where I get stuck Smiley
Thanks for your answers
4  Discussions / General Discussions / Re: Law question on: 2012-08-28 12:36:06
a letter would be no problem I guess
5  Discussions / General Discussions / Re: Law question on: 2012-08-28 01:33:48
I am not going to sell it or make some big money with it^^
I will just put up some website, and let people play on the server. Maybe add some donation for people that like it and want to support it, but still giving them nothing in exchange, everything is only voluntary
6  Discussions / General Discussions / Re: Law question on: 2012-08-28 01:21:31
well then this idea seems to die because I think I am not that creative to create my own monsters xD
there still could be a blue pikachu^^
7  Discussions / General Discussions / Re: Law question on: 2012-08-28 01:15:37
well yeah if they sue me for 5k euros  Grin
8  Discussions / General Discussions / Re: Law question on: 2012-08-28 01:10:46
but their content, isn't it?
9  Discussions / General Discussions / Law question on: 2012-08-28 01:05:55
Hey,
I am currently thinking of starting to make a game. For the start I thought about programming some pokemon multiplayer game, which is like pokemon but just multiplayer.
I am just afraid of some issues with nintendo when I finished it and let people connect to the server and play it. Do you think its illegal to do that? And do you think nintendo will even care about that? Well for example there are tons of free servers out there for every kind of game and it seems they dont get any law problems from the original creators.
Please enlighten me
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.

xsi3rr4x (72 views)
2014-04-15 18:08:23

BurntPizza (68 views)
2014-04-15 03:46:01

UprightPath (79 views)
2014-04-14 17:39:50

UprightPath (65 views)
2014-04-14 17:35:47

Porlus (80 views)
2014-04-14 15:48:38

tom_mai78101 (104 views)
2014-04-10 04:04:31

BurntPizza (164 views)
2014-04-08 23:06:04

tom_mai78101 (260 views)
2014-04-05 13:34:39

trollwarrior1 (210 views)
2014-04-04 12:06:45

CJLetsGame (220 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!