Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (744)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (825)
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] 2 3 ... 88
1  Discussions / General Discussions / Re: Move to Kotlin? on: 2017-11-07 22:40:16
It's never safe, and throws CCE at runtime. But as we're assigning something to a String we may as well assume we're casting to a String to allow it to happen as we've effectively said exactly that we want to do that by declaring the destination to be of String. If the cast is possible, then why not? If the cast is not possible, javac will complain anyway.

Omg. I won't comment this as it seems you are simply not interested in getting better. I can't bei the only one who finds this hilarious.

Princec actually brings up a good point, there's 0 reason (from what I can think of right now) to declare the type of a variable and then have to retype the type when you're trying to cast. You're clearly in the camp of "less syntax", so why is what Princec said hilarious? It seems that you two would actually agree on the casting point.

But the whole type debate - I have a love/hate relationship with dynamic typing. If I'm working on a small personal project where I can keep all of the object definitions in my head while working then I love dynamic typing. It's not *that* much less typing, but it does save me a tiny bit of work that adds up over time. But on the flip side, if I'm reading someone's code or I'm working in a corporate setting then absolutely, I want my types defined right there in front of me. It's extremely painful to go hunt around a large codebase, connecting the dots and figuring out what type something actually is. Phil mentioned context switching and I completely agree with that - IMO its important that you give your mind a break and just let your work be as easy as possible. Hunting for types is trivial and is unnecessary work that you shouldn't have to deal with when you're trying to figure out the maze that large codebases can be.

I think there's fairly clear uses for either dynamic or static typing. I love NodeJS and Java for vastly different reasons and use them in far different ways.
2  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-06 01:23:51
Quote from: jonjava
~ snip ~

This is a little excessive, don't you think?
3  Discussions / General Discussions / Re: Gosh, it's quiet in here on: 2017-11-05 19:51:23
I believe a large part of the decline has to do with the "voxel craze" is definitely basically dead. People wanted to replicate Minecraft and obviously JGO was a perfect community to come get help with that. Clearly that's not the craze anymore, I'd say AR/VR is and people are using other technologies to make that happen.

Personally, I check JGO at least every couple of days. This forum really sparked my interest in game development and building software in general, which ultimately led to me starting a career in software development. When I first joined it seemed like there were a lot more young people that were just getting into development like I was (I think I was 15 when I registered here?), so it's unfortunate that all the people I learned and grew with have moved on and stop using the site so much. But I guess that's how life goes. I haven't even touched a line of game code in probably 2 years now, I'm more interested in web technologies and my hobbies outside of tech.

So to me the decline of JGO is more emotional than anything. I spent a large part of my teenage years nerding out and learning how to build games with people. Building game engines with people, IRC drama over m77, finally getting cubes rendered in my first attempt at a voxel engine, you all helping build my confidence so I could go ask my first boss for a full time position as a software dev, etc... It's kind of strange to be able to say those were the good old days! It would be awesome if it was like it used to be but I totally understand why using Java for game development has been going out of style. I'm not entirely sure what we would need to do to bring more newbies onto the site Sad But I do owe a lot of thanks to people on this forum. It's truly been life changing.
4  Discussions / General Discussions / Re: JGO Twitter List on: 2017-10-21 17:22:27
Can I get added? @TobySimone. Thanks! Cheesy

Scratch that, I'm already added  persecutioncomplex
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-09-27 19:38:47
I'm starting a new job at a popular software development bootcamp! I'll be helping to teach Java and C# to people all over the US Smiley I really like teaching so this is an exciting change.

Crazy to go back to my first posts and see how far I've come... I've been on this forum for so long now!
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-08-17 13:53:52
Not really today, but on Monday I started at my first full time job out of university at Google. I'm at their Mountain View headquarters in the Bay Area (Silicon Valley). Pretty happy to say the least Smiley

Congratulations! I'm really jealous of the free snacks and nap pods (those are a thing, right?), the coolest thing we have here are treadmills  Grin
7  Game Development / Newbie & Debugging Questions / Re: 2 questions, coding MMORPG in Java on: 2017-08-15 18:55:39
How do you plan to find a job by building a game? There are many things not right with this;

1. If your goal is to get into the game industry then this is not the way to do it. It's hard to get into the industry in the first place. No offense, but building a small MMORPG is not going to make you employable. You're going to need a degree and know your math very well.

2. If you want to get into a "regular" development position (like web development) then, again, this is not the way to do it. Spend your time actually working on projects/technology that your potential employers also work on/with. Why would a web development shop hire you if you don't know how to build websites?

But don't take this all the wrong way, you can absolutely become a professional game developer. You just need to do some research and figure out the proper way to learn and become employable. It can be a fun career, but there's going to be a lot of stress, you'll be paid less than you're worth and it's hard to get into. You just need to take a serious look at the job and figure out if it's for you.
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-08-11 00:25:11
I re-designed in anticipation of our first EP! Still working on it, but I'm pretty happy with it so far. Also I used NodeJs, Mongo and EJS to build out the new site! Crazy to be moving away from good old Java + Spring Boot Smiley If anyone wants to go check it out and leave feedback that would be great!

Here's a screenshot:
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-07-30 00:52:04
worked on ui
- found a good use for an arraylist with null spaces. the null spaces represent empty spaces in an inventory.
- snip -

Definitely cannot see bugs being produced from that decision  Wink
10  Discussions / General Discussions / Re: JGO Twitter List on: 2017-07-26 18:31:31
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-07-22 19:11:02
I'll be recording my first EP with my band August 6th-14th and will be taking that entire time off work! I'm really excited, I haven't taken any kind of a vacation since I started two years ago (wow, time flies!). Also playing some shows/festivals very soon, can't wait to start playing out more after we finish recording. And then we get to make music videos, so I get to be an actor! Smiley Very exciting.
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-06-30 19:43:41
Looks like something happened on Twitter with him:
13  Discussions / Miscellaneous Topics / Re: Passion Projects and Life: Spreading Yourself Too Thin? on: 2017-06-30 19:36:59
I deal with it by repeatedly telling myself that it's my life, and I can choose to live how I want.

If you want time to program and don't *have* to spend time elsewhere then make it happen! I love hanging out with my friends and family, but there are some days I just say "no" because I have personal projects I want to work on. I also have a schedule; Monday and Thursday I go to band practice after work and stay there until midnight generally. Saturday mornings I go to Starbucks and work on my projects for a few hours before doing anything else. Sunday I repeat that, but then go see my parents until around mid-afternoon. The rest of my time is wildcard time, I either work on things or I see my friends/family.

Maybe you need to establish a schedule like me? Everyone I regularly talk to knows that I have things going on so they know when not to ask me to hang out. Makes things much less awkward since I don't need to say "no" as often to people, which I hate doing.

Just pursue what truly makes you happy. As long as you're not hurting anyone else then it's your life and you need to take control so you're content every day. Start saying "no" more often! People will likely understand  Smiley
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-06-09 14:02:47
My band is starting to get closer to finishing our first EP! There will be 6 tracks on it, we have 3 or 4 that are almost 100% going to be on there.

On that note, I started to redesign so it's a little more fancy when we do release! Here's a sneak peak at the homepage, still in progress:

@Opiop, are you guys going to release the EP in physical form like a CD or just online?  If it's a CD, I'm gonna have to order one.  Is the song you have the video for gonna be on there?

We'll make some CDs! They're surprisingly expensive, so most of our money is going to be going to merch instead of CDs, but I'll definitely reserve one for you! Smiley And nope, that song won't be on the EP. We have 6 new awesome songs that are going on there that are, IMO, much better!
15  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-06-06 13:52:08
My band is starting to get closer to finishing our first EP! There will be 6 tracks on it, we have 3 or 4 that are almost 100% going to be on there.

On that note, I started to redesign so it's a little more fancy when we do release! Here's a sneak peak at the homepage, still in progress:

16  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-05-02 04:30:30
Psh, only three monitors? How about two monitors hooked up to my MacBook Pro and another older laptop dedicated to Netflix? So, 3 monitors just for working and another just for Netflix!

Really though, most of the time I'm just working on my MacBook. High res displays like the Retina display are a god send for someone like me who loves working on the go, there's so much room to work packed into this little laptop!
17  Discussions / Miscellaneous Topics / Re: Annoying Interview Q on: 2017-04-25 17:28:19

I want to work where you work. I don't have a college degree but I do have two years of professional experience now and it worries me to no end that no one will consider me after I leave my current company. I've gained a lot of great experience here as we're a relatively small company and we work on some very complex software that millions of people use every month. Because of that I've been forced to learn rapidly and be able to teach new hires. But I feel like all of that will fall to the wayside if someone with a degree applies to the same position I did.

I guess it doesn't help that I would really love to work a remote position, from what I can tell those are even harder to get a hold of...
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-02-02 14:43:56
I took a break from developing my game engine and I finished a song I've been working on for a while Smiley

Do any of you produce music?
Yes sir! I'm in a band (As Time Fades). I enjoyed your track by the way, this is the kind of music I love programming to at work. It's so dreamy/floaty. I like it!
19  Discussions / Miscellaneous Topics / Re: What I drew today on: 2017-01-23 04:33:43
I made another video background for my band's website, It's not really drawing... but it's kind of like it! Here is is:

<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>

It's meant to loop, that's why there's a "TV effect" at the beginning and end, just in case anyone is wondering.
20  Discussions / Miscellaneous Topics / Re: What I did today on: 2017-01-19 17:14:41
For the past couple of days I've been working on getting the HTML/CSS done for my band's website. I relied on Bootstrap a little, but most of it is (unfortunately) written by me. I'm not a front end developer or a designer, so this was pretty hard for me  Sad

The content on the site isn't finished (the About page is the main offender), but here it is:

Currently it's just hosted on my github, but the next stage is to add a backend and host it on Linode (or maybe DigitalOcean). I want to give my non-developer friends an easy way to add content to the page, and build out a merch feature (I'm feeling adventurous). The only part that will be new to me on the backend is accepting/handling payments through multiple solutions (PayPal/Stripe/etc...), but I'm hoping it won't be too hard. It'll all be written in that sweet, sweet new ASP.NET Core! 
21  Game Development / Newbie & Debugging Questions / Re: Making fields public that use both setters and getters on: 2016-12-27 21:28:42
Create a function that takes in the value you want to add to your 'x' variable. Something like:
public void addX(int xa) {
    x += xa;

You can also have a 'setX' function that literally sets the value of 'x', no adding involved.

Keep your code simple, you're asking for bugs if you use your 'setx' function like you did in your last post. Reuse code when you can, and make sure you reduce the number of "working parts" as much as possible. Code is going to be "ugly", you just have to accept that. Unfortunately Java does not provide a lot of syntactic sugar to reduce some of this ugliness. But you still should follow OOP guidelines so you do not fall down a rabbit hole of bugs. Directly modifying variables without the use of basic/advanced setters is sure to bring about some issues later down the line that will be annoying to fix.
22  Discussions / General Discussions / Re: New Year Resolutions -- 2017 on: 2016-12-27 19:26:44
2016 was a decent year for me, not as insane as 2015 (thank god), but I feel like I got a lot done. In 2017 I want to;

- Get a raise at work. I found out I'm being significantly underpaid (even for someone in my situation), which sucks because I love my work and the people. I just want to be paid how much I'm worth.

- Go on (a small) tour with my band and release our first EP

- Finish a couple of personal projects that I'm interested in. This will be good for my resume and for sharpening my skills

- Post a new picture to my Instagram account at least every week. This means going out and exploring new places! I've thoroughly explored the closest towns near me, now I want to start branching out and finding new areas

- Actually commit to working out. I move around far less now that I'm a full time software developer and I don't want to pack on fat!

- Continue to teach new developers at work and hopefully hone that skill. I love teaching, but I need to figure out what works and what doesn't

- Limit the amount of time I spend zoning out on Reddit, be more productive in general

I hope everyone had a good 2016 and here's to an even better 2017!
23  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-22 16:04:26
- snip -
Nice tight drumming and smooth production. Good job!

The song itself (especially the text and the guitar at the beginning) is a bit too corny for my taste Cool
For sure, it's not my favorite kind of music (I grew up in a pure metal household) but I love playing drums and my band mates are my best friends so I'm pretty happy! Hopefully we get somewhere, I would love to go on tour. Last show we played we had some people singing along and it's just such an awesome experience, there's nothing like making art and people actually enjoying it with you!
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-21 21:31:37
Local guy called Scooter, his place is called Rewire Studios. And thanks! This is an older song we just got around to recording, I'm excited to release it soon!
25  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-21 21:26:27
As requested, the trailer for one of our new songs:

<a href=";hl=en_US&amp;start=" target="_blank">;hl=en_US&amp;start=</a>
26  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-21 17:26:41
My band released a new teaser for a song we've recorded! We've finally finished about half of our EP. Writing takes a long time... I'll link it if people are interested, I don't want to just shamelessly self-promote Tongue
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-12-14 05:22:05
I finally got around to implementing a re-usable "template" solution for Spring MVC applications using generics and the Callable interface.

Previously, an endpoint would look something like this:
   @RequestMapping(value="/Create", method=RequestMethod.POST, consumes=MediaType.APPLICATION_JSON_VALUE)
   public @ResponseBody BaseResponse accountCreate(@RequestBody AccountCreateRequest request) {
      BaseResponse response = null;
      try {
         response = accountService.accountCreate(request);
      } catch(BBException e) {
         response = new ErrorResponse(e.getError());
      } catch(Exception e) {
         response = new ErrorResponse(BBError.UNHANDLED_EXCEPTION);
      return response;

I've slimmed the endpoint down to this:
   @RequestMapping(value="/Create", method=RequestMethod.POST, consumes=MediaType.APPLICATION_JSON_VALUE)
   public @ResponseBody BaseResponse createArtistAccount(@Valid @RequestBody CreateArtistAccountRequest request, Errors errors) {
      return new ServiceExecutor<CreateArtistAccountRequest, CreateArtistAccountResponse>(request, artistAccountService.createArtistAccountCallable, errors).call();

It doesn't seem like much, but it will save me a lot of time at work not having to type all of that out and create new validation functions for the request/response objects. If anyone is interested in Spring, my repository is here Keep in mind this was just started tonight, so there may be some odd design choices in the code.

It's not gaming related, but I can spend all the time I save from re-using code by looking at all the awesome projects on here!
28  Discussions / Miscellaneous Topics / Re: What I drew today on: 2016-12-05 20:42:28
I asked a while back if I can include pictures I've taken in this thread, seems like I forgot! Here's a couple I've taken over the last few months. I have lots more but these are the only ones I have on my phone that are easily accessible.

First one was taken in some forest somewhere. Nothing too crazy, but I like the textures. I also did some editing by turning the photo B&W, then scrubbing the color of the concrete back in.

I like this one because of the difference between the materials used to construct the buildings. The light in the back is "haloing" a little bit unfortunately, the post-editing really brought it out too much.

This one, I haven't done much in post yet because I can't figure out what to do with it. I love the colors in it, but the shelf the trees are sitting on lines up with the edge of the photo weird and it drives me crazy. I wish I could retake this picture and spend more than 5 seconds lining it up!

Again, love the colors in this picture. The sky really stands out against the stairs, although I might have turned up the saturation to really play that effect out  Tongue

I was helping my cousin move when we may have gotten the UHaul stuck... new neighbor to the rescue! This wasn't actually taken on my DSLR, but I think the moment is too hilarious/wacky to not share.
29  Java Game APIs & Engines / Java Sound & OpenAL / Artist metadata from audio file on: 2016-12-05 18:14:52
Is there an existing solution to pull artist metadata from a Java File? I would like to strip the artist name, length of track, etc... from a file, an initial Google search didn't turn up too many good solutions and I figured some of you guys might have an idea. I've only seen Apache Tika, seems like it might work but I wanted to get other opinions first.
30  Java Game APIs & Engines / JInput / Re: Downloading the newest build on: 2016-11-21 21:22:23
Why not use Gradle and then include the dependency from maven?
Pages: [1] 2 3 ... 88
Ecumene (143 views)
2017-09-30 02:57:34

theagentd (207 views)
2017-09-26 18:23:31

cybrmynd (291 views)
2017-08-02 12:28:51

cybrmynd (283 views)
2017-08-02 12:19:43

cybrmynd (293 views)
2017-08-02 12:18:09

Sralse (286 views)
2017-07-25 17:13:48

Archive (953 views)
2017-04-27 17:45:51

buddyBro (1089 views)
2017-04-05 03:38:00

CopyableCougar4 (1655 views)
2017-03-24 15:39:42

theagentd (1421 views)
2017-03-24 15:32:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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‑
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!