Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (798)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 65 66 [67] 68 69 ... 214
  ignore  |  Print  
  What I did today  (Read 3430577 times)
0 Members and 3 Guests are viewing this topic.
Offline theagentd
« Reply #1980 - Posted 2015-03-26 05:11:40 »

I've been admiring and tweaking my new SSAO effect. Doing SSAO at half resolution and having high quality grass straws covering half the screen lead to the SSAO becoming an aliased, shimmering mess, AKA eye cancer. After working over the weekend on it, I finally got all 3 passes of the shader fast enough to be possible to do at full resolution, and the difference is HUGE. My goal was to get it down to 1-2ms at full resolution 1920x1080, and I managed to get it down to around 1.3ms, while at 2560x1440 I ended up at 2.1 ms... The best part is that the new shader has a million times better texture cache coherency. The old one would choke once it started sampling random pixels in a 25+ pixel radius around each pixel due to texture cache thrashing, but the new algorithm does some clever precomputation to the depth buffer to improve performance. Along with ALU optimizations to the shader as well, the new shader is over 2x faster compared to the old shader's absolute best case, and 20-30x faster than its worst case. The bilateral blur shader also got a ~2x speed up thanks to simplifications of the algorithm and that I packed the SSAO value and the depth value it needed into a single texture to halve the number of texture samples. All in all, it works, and it looks gorgeous now that I don't have a radius limit. But now to the pictures!


This is with SSAO off. When in the shadow of the sun, it gets extremely hard to see where things are and what shape they have. We can't really see if the building is floating in the air or if it actually touches the ground. The corner right behind MORS (the character) is almost invisible due to the flat colors, and the only reason you guys even know there's a corner there is thanks to the blue stripe following the wall. MORS himself also looks flat and boring. His legs are essentially just two shades of gray, and his arms also look extremely flat. The detail simply isn't there when there's no direct lighting to bring it out.


With SSAO, the scene gets a whole new level of depth. Not only is the vertical corner behind MORS clearly visible, we suddenly see an additional little horizontal crease to the bottom left of the building that was completely invisible before. The grass where the building stands is slightly darker too, showing that the building is indeed standing on the ground. MORS also looks significantly better. The area under his arms and around his neck and feet are significantly darker due to being occluded, bringing out a lot more detail in the lighting.

Of course, this effect is completely dynamic and isn't precomputed in any way. It does have some limitations as it works on screen space information, e.g. the depth buffer. For example, the background as seen between his legs is too bright. His legs are simply blocking the information for the background occlusion to be detected, so there is no way to know if the background should be occluded or not. Still, the overall quality of the sceen is massively improved.

Myomyomyo.
Offline thedanisaur

JGO Knight


Medals: 59



« Reply #1981 - Posted 2015-03-26 06:01:59 »

What I did over the last couple weeks, finished up my animation classes and fbx importer, cel shading, skybox, and sadly projective aliasing on my shadow mapping....


https://www.youtube.com/watch?v=otCfHv3f8Ao&feature=youtu.beMmB9b5njVbA

Every village needs an idiot Cool
Offline death_angel
« Reply #1982 - Posted 2015-03-26 14:59:15 »

It took me three days, but finally the game is becoming multiplayer
This map is just for testing purposes.
My partner did the art  Pointing

I am just a guy
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Rayvolution

« JGO Spiffy Duke »


Medals: 379
Projects: 2
Exp: 2 years


Resident Crazyman


« Reply #1983 - Posted 2015-03-26 15:16:57 »

I've been working on some in-line string color formatting, so I can do things like this with a single drawString call:

"§GREI am green and §BLUI am blue!"
"I am green and I am blue!"


.. still a bit buggy though;






- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Now on Steam!
LIVE-STREAMING DEVELOPMENT: http://www.hitbox.tv/rayvolution
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1984 - Posted 2015-03-26 18:16:32 »

Whatever you do, don't get tempted into feature-creeping your way into something that resembles HTML or UBB code... it's good as it is, I tell ya.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline lcass
« Reply #1985 - Posted 2015-03-26 21:20:43 »

Java decided to create a pointer for some reason , I don't know why but this statement.
1  
last_position = handler.ship.correct_pos;

Last_position was constantly being updated even though it was only assigned once. Anyone able to explain?
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #1986 - Posted 2015-03-26 21:24:21 »

Every non-primitive in Java is a pointer. What is the type of last_position?
And why this thread?
Those are rhetorical questions.
Offline Rayvolution

« JGO Spiffy Duke »


Medals: 379
Projects: 2
Exp: 2 years


Resident Crazyman


« Reply #1987 - Posted 2015-03-27 07:38:38 »

Whatever you do, don't get tempted into feature-creeping your way into something that resembles HTML or UBB code... it's good as it is, I tell ya.

^ Wink

in-line color is probably as far as it'll go, it only happened because it seemed the best solution for my multicolored console output so I went ahead and just rewrote my font class to use the tags everywhere. The original system was basically
drawString(x, y, "Green font!", Color.GREEN, fontSize);
, so each string could only be one solid color. Now I can go this;
drawString(x, y,"§GREGreen font and §BLUBlue font!", fontSize)
and my font class just cuts it all up and formats it accordingly. I could of used my old system anyway, but the code to print out things on the console probably would of been a hacky mess.

Output example:
"Small Farm has been completed."
"Bilbo Bagginz has leveled up!"
"Bob Bobby was killed by a Zombie"


- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Now on Steam!
LIVE-STREAMING DEVELOPMENT: http://www.hitbox.tv/rayvolution
Offline ags1

JGO Kernel


Medals: 367
Projects: 7


Make code not war!


« Reply #1988 - Posted 2015-03-27 10:21:10 »

I can now calculate the point spread function (Fraunhofer diffraction) for arbitrary telescope apertures using ray tracing.

Offline SHC
« Reply #1989 - Posted 2015-03-28 17:00:54 »

My MiniLD #58 entry SurvivorPong is now complete. It is my attempt at remaking Pong by adding a bit of challenge. The idea is you have to stop a deer from running into leopards which are hiding under leaves, and the score is how much time you can survive.



The game needs a GPU which supports OpenGL 3.3 or higher, and Java 8 runtime. By the way, this is just my second real game, so please give me constructive criticism if I have done anything in a wrong way.

LudumDare Post
LudumDare MiniLD entry
Executable JAR download (4.67 MB, needs Java 8 to run)

Please play once and tell me your opinions on how should I improve. I want to learn from any mistakes that I would have made. Also I'll be participating in the main LD event too this time.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline lcass
« Reply #1990 - Posted 2015-03-28 18:18:35 »

Finally finished A* path finding. Here is a little test.
Click to Play
Offline Ashedragon

JGO Coder


Medals: 27
Projects: 1
Exp: 4 years


The best person you could possibly be is yourself.


« Reply #1991 - Posted 2015-03-28 22:06:56 »

I worked a bunch of the mobile port of Fragile Soul, finished a few music requests on a livestream, and decided to relax and play with a vst to see what sorts of sounds I could make and ended up making a (chillwave) song out of them.
https://soundcloud.com/literature-corner/focus

Today was exciting for me.

boo
Offline ags1

JGO Kernel


Medals: 367
Projects: 7


Make code not war!


« Reply #1992 - Posted 2015-03-28 23:21:40 »

Carried on playing with Fraunhofer diffraction patterns.


Offline MrPork
« Reply #1993 - Posted 2015-03-28 23:32:01 »

Continued working on the shooting mechanics of my spaceships and added burst fire, next up is making them move around each other constantly. Also, fixed up the Symbols that show up when you zoom out as they were glitching out and barely visible before. The squares are planets, and the triangles are capital ships. This game is going to revolve around capital ship battles, and once the commanding ship is destroyed all the units in its fleet can be easily destroyed as well. Which is why the player will soon be able to only add ships to a fleet, and not be able to control them directly. Instead, they can only control their commanding ships, and hope to god their fleets are successful. Hopefully one day I will become less newbie and actual be able to finish a game withought having to ask at all in the forums for help.






"f**k it, maybe it'll work." -Me
Offline Olo

JGO Coder


Medals: 15
Projects: 3
Exp: 5 years


Metaphysical solipsism AFFIRMS your existence


« Reply #1994 - Posted 2015-03-29 00:48:11 »

Yet Another Dungeon Crawler - Graphics -> loading....
Player sprites downloaded from internet.

-Can you fix it?
-No, I can't. But I can bypass it with one of these.
Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



« Reply #1995 - Posted 2015-03-29 00:52:50 »

I worked a bunch of the mobile port of Fragile Soul, finished a few music requests on a livestream, and decided to relax and play with a vst to see what sorts of sounds I could make and ended up making a (chillwave) song out of them.
https://soundcloud.com/literature-corner/focus

Today was exciting for me.
love the way the wobbling background texture travels in stereo. very solid tune, nothing disturbing in it, despite it's short length.

thanks for sharing! Smiley
Offline Rayvolution

« JGO Spiffy Duke »


Medals: 379
Projects: 2
Exp: 2 years


Resident Crazyman


« Reply #1996 - Posted 2015-03-29 07:24:19 »

Finally finished my new in-line string colors.. here's a bunch of pages that now use it. Cheesy

In the first two screenshot here's the only method calls I have to do to draw the messages on-screen.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
      //DESCRIPTION BLOCK
   font.drawString(x, y+70, "§ORA1Are you sure?!", 2, true);

   if (confirmation){
      font.drawString(x, y+86, "§YEL1Seriously are"
            + "\nyou §RED1ABSOLUTELY sure?"
            + "\n§WHI0THE OLD GAME WILL BE DELETED", 2, true);
      buttonReally.render(g, mouse, x-43, y+165, debug, false);
      buttonYes.render(g, mouse, x+12, y+130, debug, true);
   }else{
      font.drawString(x, y+86, "You already have an active "+gameMode
            + "\ngame. Are you sure you want to restart"
            + "\n§GRE1"+mapName+"?", 1, true);
      buttonReally.hideButton();
      buttonYes.render(g, mouse, x+12, y+130, debug, false);
   }









- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Now on Steam!
LIVE-STREAMING DEVELOPMENT: http://www.hitbox.tv/rayvolution
Offline 65K
« Reply #1997 - Posted 2015-03-29 10:18:37 »

After 3,5 years finished my first game ever.

Biodrone Battle




Lethal Running - a RPG about a deadly game show held in a futuristic dystopian society.
Offline hwinwuzhere
« Reply #1998 - Posted 2015-03-29 10:51:34 »

@65K Congrats Smiley

There are two kinds of people in this world: Those who can extrapolate from incomplete data,
Offline Dev Crucio

Senior Devvie


Medals: 9
Projects: 1
Exp: 9 years


CaveGear


« Reply #1999 - Posted 2015-03-29 19:51:49 »

Started a project called "CaveGear" (My first project ever) and drew some art for it Smiley
I will post in WIP when there's a playable version Smiley
The Color of the shirt, the hair and the shoes are defined through the program itself and not in the textures so the character is customizable (there even are 4 different Hair styles for now)


Twitch - See me developing CaveGear Smiley
Offline tinfoilboy
« Reply #2000 - Posted 2015-03-29 20:52:05 »

Started working on a little project I wanted to do. So far it has a level format, fast renderer (runs at around 5000-6000fps on my machine, uncapped), and more to come.


Offline thedanisaur

JGO Knight


Medals: 59



« Reply #2001 - Posted 2015-03-29 21:56:48 »

I posted this...

https://www.youtube.com/watch?v=IsthEDQ04Fc&feature=youtu.be



Every village needs an idiot Cool
Offline wessles
« Reply #2002 - Posted 2015-03-29 22:03:31 »

Added in some nifty frame buffer effects to the RFLEX level select and win/lose screen. I also added in tutorials, since play-testers were confused. Ashedragon finished the first song, named "Handicapped".

Sorry for bad recording quality, I've been messing with my computer's graphics. The game itself is silky smooth.
<a href="http://www.youtube.com/v/VlV80EzX3oc?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/VlV80EzX3oc?version=3&amp;hl=en_US&amp;start=</a>

In other news, making levels is as tedious as ever Tongue.

-wes
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 486
Exp: 7 years



« Reply #2003 - Posted 2015-03-29 23:01:00 »

@wessles Reminds me a little bit in style of super hexagon. That arcadey dodge-all-the-things goodness.
Offline wessles
« Reply #2004 - Posted 2015-03-29 23:16:44 »

@BurntPizza thank you  Smiley. it was my main inspiration for RFLEX, along with the Impossible Game. My best time in Super Hexagon is 314 seconds, which is a full run-through IIRC.

Also accomplished today, 100 medals!
Offline HeroesGraveDev

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #2005 - Posted 2015-03-30 01:00:37 »

Finally finished my new in-line string colors.. here's a bunch of pages that now use it. Cheesy

Surely there's a better escape sequence than '§'.

Offline Rayvolution

« JGO Spiffy Duke »


Medals: 379
Projects: 2
Exp: 2 years


Resident Crazyman


« Reply #2006 - Posted 2015-03-30 01:21:25 »

Finally finished my new in-line string colors.. here's a bunch of pages that now use it. Cheesy

Surely there's a better escape sequence than '§'.

It was just the only thing I could think of off-hand that absolutely would never need to actually be displayed on the screen and had a fairly easy to remember ASCII code (ALT+21) Smiley

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Now on Steam!
LIVE-STREAMING DEVELOPMENT: http://www.hitbox.tv/rayvolution
Offline HeroesGraveDev

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻


« Reply #2007 - Posted 2015-03-30 02:05:06 »

Finally finished my new in-line string colors.. here's a bunch of pages that now use it. Cheesy

Surely there's a better escape sequence than '§'.

It was just the only thing I could think of off-hand that absolutely would never need to actually be displayed on the screen and had a fairly easy to remember ASCII code (ALT+21) Smiley

ASCII alt-codes aren't cross-platform. You can use any symbol, as long as you have an escape for the symbol itself. (eg: for backslash escape sequences, you use \\ to show '\')

I wouldn't use backslash though, because then you have to double-escape it in your code ('\\\\')

Offline Rayvolution

« JGO Spiffy Duke »


Medals: 379
Projects: 2
Exp: 2 years


Resident Crazyman


« Reply #2008 - Posted 2015-03-30 02:24:07 »

ASCII alt-codes aren't cross-platform.

I honestly did not know this, guess that explains why other java games (like minecraft) use characters like the &.

Any suggestions for a clean single character to use, that's cross platform and never really expected to be displayed on screen?

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Now on Steam!
LIVE-STREAMING DEVELOPMENT: http://www.hitbox.tv/rayvolution
Offline CopyableCougar4
« Reply #2009 - Posted 2015-03-30 02:27:11 »

How about the grave? `

Either wandering the forum or programming. Most likely the latter Smiley

Github: http://github.com/CopyableCougar4
Pages: 1 ... 65 66 [67] 68 69 ... 214
  ignore  |  Print  
 
 

 
Riven (35 views)
2019-09-04 15:33:17

hadezbladez (3999 views)
2018-11-16 13:46:03

hadezbladez (1448 views)
2018-11-16 13:41:33

hadezbladez (4011 views)
2018-11-16 13:35:35

hadezbladez (772 views)
2018-11-16 13:32:03

EgonOlsen (4088 views)
2018-06-10 19:43:48

EgonOlsen (4666 views)
2018-06-10 19:43:44

EgonOlsen (2754 views)
2018-06-10 19:43:20

DesertCoockie (3648 views)
2018-05-13 18:23:11

nelsongames (3852 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45
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!