Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (563)
Games in Android Showcase (151)
games submitted by our members
Games in WIP (605)
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 ... 76
1  Game Development / Newbie & Debugging Questions / Re: Using a single array for enemy and friendly entities? on: 2015-03-24 19:36:37
Alright, so what exactly is the issue? It seems like your code should work fine.

Edit:
Sorry, I just read the part where you say what your issue is. I'll edit this post if I figure out what's wrong!

I can't tell without seeing the rest of your code, but are your variables "TargetShip" and "Faction" static?
2  Game Development / Newbie & Debugging Questions / Re: Using a single array for enemy and friendly entities? on: 2015-03-24 19:31:02
Maybe you could store a boolean in the Ship class to determine whether it is an enemy or not?

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
public class Ship {
   
   private boolean isEnemy;

   public Ship(boolean isEnemy) {
      this.isEnemy = isEnemy;
   }

   public boolean isEnemy() {
      return isEnemy;
   }
}


(Pardon my bad formatting, that was written in my text editor.)

Or do what craftm outlined!
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-23 02:55:26
Bought my first car, a 1999 Plymouth Breeze with around 100k miles for the low price of $2,000! Now I just have to find insurance for it. Can't wait to be raped financially by insurance companies. Being a teenage boy definitely has it's drawbacks sometimes...
4  Discussions / Community & Volunteer Projects / Re: Starting a team (Music Composer, Developer, 3d designer, and writer needed) on: 2015-03-17 14:28:19
Then why not create an enticing first post? Link all your previous work there, link some YouTube videos (or other video hosting service), state your plan and outline for your game etc... People come into your thread and see yet another person with an "engine" who wants free labor. Take the time to build a good opening post complete with everything a person would need to get to know your project. You, the employer, are advertising your work. You are hoping that someone will see your project, and want to help you. So why would you add the extra step of making your potential employee drag all that information about your project out of you? Why not just include that in your initial post? If you would have just presented all the information in a clean and organized manor in your first post, this would all have never happened. Forcing a potential employee to seek out information about YOUR project is a death sentence for your endeavor.

Not to mention your demo literally is just two objects. No offense, but what does that show anyone? Create a game plan. Design the basics of a level, create a rough draft of the game mechanics. As it currently stands, you have a car and a building and a "camera". Well... alright... some 12 year olds on this forum could do that (again, not trying to be offensive), so you need to show something more. You NEED to show a demo of your GAME, not your engine.

Being an employer requires you to learn how to advertise things. It seems you don't know how to do that, and on top of that you are just kind of rude. Calling people names is not professional, and is an instant red flag to anyone who might want to work with you. Learn how to take criticism and advice, and learn to know when you need to re-do your plan.
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-17 14:19:57
Renewed my temporary permit so I can take my driving test in 10 days and get my drivers license! I've also continued to learn more about the libraries and things I need to know for my internship, including JUnit and Tomcat. Not the most interesting, but also kind of fun to learn all the little support libraries that you can use.

I've also discovered I do NOT like front end web development. It's just not fun to me at all!
6  Discussions / Community & Volunteer Projects / Re: Starting a team (Music Composer, Developer, 3d designer, and writer needed) on: 2015-03-17 14:07:45
Quote
1: Communities "HELP" eachother.

Exactly. So, ask yourself, what are you giving back to the community? Or are you just trying to find some free labor? Communities aren't here for people to come use other people for their dream projects. Communities are here for people to come seek advice and information about their issues. Stealing labor isn't helping anyone besides yourself. I would say that's greed.
7  Discussions / Community & Volunteer Projects / Re: Starting a team (Music Composer, Developer, 3d designer, and writer needed) on: 2015-03-17 14:02:29
You're missing the entire point of what everyone is saying because you didn't get what you wanted. If you would listen instead of trying desperately to not change anything about your initial request, then you would see that most of us are trying to help you out and tell you that the way you are doing things right now is not going to get you anywhere. NO ONE wants to work for free. NO ONE will come work for you without a portfolio of their potential employer to be present, NO ONE wants to work on a project which has no design documents, or plan. What you gave us is this, basically:

I have an engine, I want to make a game. I need free labor, you have to be this old, and you must do this.

Now, if you would step back a minute and calm down you would understand that your "plan" is exactly the opposite of that; you don't have a plan. Or, you have no presented us with a plan.

Come back with a solid goal, a portfolio, a demo, and compensation, and then you might have a chance for a team to work out. Currently, as it stands, you will not be getting anywhere. Especially not calling everyone in this forum a smartass because you didn't get what you wanted.
8  Game Development / Newbie & Debugging Questions / Re: Where to start for something like this on: 2015-03-13 16:16:38
Without looking at the link you provided, I can already see your problem.

Don't get stuck on the details, just make the game. Do you want it to be procedurally generated, or hand drawn? Pick one, and go with it. Both will provide a great learning experience, but you will never learn anything if you don't commit to one or the other and just do it. Whatever you think it is, just go with it. Other people's opinions matter, but in the end it's up to you to actually decide and create it. So why wait for other people to respond (if they even do)? Just go make it, do whatever you see fit!
9  Game Development / Newbie & Debugging Questions / Re: 2d libgdx - drawing only what camera sees on: 2015-03-06 15:20:45
Yes, you could use the setColor function in the SpriteBatch. I believe there is also a 'setTint' function, but I don't know how they are different. Do you want the lighting to have a smooth transition over the edges of tiles, or do you want a more "blocky" tile by tile lighting? (think early Minecraft, that's the only comparison I can think of).
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-06 14:31:41
I've been learning about all kinds of build and unit test tools because of an internship where my uncle works that I am hoping to get. I never realized how little of Cradle documentation exists! Or more the lack of complete tutorials and getting started guides. Also have to learn about JMeter and another unit test tool that I forgot the name of. And I'm still building my personal about me site (I am definitely not a designer)!

Learning is fun, I just wish I had time to mess around in code.
11  Discussions / General Discussions / Re: GDC 2015 - various stuff on: 2015-03-06 14:20:39
I would love to have a computer that could actually run that kite demo smoothly. Damn, that looks really nice!
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-05 04:35:09
I think the bottom button fits more with your "theme". I like it!
13  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-05 04:24:47
It needs something else, maybe some kind of lighting on the actual button? Or maybe use a bolder version of the font? Maybe you could try changing the background color of the button to a dark maroon-ish purple or another very dark color.
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-03 04:03:11
I bought a used Macbook a couple weeks ago which came with 2GB of RAM, which was definitely not enough! So last week I purchased 4GB of RAM, and now it runs so much better. Also am building a resume site for myself to brush up on my web development skills and to prepare myself for my (hopefully) future programming internship at my uncle's work doing backend work.
15  Games Center / Cube World Projects / Re: Technetium - A realistic voxel game on: 2015-03-02 15:08:23
Your team name really threw me off there for a second. Maybe you should consider a name change, the popular Minecraft mod pack (mod? can't remember) Technic is likely to confuse people and think that the people who made the Technic pack are now making a voxel game.
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-27 21:29:43
Opiop, you ARE a real game developer.

On the subject of design documents, my worst work in my enterprise environment has always started with a fat design document, maybe even written by me. The more effort spent on the design document, the worse the end result.

My best work has been seat-of-pants stuff where I code in a frenzy of intuition, racing to finish the project before management notice and stops me.
Thank you!

I haven't had a programming job, so I wouldn't know how it all works but I know that I'm terrible at finishing projects without planning EVERYTHING first. In fact, my track record reflects that, I've finished 0 games (besides maybe Pong or small clones like that). Filling out this document sort of makes me realize what I need to do, and where to allocate my time and resources. I'm excited to get to work!
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-27 18:24:46
I was joking guys, see the winky face at the end? I don't literally mean I'm a real game developer now.
18  Java Game APIs & Engines / Engines, Libraries and Tools / Re: LibGdX - modifying Sprites and Animating them on: 2015-02-27 16:05:11
Folks over at LibGdx said that it is expected behavior as Sprite extends TextureRegion. So the correct way of drawing is sprite.draw();
Correct, from what I understand the SpriteBatch draw methods are only called when you want to draw just a texture. If you are working with the Sprite class, or any other class that has a draw method, you shouldn't handle the drawing yourself.
19  Discussions / General Discussions / Re: where can i get better at java? on: 2015-02-27 16:03:31
That was more directed at the beginning developers who are creating simple clones of PacMan or the such. Personally, I've learned a lot about Java from game development, but most of my early knowledge came from messing around with non-game programs.

But to each their own! Maybe you will learn more about Java from game development Smiley
20  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-27 15:58:29
Started planning out a new game today. I've made a commitment to myself that I will actually get this one done, and that I will do it right this time. So I Googled "game design document template", grabbed a nice looking one, and am currently filing it out. One hour later and I'm almost half way done! I've actually never took this much time to plan out a game before, and I'm excited that I'm finally trying it the right way to plan everything out beforehand.

So this is how it feels to be a real game developer, huh? Wink (That was sarcasm)

Edit:
Clarified my sarcasm Tongue
21  Discussions / General Discussions / Re: where can i get better at java? on: 2015-02-27 15:54:09
Making games won't teach you much about Java besides the basics. If you actually want to learn Java, create some programs that requires other parts of the language. If you really are just starting out, I would say go make some basic programs. Make a simple command line chat program, make an advanced calculator with Swing. Make programs that you would find useful. Back in 10th grade, I was in honors statistics and we had a homework assignment that required the use of an equation. Now, me being the lazy person I am, I created a basic program in Java that would allow me to plug in some variables, and the computer would solve the equation for me. My hour long homework assignment suddenly only took 10 minutes!
22  Games Center / nK Game Competition - 2015 / Re: Java4K framework WIP on: 2015-02-26 15:07:05
Very cool, thanks for this. Might try my hand at a "4K" game soon!
23  Games Center / WIP games, tools & toy projects / Re: Horizon (Freeroam MMORPG) WIP on: 2015-02-25 19:26:54
I think what the other posters are saying is that you are focusing too much on the "optimization", and less time actually creating a game that would be enjoyable to play. Sure, it's just a hobby and a little side project, that's fine. But you posted it here, and people are just chiming in with their opinions.

Like what Heroes said, I think you are focusing too much on the details and you will eventually burn yourself out. Flesh out your mechanics, write a lot of code and then go back and see what doesn't work/what needs to be optimized. You're prematurely optimizing, which is a great way to make yourself go crazy. Throw some features in, release a demo and see what people like. No one is going to notice the 5 FPS difference resulting from the week long optimization run you did, but they will notice that cool new mechanic, or that professional looking art.

I'm not trying to discourage you from programming your game the way you want, I'm just trying to offer you some advice and hopefully help!
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-24 16:38:44
Played at a Battle of the Bands at The Agora in Cleveland. Technically it was two days ago, but oh well!
25  Discussions / General Discussions / Re: jgo on mobile on: 2015-02-24 04:35:54
Also have this problem on my phone (Nexus 5) running Chrome. I've sort of become accustomed to scrolling back and forth to read text, but a more mobile friendly version would be very welcome!
26  Games Center / WIP games, tools & toy projects / Re: The Island on: 2015-02-20 03:10:29
Someone is extremely proud they are from Russia... Looks cool but that "air" texture is strange looking. I would just use a one color texture, it would look a lot cleaner.
27  Discussions / General Discussions / Re: Paint.NET alternative for OSX on: 2015-02-18 03:48:14
Oh, I had forgotten about that program! Thanks for the recommendation, I'll try it out.
28  Game Development / Networking & Multiplayer / Re: Managing when the server should send which data on: 2015-02-18 02:59:14
1.) The client should request the map data when it needs it. The server is dumb, it only responds to requests from the clients. The client should have a file that should save the state of the world and tell the client whether or not it needs to request new data from the server.

2.) Similar to what Edgu said, use a queue based system for your packet handler that processes packets in a first in, last out approach. You can find out what kind of packet each one is in the queue by using the instanceof operator, and then acting upon the result.

Think about networking as if it's dumb. Everything is a response to something else. Player breaks object, client sends packet to server to notify the other clients. Server sends packet to other clients. Clients receive packets and process them. Rinse and repeat. Networking is complicated, but just break it down into simple response based problems, and you will be good!

Quick edit because you just posted:
If you are trying to make a game, I wouldn't try to roll your own networking library! Use something like Kryonet or net (never used it, but I'm starting to see it used more) because they are optimized, feature rich libraries that are made by people that have been working on them for years. If you are just messing around and not trying to make a game, then go for it, but I would strongly advise against trying to make one yourself if you are actually setting out to make a game.
29  Discussions / General Discussions / Re: Paint.NET alternative for OSX on: 2015-02-18 02:49:02
I've used GIMP before, it's a good powerful program, but I was looking for something simpler with an easier UI like PDN. If that's the only good free alternative then I will have to take a look at it again, but I was hoping I could find something else.

Thanks for the fast reply though!
30  Discussions / General Discussions / Paint.NET alternative for OSX on: 2015-02-18 02:46:30
Last week I bought a new (used) Macbook and discovered there is a lack of a basic image editor. I use Paint.NET for Windows because it is free and fairly simple to use, I generally use it for low resolution pixel art. Is there a free alternative for Mac? I've tried Paint 2, but you need to pay to get the full features of the program and I was wondering what everyone else uses!
Pages: [1] 2 3 ... 76
 
wxwsk8er (49 views)
2015-03-20 15:39:46

Fairy Tailz (42 views)
2015-03-15 21:52:20

Olo (26 views)
2015-03-13 17:51:59

Olo (29 views)
2015-03-13 17:50:51

Olo (33 views)
2015-03-13 17:50:16

Olo (40 views)
2015-03-13 17:47:07

ClaasJG (29 views)
2015-03-10 11:36:42

ClaasJG (37 views)
2015-03-10 11:33:01

Pippogeek (45 views)
2015-03-05 14:36:23

Pippogeek (37 views)
2015-03-05 13:56:12
How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27
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!