Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (526)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
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 ... 23
1  Games Center / WIP games, tools & toy projects / Re: Spade (was Paint.JAVA) on: 2014-11-28 04:53:12
Just had to give you your 300th medal Wink
You earned it!
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-27 17:53:02
I'm having a nice Thanksgiving right about now. Happy Thanksgiving to those that celebrate it!

3  Games Center / Contests / Re: Ludum Dare 31 on: 2014-11-26 22:27:25
FFFFFUUUUUUUUUUUUUUUU
Pick a better time LD officials! I shall wring thee neck if this happens during an important weekend one more time!
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-26 21:20:55
Well I got off my lazy butt and went to get my learners permit. Could've had my license by now, but oh well.
Time to pop the.. clutch?
5  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-11-24 21:40:43
All I have to say about C# is that to me it's Java and so much more. Of course there are upsides to Java, but I fell in LOVE with C# when I first learned it.
6  Game Development / Newbie & Debugging Questions / Re: Why does a triangle have 6 vertices? on: 2014-11-23 03:59:43
You're drunk Jacob, go home. Don't know if you're trolling or what.

If you're not, each of those pairs are an x and a y coordinate.

1  
2  
3  
{ x1, y1,
  x2, y2,
  x3, y3 }
7  Game Development / Newbie & Debugging Questions / Re: Scaling 3D Projection on: 2014-11-22 22:09:08
Excuse me for not being able to read.
8  Discussions / General Discussions / Re: Programmer jokes on: 2014-11-22 19:21:30
Recursion

Just click it. Gotta love Google.
9  Game Development / Newbie & Debugging Questions / Re: Would this be the correct way to make AI? (Idea, no code) on: 2014-11-22 19:12:33
Well for each target I'd have a level of importance. Eg, small drone is 20 away with an importance of 5 or something while big scary mothership is 50 away with an importance of 20. I would write some code that would choose to go to a certain ship if it's more important (range based on level of importance) rather than a less important ship that's closer. Not sure what the algorithm would be, but it shouldn't be too difficult.

10  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-22 03:23:36
Relearning C++... Stumbled upon function pointers. Class member function pointers. *shudders*

1  
2  
3  
4  
5  
6  
IntArray array(3);

void (IntArray::*funcPtr) (int, int);
funcPtr = &IntArray::setAt;

(array.*funcPtr)(0, 4);


IntArray is just a test wrapper class I made.
11  Game Development / Newbie & Debugging Questions / Re: Scaling 3D Projection on: 2014-11-22 02:35:02
Not sure what you mean by the polynomial given, but modern opengl runs off your matrices. You need to pass them into shaders so that GLSL knows how to do shtuff.
Are you not using modern opengl ie 3.x?
12  Game Development / Newbie & Debugging Questions / Re: Scaling 3D Projection on: 2014-11-21 22:44:29
You just have to scale the model matrix for that object.

Creating a scale matrix is easy:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
    public Matrix4f initScale(float x, float y, float z) {
        //@formatter:off
        m[0][0] = x;        m[0][1] = 0;        m[0][2] = 0;        m[0][3] = 0;
        m[1][0] = 0;        m[1][1] = y;        m[1][2] = 0;        m[1][3] = 0;
        m[2][0] = 0;        m[2][1] = 0;        m[2][2] = z;        m[2][3] = 0;
        m[3][0] = 0;        m[3][1] = 0;        m[3][2] = 0;        m[3][3] = 1;
        //@formatter:on

        return this;
    }


and simply also multiply this where you create your model matrix (with the others like position and rotation). Not sure why you're having problems with it.

I'm very rusty. I'm probably making myself look like an idiot.
13  Discussions / General Discussions / Re: General Java Questions on: 2014-11-21 01:53:10
I agree JSON is nice, but coming from an HTML background, I think XML is easier to conceptualize Smiley But that's must me Smiley

CopyableCougar4

The difference between the two is like the difference between C# and Java.
14  Discussions / General Discussions / Re: [Resolved] java jar file rejected by folks at "Demo Derby", need .mov ASAP on: 2014-11-19 21:09:43
Sorry to hear it didn't work out in time.. I know the feeling. Good luck with your future endeavors though!
15  Discussions / General Discussions / Re: java jar file rejected by folks at "Demo Derby", need .mov ASAP on: 2014-11-19 03:26:59
I wouldn't push them to do stuff they don't want... that tends to make judges biased. Why can't you cut it? Would take 5 minutes max.
16  Discussions / General Discussions / Re: java jar file rejected by folks at "Demo Derby", need .mov ASAP on: 2014-11-18 19:14:01
I have a registered copy of fraps. Could record with that, you're using opengl right? I think fraps is capable of detecting any opengl context. Unfortunately I am in class right now, but I will check it out if you want me to when I get home in ~3 hours.
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-18 02:52:45
Had a huge orchestra concert today, with a 9 hour long (I'm not exaggerating) rehearsal. It's 10 and I still have at least 3 hours of ap spanish hw.

And it's only Monday.
18  Discussions / Miscellaneous Topics / Re: How memory works? on: 2014-11-17 03:12:14
My chosen language is Java and I am not changing...

No. One does not simply use one language and one language only. If you really want to learn how to program, become multilingual.
19  Game Development / Newbie & Debugging Questions / Re: Normal mapping issuses on: 2014-11-17 01:17:49
I remember when I was implementing this into my engine and I couldn't get normal mapping working. It wasn't even doing anything to the object at all. So of course I spend over 3 days looking for the problem in the shader only to discover I wasn't actually applying the material  Emo

Classic.
20  Discussions / Miscellaneous Topics / Re: Full Visual Studio for free on: 2014-11-16 23:10:24
I don't mind using VS, in fact I kind of like it. Once I got all of my shortcuts set up plus resharper, I almost like it as much as IntelliJ.
21  Discussions / Miscellaneous Topics / Re: How memory works? on: 2014-11-14 21:12:08
Moral of the story: Variables in programs are memory addresses.

In Java*
In C++/C (and maybe some other languages) you have to tell the program what's a pointer and what isn't. By default it isn't. In Java technically everything is a pointer.

Am I right?

Edit: Hey, 700th post.
22  Discussions / Miscellaneous Topics / Re: The C family, should I dig deeper? on: 2014-11-13 23:27:13
At my highschool they "teach" you C++ first and then Java. Of course my teacher knows nothing about the subject. We use some old ass compiler and book for C++. Obviously I have no problem with it because I've used C++ before, but my classmates are having a really tough time. Imagine a toddler teaching another one to walk. It doesn't work.

School tech education is a joke (at least in high school).
23  Discussions / Miscellaneous Topics / Re: The C family, should I dig deeper? on: 2014-11-13 21:30:00
C? Please. Learn ASM.
24  Game Development / Newbie & Debugging Questions / Re: Ways of keeping track of classes... on: 2014-11-13 02:06:21
I used to use powerpoint to keep track of different code patterns. If I needed to do something like create an actions which I did for my last game, I'd lay out the potential hierarchy then modify it as I went along.
25  Game Development / Newbie & Debugging Questions / Re: Java Game to native HTML5 & JavaScript? on: 2014-11-13 02:03:37
Yeah I'd suggest LibGDX. It does directly export to HTML5. Super easy and useful from my past experiences.
26  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-13 02:02:32
@Agent Here's the latest real crazy stuff in photo manipulation:

<a href="http://www.youtube.com/v/bMeBvrG9Uyo?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/bMeBvrG9Uyo?version=3&amp;hl=en_US&amp;start=</a>

Wow that's nuts.. how did they even do the ao and shadows plus fill in the background?
Also, I'm managing to keep my posts per day just around 1. It was exactly 1 before I posted this. I'm also working on some reflection stuff for water in my engine, I'll post that here when I get it semi working. I am very near mastering "River Flows in You" on guitar as well.
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-12 04:22:42
I literally spent about 20-30 minutes making this to procrastinate homework.

Edit: I just wrote a short script to do this for me. It's actually kind of neat, it automatically provides the input to puush, opens a new tab in chrome through a little plugin I spent about 2 seconds on, and opens up the puush link in the clipboard.



I also started planning out my next game. I haven't worked on a game in over 6 months!
28  Game Development / Newbie & Debugging Questions / Re: lwjgl Exiting my launcher and starting my game on: 2014-11-10 19:03:18
First of all, don't set off to make the greatest game ever. That's putting your hopes too high.

Also, try to actually make the game before working on aesthetics like menus and stuff. However if you really want to do this, I'd take the OOP approach and create a hierarchy of GUI elements, eg, Element -> Button implements Clickable and so on. Creating a GUI library can be a complex and confusing process. I'd just focus on the game.

Also, is there really a need for a 'launcher'? Games like Minecraft and Planetside have these things, but honestly your game most likely just needs a main menu which leads into the actual game. No need to close down and restart. Just use the same context, there's nothing inherently wrong with doing so.
29  Games Center / WIP games, tools & toy projects / Re: Mercury: The Simple 2D Game Library | >> BETA coming soon << on: 2014-11-08 15:36:58
About the experience cap on who can apply: it shouldn't be based on the number of years the person has been programming. While it can give you an idea, this rarely indicates the total amount of skill someone has.
30  Discussions / Miscellaneous Topics / Re: simplifying getter/setter classes on: 2014-11-07 00:28:35
C# has some really nice getter setter stuff going on. If only Java would take a little more from C#... *mumble*operator overloads*mumble*
Pages: [1] 2 3 ... 23
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (73 views)
2014-11-26 15:22:04

toopeicgaming1999 (62 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

SHC (29 views)
2014-11-25 12:00:59

SHC (27 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (27 views)
2014-11-24 19:59:16

trollwarrior1 (40 views)
2014-11-22 12:13:56

xFryIx (78 views)
2014-11-13 12:34:49

digdugdiggy (56 views)
2014-11-12 21:11:50
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

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!