Java-Gaming.org Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (671)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 6 7 [8] 9 10
 71 
 on: 2016-04-30 10:43:53 
Started by steveyg90 - Last post by LightWyvren
ummm.... unfortunatly, jgo is being a potato, and refusing to show the anti-bot images and audio for the PM.  Cranky So any other way?
Like email? Skype? idk.  Huh  Wink

 72 
 on: 2016-04-30 10:24:34 
Started by BurntPizza - Last post by Coldstream24
@Roquen: I do agree, I also think that it's got to do with the fact that I'm really only drawing a grid until I make some textures to draw on top. I'm gonna do a bit of experimenting.

 73 
 on: 2016-04-30 10:19:06 
Started by BurntPizza - Last post by Roquen
Cubes make the depth hard to "see" (the alignment of top with bottom of adj).  Try changing the height.

 74 
 on: 2016-04-30 10:11:04 
Started by BurntPizza - Last post by Coldstream24
I've tried my hand at isometric projection (and a little bit of pseudo-shading) in Java2D:

I'm as of yet unsure how I'd store textures to render on top.

 75 
 on: 2016-04-30 09:12:04 
Started by steveyg90 - Last post by steveyg90
Indeed I do  Wink

PM me!

 76 
 on: 2016-04-30 08:36:53 
Started by orange451 - Last post by VaTTeRGeR
I still can't open the ingame console ... what about putting it on the F10/11/12 key or something Grin

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
.......................................
... Initializing Rendering Pipeline ...
.......................................
.......... Creating Shaders ...........
......... Setting Up Camera ...........
..... Setting Up Lighting Engine ......
Detected NVIDIA card.
Vendor: nvidia corporation
Renderer: geforce gtx 960/pcie/sse2
....... Initializing resources ........
........ Setting up Game Logic ........
OpenAL initialized.
WARNING: class java.io.IOException when attempting to read image: res/models/bar
rel/RedBarrel_D.png
WARNING: class java.io.IOException when attempting to read image: res/models/ump
/NULL
Done!


You might need some code to seperate stuck phys-objects:

They are making sweet sweet love with that wall.

The tps is low because i spawned some barrels and boxes already.
It would make the game much smoother if you split physics and movement update-rate completely,
there are some jerks now and then, making the movement/looking feel awkward.

Awesome work! Animations, Sound and Graphics work nicely!

 77 
 on: 2016-04-30 08:24:26 
Started by PlainBug - Last post by VaTTeRGeR
The error is resolved now! Seems like it was just the playstore app spazzing around.
I dropped you a mail!

 78 
 on: 2016-04-30 07:06:19 
Started by Ecumene - Last post by Spasi
Here's the run method, which is pretty unimpressive (I really just threw it together with some stuff I found online, it worked for a little while, then the glfwInit started crashing the VM)
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
@Override
public void run() {
    super.run();
    glfwPollEvents();

    glfwSetErrorCallback(errorCallback = new GLFWErrorCallback() {
        @Override
        public void invoke(int error, long description) {
            System.err.println("glerror occurred: " + error);
        }
    });
    if (glfwInit() != GL_TRUE) {
        System.err.println("Error initializing GLFW");
    }
}

You cannot call glfwPollEvents before glfwInit. If glfwSetErrorCallback was above the glfwPollEvents call, you'd see the error.

Also, calling glfwInit and handling the event loop in arbitrary threads is not supported. The design of GLFW is similar to AWT/Swing/JavaFX; event processing must happen in a single thread. See the Threads sample for the correct way to handle multiple windows/threads.

 79 
 on: 2016-04-30 06:41:26 
Started by BurntPizza - Last post by chrislo27
I re-created an old lighting engine of mine, this time optimizing the recursion with a stack. It was so much faster that I accidentally had it running every frame without any noticeable performance decline. Of course, the real (human) performance decline was when I originally used a queue and wondered why there were so many objects waiting...


 80 
 on: 2016-04-30 05:30:57 
Started by offbynull - Last post by offbynull
Hi,

Sorry for the delay. I'm going to try to answer your questions as best I can. I hope this helps ...



> How many routers support any of those 3 protocols? e.g. would that apply to 802.11b or newer models in general?

Nearly all routers support at least one of the 3. It doesn't matter if the router is wired, wireless, or both.

* UPnP-IGD is the most widely supported protocol. It's been around for a very long time, and pretty much every router I've come across seems to support it (except Apple routers).
* NAT-PMP is a newer protocol that's supported by many newer routers (past 3 or 4 years maybe) -- including Apple.
* PCP is the newest protocol that's supported by a few newer routers -- including Apple.





> Would you say I can rely on availability of port mapping enabled routers, or should I setup relay servers (as described in ICE/TURN)?

It depends. Don't expect things to work 100% of the time...

* you may be blocked by firewalls that are beyond your control -- e.g. even though you tell your router to open up a certain port, your ISP may still block you
* ancient routers may have quirks that cause them to lose mappings or behave bizarrely
* some routers may disable these protocols by default for security reasons, or require authentication (which I don't support yet)

You can try port mapping. If that fails, you can fallback to relay servers. Hole punching may also be an option.




> How have you tested that your library works as expected? I see you have unit and integration tests, have they been tested on real routers? If yes, please list on which ones.

I have an Apple Airport router and a few other cheap routers that I test against. I also test against miniupnpd (miniupnpd is a port mapping server used by lots of routers -- supports all 3 protocols). I've also written a small app on my phone that uses the library to map ports every time I make a new WiFi connection.

Pages: 1 ... 6 7 [8] 9 10
 
IanParcs (44 views)
2016-04-18 14:18:53

KaiHH (43 views)
2016-04-18 08:35:41

KaiHH (74 views)
2016-04-15 12:43:58

theagentd (75 views)
2016-04-14 02:16:17

theagentd (89 views)
2016-04-14 02:15:43

IanParcs (103 views)
2016-04-12 03:51:16

IanParcs (46 views)
2016-04-12 03:50:03

IanParcs (42 views)
2016-04-12 03:49:54

IanParcs (37 views)
2016-04-12 03:49:52

IanParcs (47 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30
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!