Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (595)
Games in Android Showcase (168)
games submitted by our members
Games in WIP (646)
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 ... 74
1  Discussions / Miscellaneous Topics / Re: Hi! New member here! on: 2015-07-05 12:22:24
Hi Cel
Welcome aboard!
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-07-05 11:44:02
The sun came up at around 4 in the morning (Sweden sucks) and shone right on my window for 8 hours straight. Since our houses are made to stand our -20 degrees winters, they're extremely well-isolated, so my room essentially turned to a greenhouse.
Buy yourself one of these: http://www.amazon.co.uk/Barnes-Textiles-Thermal-Silver-Blackout/dp/B00K5JG9YW
and hang it on the outside of your window, the termal coating facing outwards. This should help.

I live in the same reagion as basil (*wafe*Pointing) and sitting in my basement all day without cloths Wink
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-07-05 11:33:06
All I wanted to do was set the execute flag for a .sh script inside a zip intended for linux users...
Well... use a tar? *runs_for_cover*
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-07-01 13:35:44
Also faking quotes of game review sites might at best make you look shady...
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-27 22:14:33
 Cry
6  Discussions / Miscellaneous Topics / Re: How to Learn Web Development for Java Programmers on: 2015-06-27 14:19:29
In my part of the industry the current must-have expertise in website development is angularJS, JSON and bootstrap...
7  Java Game APIs & Engines / Java 2D / Re: Newbie Tips? on: 2015-06-26 00:05:04
I would suggest to directly go to JavaFX (included in the JDK):
http://gamedevelopment.tutsplus.com/tutorials/introduction-to-javafx-for-game-development--cms-23835
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-16 07:08:19
Today, I should have gone bed instead of programming :
[VID]
This. Was. Just. EPIC!  Cool
9  Discussions / Jobs and Resumes / Re: Hayden Davenport - Video Game Composer for Hire on: 2015-06-10 07:01:26
+1 for Broken Clipboard!
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-08 13:13:36
Maybe its time to tell them.

Go for it!!!
11  Discussions / Miscellaneous Topics / Re: What is your opinion about ... on: 2015-06-01 17:42:40
You can actually do logging breakpoints, evaluating expressions in that log, hold on them conditionally and investigate all frames on the callstack, inspect variables there and evaluate expressions in their context...

Again, nothing against println, but such a powerfull tool like a debugger should not be ignored...
12  Discussions / Miscellaneous Topics / Re: What is your opinion about ... on: 2015-06-01 17:21:51
While all this love for printlns is cute and all. Refusing to utilize a debugger is just short sighted (being polite  Tongue).

It's so much faster to hit a break point and evaluate some expressions in that frame to see whats wrong, than to uglify the code with printlns just to realizing that you miss one and start again...
13  Discussions / Miscellaneous Topics / Re: What to really learn for commercial Java ? on: 2015-06-01 15:39:48
As far as I can see, at least web-applications actually move away from server-side java/.net mvc etc., leaving java as a thin middleware to provide authorization managed rest-apis for delivering json that is handled by client side technologies, being moslty angularjs.
14  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Fast, reliabe & crossplatform Javascript API/Library for Java? (for game dev.) on: 2015-05-27 18:45:58
If you want to use javascript embedded into java, then nashorn and rhino are pretty much your only options. I also don't see any real road blocks regarding java 1.8. You also don't need the Oracle version. OpenJDK should do fine.
15  Discussions / Miscellaneous Topics / Re: What do you define as a programming language? on: 2015-05-01 12:41:42
Good for you, but I'm looking for peoples opinions. Otherwise I would have searched up the answers myself.
So you ask questions that could be answered by searching it up.  But the reason you are asking is not that you are too lazy, but to gather other people opinions. Yet you are rude to everybody answering on your thread... can't see how that works out.

Does this work for you in RL?
16  Java Game APIs & Engines / OpenGL Development / Re: Batch Rendering in GLSL (3D) on: 2015-04-23 09:32:43
Hmm, using instancing and pass this stuff as vertex attributes?
http://ogldev.atspace.co.uk/www/tutorial33/tutorial33.html (random google hit)
17  Java Game APIs & Engines / Engines, Libraries and Tools / Re: [libGDX] Classpath loading fails to work on: 2015-04-22 10:24:44
1  
FileHandle file = Gdx.files.classpath("Levels/easy.data");


Maybe the eclipse exporter does not *.data files as resources? Have you looked into the Levels folder inside of the exported jar?
18  Discussions / General Discussions / Re: Which Smartphone should I choose??? on: 2015-04-08 18:36:49
The reason for the samsung being more expensive is that it has the better processor with better integrated GPU. It is considered middle class while the one in the micromax leans more towards low end,  since it has an older architecture and inferior GPU.
19  Game Development / Newbie & Debugging Questions / Re: Questions about creating a level editor. on: 2015-04-06 17:31:42
I found that Databases provide an organized way to save game data. Would that be a viable option for a small game or should I just stick to text files? I just want something that a player could not easily break or cheat by changing its text.
Organize your gamestate in some kind of model with your dynamic runtime specific objects like renderers and such as transient fields where needed and use xstream to load and store this model as json or xml. This is simple to set up and quite powerful.  If you really need to hide the savegames from your users, you can wrap the in and outputstreams in some kind of obfuscator or encryption later. Trust me, you'll want to have human readable savegames during development.
20  Discussions / General Discussions / Re: Arraylists of arraylist as a representation of relationships/adjacency in graphs on: 2015-03-30 12:22:06
You have a typo in your else if branch:
1  
else if(e1.p2.x == e.p1.x && e1.p2.y == e.p1.y && !adjLists.contains(e1.p1.x) && !adjLists.contains(e1.p1.y))


should probably be
1  
else if(e1.p2.x == e.p1.x && e1.p2.y == e.p1.y && !adjLists.get(j).contains(e1.p1.x) && !adjLists.get(j).contains(e1.p1.y))


Overall it's easier to read and more performant to store adjLists.get(j) into a variable anyway:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
        for(int i=0; i<vertexnum; i++){
            adjLists.add(new ArrayList<Integer>());
        }

        for(int j=0; j<vertexnum; j++) {
            ArrayList<Integer> aList = adjLists.get(j);
            for (Point p : nodes) {
                for (Edge e : edges) {
                    aList.add(e.p1.x);
                    aList.add(e.p1.y);
                    aList.add(0);

                    aList.add(e.p2.x);
                    aList.add(e.p2.y);
                    aList.add(0);
                    for (Point p1 : nodes) {
                        for (Edge e1 : edges) {
                            if (e1.p1.x == e.p1.x && e1.p1.y == e.p1.y && !aList.contains(e1.p2.x) && !aList.contains(e1.p2.y)) {
                                aList.add(e1.p2.x);
                                aList.add(e1.p2.y);
                                aList.add(0);

                            } else if(e1.p2.x == e.p1.x && e1.p2.y == e.p1.y && !aList.contains(e1.p1.x) && !aList.contains(e1.p1.y)){
                                aList.add(e1.p1.x);
                                aList.add(e1.p1.y);
                                aList.add(0);
                            }
                        }
                    }

                }
            }
        }
21  Discussions / Miscellaneous Topics / Re: Python Load Balancing. on: 2015-03-29 12:37:28
Python explodes in flames!
Yeah, I laughed, too, but it's probably FUD.

I have no indepth knowledge about python, but there are things like Zope and CerryPy, which is even used by Netflix, so its safe to assume, that python can handle heavy loads and multiple requests just fine.
 
22  Game Development / Newbie & Debugging Questions / Re: Using a single array for enemy and friendly entities? on: 2015-03-24 19:51:14
ok, so what exactly do you want?

- find all enemy ships for all ships?
- find any enemy ship for all ships?
- find all enemy ships for the currently selected ship?
- find any enemy ship for the currently selected ship?

Edit:
craftms solution is finding all enemies for all ships and offers a codeblock for them to engage in a fight -> this might exaclty be, what you want...
23  Java Game APIs & Engines / Java 2D / Re: vignette shader dons't work on: 2015-03-21 12:30:27
gl_FragCoord is alway the absolute coordinate of the pixel in the frame buffer, hence on the full screen.  You need to pass in the "texture coordinates" from your vertex shader.  See http://www.lighthouse3d.com/tutorials/glsl-core-tutorial/glsl-core-tutorial-texture-coordinates/ for more explanation. It's the same principle, even without applying a texture image.
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-14 14:37:39
Smoke tested my Arduino project: LED Music Visualization Frame:

<a href="http://www.youtube.com/v/emn7pw13G_E?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/emn7pw13G_E?version=3&amp;hl=en_US&amp;start=</a>
25  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-03-06 00:49:23
Space Ship Hygiene Simulator 2057
Smiley

What happens if two guys try to occupy the same bath tube?  Shocked
26  Discussions / General Discussions / Re: jgo on mobile on: 2015-02-23 17:54:02
Any chance for jgo to have the text reflow on mobile? If I zoom so I can read the rest, I have to scroll back and forth every sentence.
+1 from me.  Same resolution.
27  Discussions / Miscellaneous Topics / Re: Netbeans DataObject reference in other DataObject on: 2015-02-22 16:42:24
You'll probably need to anyway if you want to do more with Netbeans RCP.  Cool
28  Game Development / Newbie & Debugging Questions / Re: I'm trying to make a shotgun and this is happening on: 2015-02-22 16:29:58
Has been asked before: http://www.java-gaming.org/topics/bullet-shooting-in-mouse-direction/34029/view.html
Just use vectors right and don't use degrees...

Edit: was a bit quick with my response and missing the point... yeah show more code and mockup the result you want to have in an image editing program. Looking at the provided image, it seems like the angle is reapplied to the bullet each frame!?
29  Discussions / Miscellaneous Topics / Re: Netbeans DataObject reference in other DataObject on: 2015-02-22 16:23:18
Probably better post here: http://forums.netbeans.org/platform-users.html
30  Game Development / Newbie & Debugging Questions / Re: LibGDX Tilemap Null Tiles on: 2015-02-20 20:35:15
1  
map.getLayers().get(1) 

Off-By-One?  Are you sure you don't want get(0) ?
Pages: [1] 2 3 ... 74
 
deepthought (47 views)
2015-06-30 15:39:44

deepthought (50 views)
2015-06-30 15:39:09

deepthought (62 views)
2015-06-30 15:36:52

Za\'Anzabar (36 views)
2015-06-29 05:44:54

TritonDreyja (46 views)
2015-06-24 17:10:40

CopyableCougar4 (46 views)
2015-06-23 00:34:45

BurntPizza (51 views)
2015-06-21 20:36:46

cookiecompiler (93 views)
2015-06-11 15:42:53

cookiecompiler (55 views)
2015-06-11 15:41:14

NegativeZero (79 views)
2015-06-11 09:49:18
How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

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
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!