Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (690)
Games in Android Showcase (201)
games submitted by our members
Games in WIP (764)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 10
 1 
 on: 2016-09-29 17:41:36 
Started by dleskov - Last post by princec
Yep, still got your email... will drop you a line tomorrow from work.

Cas Smiley

 2 
 on: 2016-09-29 16:14:32 
Started by BurntPizza - Last post by FabulousFellini
I found 2 games that use the same dog catcher graphic as mine (although technically the character is a plumber).  I was always going to change the character graphics, and now I really have no excuse not to.

https://itunes.apple.com/us/app/jungle-mary-world-mario-bros/id1108189112?mt=8

https://itunes.apple.com/us/app/super-jungle-world-mario-bros/id1104969767?mt=8

Kind of seems like those developers that made one game and released it 10 times with different graphics.

The description of Jungle Mary World makes me want to play it, lol:
"Jungle Mary World is a journey of super Man, his name is Mary".

 3 
 on: 2016-09-29 15:35:16 
Started by dleskov - Last post by dleskov
Already grabbed Smiley I have actual use for this at work! (Not game related)
Wow, cool. Would love to know the details (you still have my email, right?)

Quote
But also of course I'd be personally interested in how this is going to fit in on Android or iOS. I bet the libgdx guys are even more interested.

We are working on this too, but there is still a long way to go.

 4 
 on: 2016-09-29 15:33:10 
Started by dleskov - Last post by dleskov
Do you have any plan to fill the void left by RoboVM? such as releasing a version that can run applications on Android and iOS?

Yes, but doing it properly is a lot of work, so we are currently trying to either find a strategic partner or raise capital to speed things up.

 5 
 on: 2016-09-29 15:21:14 
Started by FabulousFellini - Last post by FabulousFellini
1  
2  
3  
4  
5  
6  
7  
public class BadGuy {
    public BadGuy(){
        badGuy1 = new BadGuy();
        badGuy2 = new BadGuy();
     }

}


Did you actually try that? Try putting together a little example program. You'll see that this code causes a StackOverflowException.

As opposed to option 1, which is this:
Main:
1  
2  
badGuy1 = new BadGuy();
badGuy2 = new BadGuy();



I was thinking about this initially because my game has about a million "brickwalls" that are just named brickwall1, brickwall2, etc, instantiated in my main game file, and I wanted to see how other people instantiate their objects in their games.

Sounds like you should just use an ArrayList or some other data structure?

No, I didn't actually try it yet, but I think I'm going to leave it how it is for now.  Seems like that is the best way to go.

 6 
 on: 2016-09-29 15:15:47 
Started by FabulousFellini - Last post by KevinWorkman
1  
2  
3  
4  
5  
6  
7  
public class BadGuy {
    public BadGuy(){
        badGuy1 = new BadGuy();
        badGuy2 = new BadGuy();
     }

}


Did you actually try that? Try putting together a little example program. You'll see that this code causes a StackOverflowException.

As opposed to option 1, which is this:
Main:
1  
2  
badGuy1 = new BadGuy();
badGuy2 = new BadGuy();



I was thinking about this initially because my game has about a million "brickwalls" that are just named brickwall1, brickwall2, etc, instantiated in my main game file, and I wanted to see how other people instantiate their objects in their games.

Sounds like you should just use an ArrayList or some other data structure?

 7 
 on: 2016-09-29 15:07:57 
Started by FabulousFellini - Last post by FabulousFellini
For the 2nd way, I meant something like this:

Main:
1  
BadGuy badGuys = new BadGuy();


then the bad guy class:
1  
2  
3  
4  
5  
6  
7  
public class BadGuy {
    public BadGuy(){
        badGuy1 = new BadGuy();
        badGuy2 = new BadGuy();
     }

}


As opposed to option 1, which is this:
Main:
1  
2  
badGuy1 = new BadGuy();
badGuy2 = new BadGuy();



I was thinking about this initially because my game has about a million "brickwalls" that are just named brickwall1, brickwall2, etc, instantiated in my main game file, and I wanted to see how other people instantiate their objects in their games.

 8 
 on: 2016-09-29 14:33:01 
Started by dleskov - Last post by kappa
Do you have any plan to fill the void left by RoboVM? such as releasing a version that can run applications on Android and iOS?

 9 
 on: 2016-09-29 13:35:31 
Started by dleskov - Last post by princec
Already grabbed Smiley I have actual use for this at work! (Not game related)

But also of course I'd be personally interested in how this is going to fit in on Android or iOS. I bet the libgdx guys are even more interested.

Cas Smiley

 10 
 on: 2016-09-29 13:27:11 
Started by FabulousFellini - Last post by KevinWorkman
Create 1 bad guy object in my main game file and have that object create the 5 bad guys with an array or something.

Can you be more specific about exactly what you mean by this? Can you put together a small but runnable example that tries this approach out?

This is as much for you as it is for us. Questions like this are best answered by simply trying both approaches out and seeing which one you like the best.

But it sounds like the first approach is "better" since I'm not even sure what the second approach really means.

Pages: [1] 2 3 ... 10
 
xTheGamerPlayz (144 views)
2016-09-26 21:26:27

Wave Propagation (339 views)
2016-09-20 13:29:55

steveyg90 (451 views)
2016-09-15 20:41:23

steveyg90 (449 views)
2016-09-15 20:13:52

steveyg90 (491 views)
2016-09-14 14:44:42

steveyg90 (515 views)
2016-09-14 14:42:13

theagentd (502 views)
2016-09-12 16:57:14

theagentd (433 views)
2016-09-12 14:18:31

theagentd (308 views)
2016-09-12 14:14:46

Nihilhis (742 views)
2016-09-01 13:36:54
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21
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!