Java-Gaming.org Hi !
Featured games (91)
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 ... 50 51 [52] 53 54 ... 214
  ignore  |  Print  
  What I did today  (Read 3464634 times)
0 Members and 1 Guest are viewing this topic.
Offline Slyth2727
« Reply #1530 - Posted 2015-01-28 21:08:02 »

Was the BF4 in a live game? If so thats incredibly impressive.

It was indeed. Thanks  Smiley
Offline teletubo
Global Moderator

JGO Wizard


Medals: 75
Projects: 4
Exp: 8 years



« Reply #1531 - Posted 2015-01-28 21:44:30 »

Today I came back to javagaming.org .

Offline divxdede
« Reply #1532 - Posted 2015-01-28 23:19:30 »

I'm working on my support of Image and especially sub-image !!

An exemple of mirrored repeat from an image inside an atlas :

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
  if( boxImage == null ) {
      boxImage  = image.getSubimage(768,128,128,128);
  }
  if( texture == null ) {
    texture = new Texture(boxImage , new Rectangle(0 , 0 , 128 , 128 ) , TextureWrapPolicy.REPEAT_MIRRORED , TextureWrapPolicy.REPEAT_MIRRORED , true );
  }

  g2d.setPaint( texture );
  g2d.fillRect(x, y, 512, 512);
  g2d.dispose();


Result :


from this atlas :



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

JGO Kernel


Medals: 367
Projects: 7


Make code not war!


« Reply #1533 - Posted 2015-01-29 20:39:25 »

Wrote an OBJ exporter for my 3D modeling language, and loaded my test model successfully in an online viewer:

http://www.3dvieweronline.com/share/OKMXULwdjN3gnit/OKMXULwdjN3gnit

Hah! I am free of the shackles of jMonkey Engine  Wink

Offline matheus23

JGO Kernel


Medals: 138
Projects: 3


You think about my Avatar right now!


« Reply #1534 - Posted 2015-01-29 20:48:14 »

Today, ... well, yesterday I created something that creates a graph of a Gauss Curve (or binomial distribution? I have no idea).



Basically it's a bar Diagram of the following:

I have 50 bars in the bar diagram. I simulate 50 coin flips and if for example 27 of those are heads, I count +1 for bar number 27. That I repeat 1 million times (that takes about 2 secs, inefficient code, sorry).

It's obvious, that most of the 50-coin-toss-rounds have 25 heads and it's much less common for anything else. That's why the maximum is at 25 Smiley


I also wrote a Binary Tree renderer / Layouter:


(sorry for JPG quality...)

Both little test projects are written in haskell. The first one because I was curious, the second one because I wanted to test out a library that mainly I with the help of my brother wrote (https://github.com/DeclarativeGraphics). The code for rendering the Tree is the following:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
data Tree a = Node a (Tree a) (Tree a) | Leaf a

exampleTree :: Tree String
exampleTree =
  Node "Test"
    (Node "oh"
      (Leaf "my")
      (Node "god"
        (Leaf "tis")
        (Leaf "awesum")))
    (Node "right"
      (Leaf "right1")
      (Leaf "right2"))

data TreeStructure = SuperNode | SubLeft | SubRight deriving (Eq, Ord)

main :: IO ()
main = showFormWindow (0.5, 0.5) $ centeredHV $ renderTree exampleTree

renderTree :: Tree String -> Form
renderTree (Leaf str) = drawTreeNode str
renderTree (Node str left right) = removeTracking trackedTree `atop` conLines
  where
    subtrees = centeredHV $ append Vec2.right [addOriginTracking SubLeft $ renderTree left, addOriginTracking SubRight $ renderTree right]
    trackedTree = append Vec2.down [addOriginTracking SuperNode $ drawTreeNode str, subtrees]
    superPos = fromJust $ getTrackedPos SuperNode trackedTree
    rightPos = fromJust $ getTrackedPos SubRight trackedTree
    leftPos = fromJust $ getTrackedPos SubLeft trackedTree
    blackLine start end = outlined (solid black) $ noBorder $ openPath $ pathPoint start `lineConnect` pathPoint end
    conLines = blackLine superPos leftPos `atop` blackLine superPos rightPos

drawTreeNode :: String -> Form
drawTreeNode str = (collapseBorder $ centeredHV $ text tstyle str) `atop` (padded 10 $ filled grey $ circle 25)
  where tstyle = defaultTextStyle { fontFamily = "monospace", fontSize = 8 }

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline EgonOlsen
« Reply #1535 - Posted 2015-01-29 21:34:31 »

After adding more and more NPCs and side-quests for them, i had to do something visual today. So i added pine trees.


Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1536 - Posted 2015-01-29 22:16:47 »

Rewrote LibStruct to make it capable of addressing the full range of 64 bit address space.

Quite possibly the most complex code I've written to this day. Roll Eyes

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline kingroka123
« Reply #1537 - Posted 2015-01-30 01:41:49 »

Learned and implemented Parse in my android app  Tongue
Offline Ecumene

JGO Kernel


Medals: 200
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #1538 - Posted 2015-01-30 02:00:21 »

Worth the 15$ a year.

http://ecumene.xyz/

Offline Rayvolution

« JGO Spiffy Duke »


Medals: 379
Projects: 2
Exp: 2 years


Resident Crazyman


« Reply #1539 - Posted 2015-01-30 05:12:45 »

(Also, that medal was an accident)

Well it's mine now, and you can't have it back!

*throws it in the pile*

- Raymond "Rayvolution" Doerr.
Retro-Pixel Castles - Now on Steam!
LIVE-STREAMING DEVELOPMENT: http://www.hitbox.tv/rayvolution
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline pitbuller
« Reply #1540 - Posted 2015-01-30 09:32:17 »

Rewrote LibStruct to make it capable of addressing the full range of 64 bit address space.

Quite possibly the most complex code I've written to this day. Roll Eyes

Where we can see this as code?
Offline Roquen

JGO Kernel


Medals: 518



« Reply #1541 - Posted 2015-01-30 09:35:16 »

Quote
I have 50 bars in the bar diagram. I simulate 50 coin flips and if for example 27 of those are heads, I count +1 for bar number 27. That I repeat 1 million times (that takes about 2 secs, inefficient code, sorry).

Binomial Distribution p=.5, t=50

bitCount(gen.nextLong() >>> 14);
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1542 - Posted 2015-01-30 10:58:15 »

Rewrote LibStruct to make it capable of addressing the full range of 64 bit address space.

Quite possibly the most complex code I've written to this day. Roll Eyes

Where we can see this as code?

https://github.com/riven8192/LibStruct (it's in a rough state!)

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline lcass
« Reply #1543 - Posted 2015-01-30 17:55:44 »

Riven , you are delving into depths where I dare not tread , good job!
Have a medal.
Offline Herjan
« Reply #1544 - Posted 2015-01-30 21:08:30 »

Started this week working on my own project since school started -.-

I started to built random level generation which I'm going to use for my project.
The last time I posted something about it was a (very much alpha) video on page 10 in this thread.




More fun than school! Wink
Offline MrPizzaCake

Senior Devvie


Medals: 8
Exp: 3 years


Hello, another wonderful human being :)


« Reply #1545 - Posted 2015-01-30 22:41:50 »

Well it's mine now, and you can't have it back!

*throws it in the pile*

Then I'll give you more medals until you drown in them! Tongue

How am I? Tough question, since emotions are confusing as heck Tongue
Offline Drenius
« Reply #1546 - Posted 2015-01-30 23:06:36 »

Then I'll give you more medals until you drown in them! Tongue
Unless he treats them in a Scrooge McDuck like way...

EDIT:
Offline lcass
« Reply #1547 - Posted 2015-01-30 23:20:18 »

Began work on a multi threading tool I call game of threads. Has three sets , Overlord - handles Whippers , whipper - Controls slaves , Slave - operates methods.
Each whipper can activate slaves at its own rate. The overlord can assign , kill , pause and control the whippers (ie an individual thread).
Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



« Reply #1548 - Posted 2015-01-30 23:43:55 »

sounds fun Smiley
Offline Slyth2727
« Reply #1549 - Posted 2015-01-31 00:17:29 »

I left my computer logged on so my cousin can come in and mess things up. Sly, buddy, you're subscribed to some weird things on reddit now. Love you <3
Offline theagentd
« Reply #1550 - Posted 2015-01-31 04:51:00 »

Spent almost the whole day working on finding curves that describe different parameters for my order-independent transparency stuff. I even wrote a small program that could find correct coefficients to create a graph that passed through a set of points with minimal quadratic error. That numerical analysis class at my uni actually was helpful in the end! In the end I managed to solve everything but the result was a bit disappointing so it's probably not really useful in practice... Still, I managed to fix a few issues and I also understand the math behind it all a bit more now.

Myomyomyo.
Offline matanui159

JGO Coder


Medals: 11
Projects: 1
Exp: 10-12 months


Aww... So cute...


« Reply #1551 - Posted 2015-01-31 05:16:27 »

Not exactly what I did today and not exactly Java... But GLSL... But i was looking through really old projects on my iPad and found this:



I really over do things Grin

Is it sad that I still get a fright when the computer beeps at me...
Offline MrPizzaCake

Senior Devvie


Medals: 8
Exp: 3 years


Hello, another wonderful human being :)


« Reply #1552 - Posted 2015-01-31 09:47:05 »



That's... one way to draw a circle.

How am I? Tough question, since emotions are confusing as heck Tongue
Offline SHC
« Reply #1553 - Posted 2015-01-31 12:04:52 »

Made a website for SilenceEngine. http://silenceengine.goharsha.com



Will be soon moving to it's own domain.

Offline Gibbo3771

JGO Kernel


Medals: 128
Projects: 5
Exp: 1 year


Currently inactive on forums :(


« Reply #1554 - Posted 2015-01-31 13:05:20 »

Shaved all my hair off. 

"This code works flawlessly first time and exactly how I wanted it"
Said no programmer ever
Offline Roquen

JGO Kernel


Medals: 518



« Reply #1555 - Posted 2015-01-31 13:09:30 »

Spent almost the whole day working on finding curves ...

You say dynamic curve fitting...I automatically think splines.  I think splines...I automatically think hermite.
Offline theagentd
« Reply #1556 - Posted 2015-01-31 13:58:30 »

Spent almost the whole day working on finding curves ...

You say dynamic curve fitting...I automatically think splines.  I think splines...I automatically think hermite.
No, I tested a number of points, figured out the basic shape of it, then simply used an algorithm which randomly modified the coefficients and tried to minimized the total squared error. For example, I had values which looked like the shape of a*x/exp(b*x), so I ran it through a program that found the correct values of a and b, and in the end I figured out that A was the alpha value of the pixel, and b required a second function to compute, and in the end I could simplify the whole expression to a much simpler function.

Myomyomyo.
Offline Slyth2727
« Reply #1557 - Posted 2015-01-31 18:54:41 »

I set up my new desk and cleaned things up. I'm loving the look.

Offline Ecumene

JGO Kernel


Medals: 200
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #1558 - Posted 2015-01-31 19:42:51 »

The amount of screenshots in this thread is too damn high!
Seriously, learn to resize or just link to the image...

Offline Andre Lopes
« Reply #1559 - Posted 2015-01-31 20:00:28 »

The amount of screenshots in this thread is too damn high!
Seriously, learn to resize or just link to the image...

I have a 22' monitor and it looks fine here.


Pages: 1 ... 50 51 [52] 53 54 ... 214
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

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

nelsongames (4001 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!