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 ... 52 53 [54] 55 56 ... 194
  ignore  |  Print  
  What I did today  (Read 2097963 times)
0 Members and 1 Guest are viewing this topic.
Offline Jervac
« Reply #1590 - Posted 2015-02-01 19:51:12 »

Finished my twitter profile

blah blah blah...

Nice! I tried that animator and animated my profile picture (Not too good at breathing animations as you can tell)
Click to Play


creepy thing

What the Hell?
Offline HeroesGraveDev

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


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


« Reply #1591 - Posted 2015-02-01 19:52:24 »

Haha , look , I got more medals this month than heroes grave dev! My entire life is complete now!

That's not fair. I've had no internet access for half the month. Wink

I had better start making some shiny spatial graphs or stick Rayvolutions head on random pictures.

Offline lcass
« Reply #1592 - Posted 2015-02-01 19:56:27 »

Haha , look , I got more medals this month than heroes grave dev! My entire life is complete now!

That's not fair. I've had no internet access for half the month. Wink

I had better start making some shiny spatial graphs or stick Rayvolutions head on random pictures.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline thedanisaur

JGO Knight


Medals: 59



« Reply #1593 - Posted 2015-02-01 20:04:12 »

Figured out that I've been chasing a bug I didn't write, just was using an old file format that wasn't compatible anymore... Tongue

Every village needs an idiot Cool
Offline Ashedragon

JGO Coder


Medals: 27
Projects: 1
Exp: 4 years


The best person you could possibly be is yourself.


« Reply #1594 - Posted 2015-02-03 00:19:22 »

Spent about an hour and a half making this thing: https://soundcloud.com/literature-corner/constant
Not sure how I feel about the dip in the action of it but other than that I'm proud of it.

Then I spent the rest of the day researching behavior trees and their implementations for use in a project that is very reliant on goal-oriented AI. Looked into JBT as well, as that would prevent me from having to construct my own but we'll have to see where the wind blows.

boo
Offline Gibbo3771

JGO Kernel


Medals: 128
Projects: 5
Exp: 1 year


Currently inactive on forums :(


« Reply #1595 - Posted 2015-02-03 13:12:17 »

Setup my LinkedIn profile, kinda. Still need a photo and that but don't have anyone to take it the now lol.

You can view it here if anyone wants to connect with me.

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline Longarmx
« Reply #1596 - Posted 2015-02-03 13:14:53 »

Today, I marked all messages as read without reading them.  Cranky

Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1597 - Posted 2015-02-03 13:47:49 »

This:



Cheers,

Kev

Offline delt0r

JGO Wizard


Medals: 139
Exp: 18 years


Computers can do that?


« Reply #1598 - Posted 2015-02-03 16:00:41 »

I started a 2 year project again from scratch, and just said .. Oh god boss i am so sorry about that old version. He was happy and I get to finish this contract. So I have a job till the end of the year.

Perhaps now i can have some spare time for the game code. I got plans you know.

I have no special talents. I am only passionately curious.--Albert Einstein
Offline Roquen

JGO Kernel


Medals: 516



« Reply #1599 - Posted 2015-02-03 20:10:48 »

Found out all all CLR is now open-source. http://blogs.msdn.com/b/dotnet/archive/2015/02/03/coreclr-is-now-open-source.aspx
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 #1600 - Posted 2015-02-03 20:13:17 »

Got beaten up by the DITA-OT Ant build scripts... again.

Offline divxdede
« Reply #1601 - Posted 2015-02-03 21:10:20 »

I work since this week-end on an implementation of a LinearGradient paint.

The LinearGradient supports a gradient vector with differents color-stop in order to perform a multiple gradient paint.

With this code :

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
// rainbow
LinearGradient gradient =
{
   Color c1 = new Color(255,0  ,0  );
   Color c2 = new Color(255,255,0  );
   Color c3 = new Color(0  ,255,0  );
   Color c4 = new Color(0  ,255,255);
   Color c5 = new Color(0  ,0  ,255);
   Color c6 = new Color(255,0  ,255);
         
   gradient = new LinearGradient(0 , 0 , 800 , 300 , new Color[]{c1,c2,c3,c4,c5,c6},new float[]{0f,0.15f,0.30f,0.5f,0.65f,0.80f} , RepeatPolicy.CLAMP );
}


and

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
    @Override
   public void paint(Window window) {
      Graphics2D g2d = window.createGraphics();

      g2d.setPaint(gradient);
      g2d.fillRect(0, 0, window.getWidth() , window.getHeight() );
      g2d.setColor( Color.WHITE );
      g2d.drawLine( 0 , 300 , 800 , 300 );
   
      g2d.dispose();
   }


I obtain this :
 

My custom implementation can be viewed here : http://i.imgur.com/Wk0rGsW.png
The same test with a swing implementation here : http://i.imgur.com/MDmbygs.png
The rasterized form of the gradient (texture generated) : http://i.imgur.com/GIWaWUM.png

As we can see, i have some little bit differences with the swing version !!
I must go further on it to find why !! i must have an issue somewhere but it's late and i don't find it !!!

Edit:
I found my issue this morning (it was my rotation point that was badly computed) and now i obtain exactly the same result than the swing version.
I updated images on this thread accordingly this correction !!! I can now consider my implementation completed (after some code cleanup and comments)


Séb.

Offline Slyth2727
« Reply #1602 - Posted 2015-02-04 04:12:19 »

Not really programming related, but I played guitar and sang for my girlfriend who is currently sick; she loved it.
Offline gopro_2027
« Reply #1603 - Posted 2015-02-04 06:53:18 »

Redid my games generation... http://pastebin.com/ysWZww8G
Offline princec

« JGO Spiffy Duke »


Medals: 982
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1604 - Posted 2015-02-04 08:47:39 »

Replaced the LWJGL vecmath packages with libgdx ones in SPGL (my "framework"). Discovered libgdx vecmath is not threadsafe and everything broke. Grr.

Cas Smiley

Offline kappa
« League of Dukes »

JGO Kernel


Medals: 119
Projects: 15


★★★★★


« Reply #1605 - Posted 2015-02-04 17:41:10 »

Replaced the LWJGL vecmath packages with libgdx ones in SPGL (my "framework"). Discovered libgdx vecmath is not threadsafe and everything broke. Grr.

Cas Smiley
Any plans to move to LWJGL3? or going to stick to LWJGL2 for now?
Offline cylab

JGO Kernel


Medals: 174



« Reply #1606 - Posted 2015-02-04 18:30:14 »

Replaced the LWJGL vecmath packages with libgdx ones in SPGL (my "framework"). Discovered libgdx vecmath is not threadsafe and everything broke. Grr.

Cas Smiley

Mathias - I Know What [you] Did Last Summer!
Offline cylab

JGO Kernel


Medals: 174



« Reply #1607 - Posted 2015-02-04 21:23:36 »

Today I made a video of the Texture Synthesis Shader I did 3 days ago Wink
<a href="http://www.youtube.com/v/iQllSZyT6TU?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/iQllSZyT6TU?version=3&amp;hl=en_US&amp;start=</a>

Mathias - I Know What [you] Did Last Summer!
Offline Mike

« JGO Spiffy Duke »


Medals: 149
Projects: 1
Exp: 6 years


Java guru wannabe


« Reply #1608 - Posted 2015-02-04 23:09:09 »

Today I realized what a difference good looking clouds and normal mapping on the ground can do for the graphics! Smiley

(Click for full size)


Mike

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

JGO Kernel


Medals: 382
Projects: 11
Exp: 4 years


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


« Reply #1609 - Posted 2015-02-04 23:16:36 »

Today I realized what a difference good looking clouds and normal mapping on the ground can do for the graphics! Smiley

(Click for full size)


Mike

One day you're going to upload a photo and we won't even notice.

Offline princec

« JGO Spiffy Duke »


Medals: 982
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1610 - Posted 2015-02-05 00:08:11 »

Replaced the LWJGL vecmath packages with libgdx ones in SPGL (my "framework"). Discovered libgdx vecmath is not threadsafe and everything broke. Grr.

Cas Smiley
Any plans to move to LWJGL3? or going to stick to LWJGL2 for now?
Sticking to 2 for now until LWJGL3 moves at least to beta. I can't keep on shifting the goalposts or I'll never get this bloody game done.
I've fixed all the horribly static-ridden code in the libgdx vecmath package with ThreadLocals but I have no idea how to submit a patch or anything. Or even why it was done with statics in the first place (don't you guys use threads!?)

Cas Smiley

Offline Riven
Administrator

« JGO Overlord »


Medals: 1327
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1611 - Posted 2015-02-05 00:17:41 »

ThreadLocals have quite an impact on performance. Whether that is relevant to your use is another matter Smiley

For LibStruct I wrote this hacky, yet super fast workaround:
https://github.com/riven8192/LibStruct/blob/master/src/net/indiespot/struct/runtime/FastThreadLocal.java#L33
(see .get() / .set(...))

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

« JGO Spiffy Duke »


Medals: 982
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1612 - Posted 2015-02-05 00:22:48 »

It certainly is relevant... I need to transform about 30,000 sprites' vertices by each sprite's matrix and write the results out to VBOs - I spend a lot of time doing Matrix4.mul() via various routes. I'll see if that helps.

Cas Smiley

Offline BurntPizza

« JGO Bitwise Duke »


Medals: 485
Exp: 7 years



« Reply #1613 - Posted 2015-02-05 00:24:15 »

@Riven
Would inflate memory usage a little bit, but multiplying/dividing by some factor (>= 8) to index into the threadid2value array might improve performance under contention by eliminating false sharing. I would expect it to be faster anyway.

EDIT: if/when writes are occuring
Offline Riven
Administrator

« JGO Overlord »


Medals: 1327
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1614 - Posted 2015-02-05 00:31:34 »

@BurntPizza: In LibStruct I mainly use .initialValue() and .get(), so it's pretty much read-only, which means contention is not an issue. Feel free to benchmark / optimize for your use case.

@Cas: FastThreadLocal instances are rather memory hungry, so I'd advice you to make only 1 FastThreadLocal with a pointer to some class that holds all your (previously static) references to 'scratch' objects.
1  
2  
myFastTL.get().vec3tmp.x += 4.1f;
myFastTL.get().mat4tmp.m33 += 4.2f;

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

« JGO Spiffy Duke »


Medals: 982
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1615 - Posted 2015-02-05 00:54:25 »

A good plan.

Cas Smiley

Offline Roquen

JGO Kernel


Medals: 516



« Reply #1616 - Posted 2015-02-05 10:17:06 »

Found out Tom Forsyth agrees with me about the value of unit-tests:

Offline princec

« JGO Spiffy Duke »


Medals: 982
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1617 - Posted 2015-02-05 10:23:08 »

I'm glad that I'm not the only one who thinks TDD is a hilariously poor methodology.

Cas Smiley

Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1618 - Posted 2015-02-05 10:25:14 »

You're not the only one

ME <-----

Kev

Offline ags1

JGO Kernel


Medals: 356
Projects: 7


Make code not war!


« Reply #1619 - Posted 2015-02-05 11:29:10 »

Of course TDD is rubbish, but it is less rubbish than the alternative. My tests regularly catch errors and regressions, and writing the tests improves the initial code too.

Pages: 1 ... 52 53 [54] 55 56 ... 194
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

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

theagentd (1430 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!