Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 02 Jul 2006
Offline Last Active May 14 2015 03:28 AM

#5198816 Where should I start learning game development?

Posted by The_Neverending_Loop on 17 December 2014 - 12:57 PM

I would personally recommend starting from the ground up and just basically try to make a bunch of crappy but simple tech demos.  Like rendering a cube on screen, texturing it, controlling an object with a keyboard, parsing a 3D mesh file and rendering on screen etc... etc...  I feel it would help you get a good understand of what is going on behind the scene before you just directly into Unity 3D.  Whichever route you decide to choose start simple first.

#4973054 sphere line time of collision

Posted by The_Neverending_Loop on 24 August 2012 - 11:46 AM

Check this link out.


Treat your line and a ray, if there is collision then check the boundary conditions of your line to make sure it actually collided. Once you get the distance between the two, you just divide by the velocity the sphere is traveling and you should have you'r time. Hope this helps.

#4972737 Image/Animation Loading

Posted by The_Neverending_Loop on 23 August 2012 - 02:43 PM

You could do it that way, but I believe if you load a sprite sheet instead and and just render certain parts of the sprite sheets (in reference to its current animation), you should see some performance increase.

Unless you plan on the user themselves running the game from console (i.e you tell them to go type in java myGame) then there really shoudln't be an issue, you can obscure (hide) those parameters from the user in many ways, so they basically just click on something to run the game, you might want to look at packaging it all into a jar and looking up making executable jar files. That can be an alternative.

EDIT!!! I just noticed you wrote that the background image is a 11000 px x 6000 px, at first i understood this as a 1100 x 600 px. this is going to take a HUGE chunk of memory and i dont recommend directly loading it, split this image into many pieces and load one up at a time. Even though the image is PNG and depending how you are doing things this image can take up to 264megabytes of DATA!!!.

#4972260 Thread Safe Buffer Filling/Draining

Posted by The_Neverending_Loop on 22 August 2012 - 10:30 AM

Thanks Krippy thanks actually what I ended up doing last night, I just decided to use vectors with audio chunks (since vectors are already thread safe), and everything seems to be working well so far.

#4969907 File IO

Posted by The_Neverending_Loop on 15 August 2012 - 12:56 PM

are you by anychance editing the file after the first read?, just a hunch but maybe you are accidently editing the file after the first read, and when you try to read again it doesn't exactly follow the format it was just in, which would explain why you can run the program once fine, but then running the same program again will give you a null error until you manually go change the file.

Again just a hunch :-/

#4942591 Java RPG Item system

Posted by The_Neverending_Loop on 23 May 2012 - 09:31 AM

It also depends on how frequently your accessing your data, if you have a hundred items that are only iterated thru once in a while like when the character is looking thru inventory then you have nothing to worry about. Now if that array is being accessed constantly lets say every render call for whatever reason then you might want to look at an alternate approach but even then depending on the actions preformed on the array it might not be an issue.

Like people previously said in this thread it all depends on what you need and what your doing so we would need more details.

#4843791 Remember 'tighten up the graphics' ?

Posted by The_Neverending_Loop on 02 August 2011 - 03:58 PM

America's Army 3.

ctrl-f, "amber"

She must be really upset for not being credited...

that lieing f'ing s!ut....... lol that just makes the video even funnier in my eyes

#4841656 What's the largest number you can come up with?

Posted by The_Neverending_Loop on 28 July 2011 - 09:33 AM


#4841272 Creating an image using formulas

Posted by The_Neverending_Loop on 27 July 2011 - 01:58 PM

I created something very similair to this a few years back, The way I did it was only using Lines tho,

Approximate your circles and curves with lines, the higher resolution = more lines.

Simplifying everything to lines is going to GREATLY simplify your code and application robustness, and then let Linear/Vector Algebra take it from there

#4840613 [java] Java Printer Driver

Posted by The_Neverending_Loop on 26 July 2011 - 10:13 AM

I honestly dont know anything about this specific subject, but....... you might want to look at it in a more abstract level, instead of focusing on finding how to do it in java, find out how to do it in general in any language, as I'am guessing it has more to do with how the printer communicates, when you understand that, then maybe you will have a more clear cut answer, on how to do it in java.

Its kinda like if you asked how to create an XML parser in java, you first have to understand the XML language, and then once you got that down pact then making it in java is trivial as its actually just reading a text file, the work would come in with you programming the routines to recognize the syntax of the text(XML) file. and those are my 2 cents.

#4838624 Post pictures of YUO!

Posted by The_Neverending_Loop on 21 July 2011 - 02:24 PM

Ummm...... heres a picture of me.......................

Posted Image............................................

and szecs you are such a ladies man, I wish I could get to your level one day Posted Image

#4837792 My friend is starting to like Java (help!)

Posted by The_Neverending_Loop on 19 July 2011 - 10:45 PM

Another comment, honestly all this "Language X > Language Y" is stupid, its all a matter of opinion and preference, whatever gets the job done is a GREAT language, and all these languages can essentially get the same things done, so its all about what you need. Same way I prefer to work in java, in the same instance I might not use it to get Task X done, because C++ Might be better, and visa versa sometimes java or C sharp is better for the job then C++,

I remember a LONG time ago I was creating a game in C++ and I had to build some simple tools for the game, guess what language i DIDNT use in that situation, C++, even tho thats what I was building the game in, I knew I could get the same job done much quicker in Java, so thats what I build all my tools with, while the game was actually in C++.

and with all that said Iam going to leave with on possibly controversial statement....
Objective C >> All

#4837788 My friend is starting to like Java (help!)

Posted by The_Neverending_Loop on 19 July 2011 - 10:37 PM

Iam sorry but I just have to stand up for Java here, I <3 Java its my favorite language, Iam a .NET C# developer at work, but I much prefer to work on my own Java based projects, I dont know why but I just find coding in Java more enjoyable.

Why do you like Java better than C#? I'm not disputing your choice, but I'd be interested to know the reasons behind it.

Ill be the first one to admit that C# has things which Java doesn't come with naturally w/o some third party library and even then C# can do things that I just dont think would be possible in Java (in the way you program, not in producing the said programs they can both build essentially the same thing), and some of these things I find in C # very usefull that I would of really liked to see natively in Java. Also C# works really well if the technologies its intended to work with, such as the whole .NET platform, and in my opinion better (in general) in the business world then Java EE.

Now with that said... Honestly in my humble opinion, C# and all the technologies it comes with tries to hold my hand WAYYYY too much. This might be great for people who don't feel to comfortable behind the wheel, I've heard horror stories of college students taking the Java EE route and having nightmares trying to set up a Java Servlet/JSP Web application, while for everyone using the .NET platform has the simplest time.

and with all the hand holding and some of the higher level programing stuff, I feel like people can miss out on understanding some very important fundamental concepts in the rudimentary architecture of their applications, and I know what Iam doing so I would like to essentially be able to shoot my self in the foot if I feel like it, I dont want C Sharp putting the blanks in the gun for me because they are worried I dont know how to operate it. That and I just prefer how Java was designed overall, and its mobility.

These last statements are by no means me saying C sharp is a bad language, in fact its great! But honestly Id prefer to do my own hobbyist projects with Java.

#4835717 out with the new in with the newer

Posted by The_Neverending_Loop on 15 July 2011 - 10:52 AM

Iam all for the rate down too, as long as it was not abused, like If i saw someones post was rated down because someone stated a perfectly valid opinion that was different then someones else, I would rate up the post that got rated down to balance it, but sometimes people should know that their post wasn't well warrented because maybe they'll take a second look at what they are saying.

On that note, I think the reason websties like facebooks only allow you to "Like" something is because, so many people post B.S on it that if they got constantly rated down they'd be turned off and scared to use it, hence bad stratedgy for facebook. I have alot of friends who voice some really stupid things on facebook, to the point where I deleted my facebook for a good number of months so I didnt go down a few IQ points everytime I read my news feed. Maybe a few dislikes here and there on facebook would prevent some of the stupidity from spreading.

But honestly I think the general population just likes the dumbest things..... I got one friend who would post about interesting real world issues that deal with politics and technology, 0 Likes, 0 Comments, I have one friend who talks about how stressed she about what to wear tonight, 10 likes, 29 comments........ somethings wrong there.....

Anyhow enough of my rant, Dislike this post if you want, I'd like to see you try.... 8-) lol j.k

#4835696 out with the new in with the newer

Posted by The_Neverending_Loop on 15 July 2011 - 09:53 AM

Because it looks more like facebook this way, right? Posted Image

ahh, so now i can seamlessly switch between FaceBook and GameDev.net

Aww... Posted Image I liked being able not to like...

in some instances, yes i did like to not like a post.

You'd like to not like what I liked to like?