Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (744)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (825)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 25 26 [27] 28 29 ... 194
  ignore  |  Print  
  What I did today  (Read 2089714 times)
0 Members and 2 Guests are viewing this topic.
Offline CopyableCougar4
« Reply #780 - Posted 2014-10-19 21:11:15 »

Day 2 of my just-for-fun UI library Smiley

Showing of a lot of the elements so far. http://i.imgur.com/bVzLmAb.png

Showing the theme for the UI packed in a jar file http://i.imgur.com/b01wjBR.png

CopyableCougar4

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

Github: http://github.com/CopyableCougar4
Offline Ecumene

JGO Kernel


Medals: 196
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #781 - Posted 2014-10-19 21:22:39 »

Day 2 of my just-for-fun UI library Smiley

Showing of a lot of the elements so far. http://i.imgur.com/bVzLmAb.png

Showing the theme for the UI packed in a jar file http://i.imgur.com/b01wjBR.png

CopyableCougar4

Looks freaking awesome!
Also, if this is in bare OGL, I want your TTF renderer Stare

Offline CopyableCougar4
« Reply #782 - Posted 2014-10-19 21:32:14 »

Quote
Looks freaking awesome!
Also, if this is in bare OGL, I want your TTF renderer Stare

I can post it, but I made helper classes. Overall, I'm pretty proud of my font rendering Smiley It creates a VBO per character and can cache a string as a display list Smiley

I'll edit this post when I have posted it.

EDIT: https://github.com/CopyableCougar4/Font-Rendering - To render text, you use
com.digiturtle.ui.GLFont
and the object is constructed with an AWT font and font size. To render text, you use
drawText(float x, float y, String text, Color color)
with an optional parameter for rotated text. To cache the VBOs as a DisplayList, use
drawCachedText(float x, float y, String text, Color color)
and call
render()
on the
com.digiturtle.ui.DisplayList
object.

Features:
  • only loads a font size once
  • doesn't handle multiple font faces of the same size, but can for different sizes
  • lightning fast (haven't tested max FPS, yet, will edit when I have)

Enjoy Smiley



EDIT #2
More features added:
  • Spinners (like swing's JSpinner)
  • Password field
  • Radio buttons
  • Button where clicks are only handled in non-transparent pixels

CopyableCougar4

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

Github: http://github.com/CopyableCougar4
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kpars
« Reply #783 - Posted 2014-10-20 17:55:08 »

Got a Mercury T-Shirt:



I also made some badass ramen this morning:



- Jev
Offline Drenius
« Reply #784 - Posted 2014-10-20 18:23:28 »

Other people use Facebook or Instagram or something for this Jev...
Offline kpars
« Reply #785 - Posted 2014-10-20 18:25:15 »

Other people use JGO or Twitter or something for spewing out irrelevant opinions, Drenius...

- Jev
Offline theagentd
« Reply #786 - Posted 2014-10-20 18:38:44 »




- Jev
Daaaaamn, that looks nice! Needs some soy sauce though... Shouyuu ramen was good as hell!

Myomyomyo.
Offline kpars
« Reply #787 - Posted 2014-10-20 18:41:48 »

Daaaaamn, that looks nice! Needs some soy sauce though... Shouyuu ramen was good as hell!

I ran out. Sad

- Jev
Offline Grunnt

JGO Kernel


Medals: 143
Projects: 8
Exp: 5 years


Complex != complicated


« Reply #788 - Posted 2014-10-20 19:31:31 »

Heart attack incoming Grin

Drew a dark planet today for a background using this great tutorial for paint.net.

Offline theagentd
« Reply #789 - Posted 2014-10-20 21:10:49 »

Daaaaamn, that looks nice! Needs some soy sauce though... Shouyuu ramen was good as hell!

I ran out. Sad

- Jev

Oh, god, I'm so sorry!!! T___T

Myomyomyo.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ags1

JGO Kernel


Medals: 356
Projects: 7


Make code not war!


« Reply #790 - Posted 2014-10-20 22:16:01 »

carried on playing with terrain generation - I spend far too much time playing with my code and not enough time writing it...  Huh The lightest shade of blue is shallow (wadeable) water while black is ocean. I generated some beach areas, but I will do a second pass to cull beach areas that are too far away from water.

Another item for the second pass: there are some islands of low area (demonic fog) inside the big areas of safe high ground. I've found a simple algorithm to identify these pesky islands so I can raise those areas up and consolidate the safe ground.

The mountain sections look a bit dull and blobby; I will try to add some high frequency noise to high areas only so they look more eroded and interesting.

Now I need to figure out a* so I can add paths between the interesting points on the map. Some paths will lead you to higher ground, others will lead you to monster nests.


Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #791 - Posted 2014-10-21 11:39:53 »

Just got usage tracking and error reporting via email into Legends of Fore.

Cheers,

Kev

Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



« Reply #792 - Posted 2014-10-21 12:12:43 »

... usage tracking ...
what's that ?  Clueless
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #793 - Posted 2014-10-21 12:15:02 »

How many people played from what OS.

Kev

Offline Grunnt

JGO Kernel


Medals: 143
Projects: 8
Exp: 5 years


Complex != complicated


« Reply #794 - Posted 2014-10-21 18:49:09 »

Added a nice background to my 2d spaceship designer-shooter. It consists of a number of layers: a static starfield in the back, a nearly static star, a slowly moving planet (which gives a clue to the player's movement when traveling long distances), and some "space dust" in several layers close to the screen which move faster and give a precise indication of how fas the player's ship is moving. Turned out pretty nicely.


Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



« Reply #795 - Posted 2014-10-21 19:40:07 »

more value-noise clouds in the sky. this time painted on a sphere.





Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #796 - Posted 2014-10-21 20:26:22 »

Improved on the map generation to make more realistic looking islands while halving the time it takes to generate a height. A container (66x66 tiles) takes about 7 milliseconds to generate. That's about 6 milliseconds too slow but I'm not sure how I'd be able to improve it that much Smiley



Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 485
Exp: 7 years



« Reply #797 - Posted 2014-10-21 20:29:15 »

Is the code available?
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #798 - Posted 2014-10-21 20:39:31 »

Sure, why not Smiley Maybe it will help someone else that is looking into map generation as well.

I've followed the wise words of our overlord and am making it in a standalone app instead of directly in the game. The main code is in the Generate class. I noticed that switching the noise out with the one from Gustavson would improve the performance with about 30% or so, but it wasn't a plug and play kind of thing and I didn't want to rewrite most of it Smiley

I should probably also scale the landscape based on the amount of water and the max height and so instead of discarding seeds that don't pass a few variables, but I'm lazy Smiley

Eclipse project: http://stateoffortune.com/GenerateLand.zip

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline ags1

JGO Kernel


Medals: 356
Projects: 7


Make code not war!


« Reply #799 - Posted 2014-10-21 20:49:51 »

Improved on the map generation to make more realistic looking islands while halving the time it takes to generate a height. A container (66x66 tiles) takes about 7 milliseconds to generate. That's about 6 milliseconds too slow but I'm not sure how I'd be able to improve it that much Smiley

Mike

Mulithread? Terrain generation is embarrasingly parallel.

Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #800 - Posted 2014-10-21 21:10:38 »

Mulithread? Terrain generation is embarrasingly parallel.

I love you guys Smiley Got it down from 7-7.5ms per container to 1.5-2ms by using a few threads for it.

Mike

My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline ags1

JGO Kernel


Medals: 356
Projects: 7


Make code not war!


« Reply #801 - Posted 2014-10-21 21:55:57 »

Nice. My terrains are loading in jME now. Now that I can look at them in 3D they are too lumpy. It's mashed potato not rolling hills. I need to tweak the amplitude of the low frequency noise, or apply a blur to the terrain.

Offline Riven
Administrator

« JGO Overlord »


Medals: 1327
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #802 - Posted 2014-10-21 22:31:17 »

Or you might want to calculate normals and apply a simple NdotL, so you can get a sense of the 3d shape, without actually turning it into a 3d model.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #803 - Posted 2014-10-22 16:25:26 »

Got my first automatic crash log from Legends of Fore! Whee!

Cheers,

Kev

Offline kpars
« Reply #804 - Posted 2014-10-22 16:34:12 »

Made some more art (concepts) for a game I'm working on with Mercury: (Click for full size)


- Jev
Offline SHC
« Reply #805 - Posted 2014-10-22 17:32:38 »

Got Yosemite working on my hackintosh.


Offline Norakomi
« Reply #806 - Posted 2014-10-22 18:49:03 »

Watched this and it's actually damn good:

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

Offline ags1

JGO Kernel


Medals: 356
Projects: 7


Make code not war!


« Reply #807 - Posted 2014-10-22 19:39:53 »

Got my first automatic crash log from Legends of Fore! Whee!

Cheers,

Kev

Headline Benchmark does crash reports too but they are not fully automatic as the user has to opt in to sending the crash data to me per report.

Offline pitbuller
« Reply #808 - Posted 2014-10-23 19:36:08 »

Released Harldland early access to Steam. http://store.steampowered.com/app/321980/
Offline matheus23

JGO Kernel


Medals: 138
Projects: 3


You think about my Avatar right now!


« Reply #809 - Posted 2014-10-23 19:52:55 »

Released Harldland early access to Steam. http://store.steampowered.com/app/321980/

That is... IMPRESSIVE!

WOW. So much gonna check that out. Awesome.

(Health-, Stamina-, etc. bars would be nice, numbers are hard to parse quickly Wink )

EDIT: Just saw it's singleplayer.
Mutiplayer is kind of a must-have nowadays. That'd make the game much more awesome, though Cheesy

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Pages: 1 ... 25 26 [27] 28 29 ... 194
  ignore  |  Print  
 
 

 
Ecumene (143 views)
2017-09-30 02:57:34

theagentd (206 views)
2017-09-26 18:23:31

cybrmynd (290 views)
2017-08-02 12:28:51

cybrmynd (282 views)
2017-08-02 12:19:43

cybrmynd (292 views)
2017-08-02 12:18:09

Sralse (282 views)
2017-07-25 17:13:48

Archive (950 views)
2017-04-27 17:45:51

buddyBro (1088 views)
2017-04-05 03:38:00

CopyableCougar4 (1653 views)
2017-03-24 15:39:42

theagentd (1413 views)
2017-03-24 15:32:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05
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!