Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 8 9 [10] 11
  ignore  |  Print  
  Daedalus - no escape  (Read 60046 times)
0 Members and 2 Guests are viewing this topic.
Offline BurntPizza
« Reply #270 - Posted 2014-06-30 21:00:06 »

@Herjan
Polish it if needed and put it on github; sounds like good stuff if a of of people are asking it, plus that kind of thing can be good resume/portfolio material.
Offline deathpat
« Reply #271 - Posted 2014-07-14 20:42:59 »

@Herjan : indeed it's a bit to late for me, but i'd be glad to have a look at your code if you have it somewhere Wink
Otherwise for the float based aspect, from the tests I've done, there was clearly differences when running the same simulation on different computers.

For example, when firing the bounce baby in my game ( so with bullets that bounces on the walls .. ) on the angle of a wall, depending on the computer the bullet can bounce in one direction or another. It's easy to understand that two computers running the simulation at two different frame rates can only have differences from very small ones to obvious ones.

EDIT: by the way I just uploaded a new version of the demo with bugfixes and new net layer based on UDP ... if you guys want to try it out Wink
http://daedalus-thegame.com/download.php

work in progress : D A E D A L U S
Online Herjan
« Reply #272 - Posted 2014-07-15 09:35:21 »

Actually, (after a lot of testing) the float based crap killed it. At first it works fine, but sooner or later it got out of sync anyway (with multiple devices).
I did all kinds of NASTY tricks to avoid the float based crap, I only executed steps with a delta of 1/60 (this alone already counters the frame rate thing you spoke of) and I attempted to kill the float difference by multiplying velocities/positions by 1000, making an integer of them, and divide it by a thousand again, but even if I only used small forces (or do even more really nasty tricks like checking how big the velocity is, and based on that do some multiplying/dividing), it gets out of sync after a certain amount of collision happens.

I also wanted to keep track of the game with my server (kills etc.), so you need to simulate the game anyway. And I found out that just sending positions etc. eats less bandwidth (on both sides) than sending inputs does.
Its better to just send positions etc. from the simulating server to the client so you are 100% sure each client is synchronized. Another problem were joining players, I did send all input from the beginning of the game to the player, so the client could update the game to the current state, you probably can imagine how much that is if the game is already going on for 10 minutes ... (And then I haven't even spoken of simulating the 10 minutes)

It was just not worth it, so many nasty tricks, ugly code (and processor overheating Wink) to just get them synced on inputs, and it turned out to be worse for both sides.
It was an interesting time occupation though, I learned so much. Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline LiquidNitrogen
« Reply #273 - Posted 2014-07-15 10:06:26 »

I can only see the floor Sad even if i turn off all the graphics options.

Offline deathpat
« Reply #274 - Posted 2014-07-15 10:13:23 »

@Herjan: ok, that's too bad, but I'm not really surprised from the tests I've done myself Smiley

I can only see the floor Sad even if i turn off all the graphics options.

oh cool, a bug! Smiley Can you post a screenshot please and tell me about your hardware and OS ?
Thanks Wink

work in progress : D A E D A L U S
Offline LiquidNitrogen
« Reply #275 - Posted 2014-07-15 10:42:15 »

this one is with most of the graphics options turned off
https://www.dropbox.com/s/qzwv9l067ztjk3j/daedalus1.png


this one is with default settings, appart from screen size.
https://www.dropbox.com/s/c9udaemxzvrxje7/daedalus2.png


it looks like the line of sight is occluding all the objects perhaps? i could see the bots lights.

windows 7, looks like the graphics in the laptop is intel HD graphics 3000.

Offline deathpat
« Reply #276 - Posted 2014-07-15 10:53:26 »

ok thanks, the issue here is the stencil buffer that is not working. I use the stencil for all the shadows, for the fog of war, and also to draw the background. That's why without stencil the game lokks like this Smiley
I already had one guy reporting me the issue and I've found this on the net at the time:
https://communities.intel.com/thread/30834

I did an attempt of a fix but obviously it doesn't work, so maybe Intel haven't fixed this, on my side I don't have a clue about what I can do.
Have you tried to use the stencil buffer yourself on your game maybe ?

Next week I will have access to a machine with a Intel HD GPU, so I may be able to find a solution, but I'm kind of pessimistic Sad

EDIT: by the way, do you have the latest drivers for your GPU ?

work in progress : D A E D A L U S
Offline LiquidNitrogen
« Reply #277 - Posted 2014-07-15 11:13:23 »

I just tried updating the drivers but the intel driver updater said its custom driver and it cant fix it. so ugh dunno.

I havn't tried using stencil buffer, just an fbo for lighting and depth buffer for culling hidden areas.

Offline deathpat
« Reply #278 - Posted 2014-07-15 12:29:42 »

ok so I've got another possible fix, just uploaded it here:
http://daedalus-thegame.com/tmp/daedalus-windows32-0.8.14demo.zip

Basically what I'm doing is just creating the GL context with a stencil buffer even if I don't use it (I use the stencil only on FBOs and not on the main buffer).
I've read it here but the issue is not exactly the same so not sure that this will change anything: https://communities.intel.com/message/182032#182032

Can you please give it a try ?

work in progress : D A E D A L U S
Offline LiquidNitrogen
« Reply #279 - Posted 2014-07-15 12:45:48 »

I'm currently asleep so will try in the morning

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline deathpat
« Reply #280 - Posted 2014-07-15 13:07:46 »

ahah no pb, it seems that we're not in the same timezone Smiley (it's 3PM here in France). Good night Wink

work in progress : D A E D A L U S
Offline LiquidNitrogen
« Reply #281 - Posted 2014-07-15 23:44:39 »

I tried it with several different graphics options but still the same result.

Offline deathpat
« Reply #282 - Posted 2014-07-16 00:04:09 »

ok, thanks for trying Wink So I officially have no way to fix this now .. I will still make some tests next week but my hopes are quite low.

work in progress : D A E D A L U S
Offline LiquidNitrogen
« Reply #283 - Posted 2014-07-16 00:07:05 »

should i try harder to find a driver update, or leave it for now incase theres something else to test? it will try it on the other laptop which is the same but has a proper graphics card in it.

Offline deathpat
« Reply #284 - Posted 2014-07-16 00:21:49 »

If you can update your drivers, it would be great to confirm that the issue has been fixed or not on Intel side. On my side I think I already tested all I could.

I posted a comment on the intel bug report side just in case ...
https://communities.intel.com/thread/30834

work in progress : D A E D A L U S
Offline LiquidNitrogen
« Reply #285 - Posted 2014-07-16 01:09:11 »

intel graphics in the other laptop didnt work either. After messing around with configuring switchable graphics the ati card makes it work. Very nice atmosphere Cheesy looks like it would get pretty intense playing against other humans. It's too bad this type of game doesnt give a sense of fear of death to go with the grim atmosphere, it doesnt really feel like it matters if you die. perhaps you could experiment with a "last man standing" mode where if your skill level lets you down and you make a fatal mistake there is no room for error.

Offline deathpat
« Reply #286 - Posted 2014-07-16 15:59:45 »

intel graphics in the other laptop didnt work either. After messing around with configuring switchable graphics the ati card makes it work. Very nice atmosphere Cheesy looks like it would get pretty intense playing against other humans. It's too bad this type of game doesnt give a sense of fear of death to go with the grim atmosphere, it doesnt really feel like it matters if you die. perhaps you could experiment with a "last man standing" mode where if your skill level lets you down and you make a fatal mistake there is no room for error.

yes a last man standing mode is indeed in my mind already Smiley I'll try to put this up before the release.
For the intel related issue, I got an answer not very useful :
https://communities.intel.com/message/243089#243089

in case you still want to try to install the latest drivers, here they are Smiley

work in progress : D A E D A L U S
Offline LiquidNitrogen
« Reply #287 - Posted 2014-07-16 23:00:06 »

Thanks, I installed the driver from the bottom of that page and it works properly now Cheesy

Offline deathpat
« Reply #288 - Posted 2014-07-17 01:04:21 »

Thanks, I installed the driver from the bottom of that page and it works properly now Cheesy

Cool that's great news! thanks for testing Wink

work in progress : D A E D A L U S
Offline jrenner
« Reply #289 - Posted 2014-07-17 03:40:07 »

Just played this for the first time. Really nice game! the default mode gave me a bit of headache, so I switched to classic. But I think I play better in headache mode.
Offline deathpat
« Reply #290 - Posted 2014-09-19 14:36:36 »

Hey JGO !

just passing by to give some news, Daedalus will be available on Steam on 28th of october !
Here is the store page:
http://store.steampowered.com/app/315830

And there comes the latest (and certainly last Smiley ) trailer:
<a href="http://www.youtube.com/v/eB6qkobjRdQ?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/eB6qkobjRdQ?version=3&amp;hl=en_US&amp;start=</a>

cheers,
deathpat.

work in progress : D A E D A L U S
Offline princec

JGO Kernel


Medals: 390
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #291 - Posted 2014-09-19 16:00:57 »

Jolly well done Smiley Consider dropping a buck on the Patreon to support the SteamPuppy library if the launch goes well!

Cas Smiley

Offline Longarmx
« Reply #292 - Posted 2014-09-19 23:25:53 »

It's finally coming!

Offline ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #293 - Posted 2014-09-20 06:50:51 »

I'm definitely buying it! Excellent job deathpat, you've come a long way since your first post over 2.5 years ago!

Offline deathpat
« Reply #294 - Posted 2014-09-21 15:53:28 »

@prinsec: sure I will Wink

@Longarmx: hell yeah !

@ra4king: cool a client ! thanks Wink Indeed I'm pretty happy with the result, I never thought it would take so long to get there .. but now it's done (almost) Smiley There are a lot of things I would like to add but I have to say stop at some point otherwise it will never be finished Cheesy

work in progress : D A E D A L U S
Offline deathpat
« Reply #295 - Posted 2014-09-26 01:17:58 »

wooohoooo, I just discovered a small library called weupnp:

http://bitletorg.github.io/weupnp/

This small thing can open and forward ports on routers compatible with the upnp protocol.
I quickly integrated it into Daedalus, and it seems to work very well. Now it will be easier for players to host their own server without having to worry about ports Smiley

Just wanted to share even if I've found another entry on the forum talking about this:
http://www.java-gaming.org/topics/how-do-you-configure-a-router-with-java-to-make-it/32625/msg/305555/view.html#msg305555

work in progress : D A E D A L U S
Offline deathpat
« Reply #296 - Posted 2014-09-27 16:00:58 »

hey,

I'm searching for some people to test the game on steam before release. The goal is mainly to find remaining bugs, but if you have suggestions, they are welcome ( even if I don't plan to change major things before release ).

I would like people who already like the game, so that they will play it as much as possible, so if you don't really like Daedalus please don't apply Smiley Also I would prefer people located in europe as I intend to organize a multiplayer session at some point.

If you're interested please answer "wappapeleway" to this thread, and I will send you a steam key via PM Smiley
I will also need to know your system specs (GPU, CPU, memory, nb of screens and OS version)

What I expect from you is to just install the game, play with it and also with the editor, and to report back to me if you encounter issues/bugs/crashes. That's all Smiley

Let's limit this to the first 10 people answering for now.

There is no server up yet, so you will only be able to play single player ( or multi if you launch your server and you're lucky enough to have other people joining Smiley )

cheers

work in progress : D A E D A L U S
Offline Longarmx
« Reply #297 - Posted 2014-09-27 16:36:02 »

wappapeleway

Although I don't live in Europe, I would love to test this game!

System specs:
ASUS GTX 660 2GB OC @ 1084 MHz
Intel i7 3770 @ 3.4 GHz
16 GB DDR3 RAM
2 Monitors (ASUS VS Series VS247H-P)
Windows 7 Home Premium 64-bit

Offline deathpat
« Reply #298 - Posted 2014-09-27 22:31:48 »

@Longarmx: PM sent, thanks for your help!

Come on people, don't be shy! Cheesy

work in progress : D A E D A L U S
Offline ra4king

JGO Kernel


Medals: 347
Projects: 3
Exp: 5 years


I'm the King!


« Reply #299 - Posted 2014-09-27 23:27:09 »

wappapeleway!

I don't live in Europe either but I want to test!

Specs:
Intel Core i7 2600K @ 4.5GHz
Nvidia GTX 580
16GB DDR3 RAM
2 1920x1080 monitors
Windows 8.1 Pro

Pages: 1 ... 8 9 [10] 11
  ignore  |  Print  
 
 

 

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

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (45 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (63 views)
2014-09-21 02:42:18

BurntPizza (33 views)
2014-09-21 01:30:30

moogie (41 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
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

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!