Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (741)
Games in Android Showcase (225)
games submitted by our members
Games in WIP (823)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 189 190 [191] 192 193 194
  ignore  |  Print  
  What I did today  (Read 2042497 times)
0 Members and 3 Guests are viewing this topic.
Online LiquidNitrogen
« Reply #5700 - Posted 2017-08-21 12:49:16 »

My weather experiments are turning out interesting. The mountains and forests alter the wind flow, and the weather patterns change over the seasons. Now it needs to do something with heat and moisture so it can create rain and snow in the right places.

Offline J0
« Reply #5701 - Posted 2017-08-21 19:08:48 »

Needed a default string for an app but couldn't go with
null
...
1  
static final String S_TO_SET = "'74_ao16/*%LQ^&*(jw))(*&^%'anvo";

I reckon no one is gonna enter that, right? Roll Eyes

Offline cylab

JGO Kernel


Medals: 173



« Reply #5702 - Posted 2017-08-23 22:04:46 »

Created a new Track: https://soundcloud.com/mathias-h/traveling

Mostly done in the train while Travelling back from the 50th Wedding Anniversary of my parents and the Funeral of my Mother in Law  Undecided

Mathias - I Know What [you] Did Last Summer!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Slyth2727
« Reply #5703 - Posted 2017-08-24 23:19:43 »

Today I moved into my freshman dorm room! Exciting times.

Developed and trained a (deep? 2 convolutional layers and pooling layers) convolutional neural network to recognize digits out of the MNIST data set to learn more about convolutional nets. Got up to a 99.12% accuracy for the entire testing data set after 20,000 training iterations. Didn't use tensorflow or anything, but managed to utilize C and CUDA to outsource some operations to the GPU making training much much faster.
Also got a new laptop! Super pumped about it, 16 GB RAM, 4K screen, GTX 960m, i7 6700HQ. Pretty damn good laptop for the price, and it'll last me at least through undergrad and graduate school. I'm planning to go for my PhD in something with machine learning. I've been interested it for years and now I can finally do something with that after really learning more about it over the past few months.

Offline Guerra2442

Senior Devvie


Medals: 25
Exp: 2 years


Guerra24


« Reply #5704 - Posted 2017-08-28 02:23:41 »

Finally implemented a 3D compositor.

Click to Play

Working on Light Engine.
Offline Guerra2442

Senior Devvie


Medals: 25
Exp: 2 years


Guerra24


« Reply #5705 - Posted 2017-08-29 05:28:50 »

With the new 3D compositor now I can do fancy things with the windows because they are in 3D space, today I've implemented new window animations and modified the blur effect to work in 3D.

Click to Play

Working on Light Engine.
Offline J0
« Reply #5706 - Posted 2017-08-31 18:31:58 »

Today I finally finished my trial webcomic! If today hasn't been wtf-y enough for you take a look at my cover page Grin
Right here
Sweet sweet js+css3

Offline Apo
« Reply #5707 - Posted 2017-09-01 06:48:00 »

Today I finished the 17th game for the game advent calendar und solved a wired "bug" with libgdx and the html version. There was a problem with a "method <init>()V not found". The problem was the gwt version 2.8.1 which seems to have problems with the jetty version I used. After switching to version 2.8.0 everything works fine. Sounds easy but many wasted hours are gone ...

But now everythings works fine in html, android und desktop. And I am happy. =)
Offline J0
« Reply #5708 - Posted 2017-09-01 21:45:26 »

und
How to tell if someone is German 101 Roll Eyes

On another note Apo by looking at your screenshots I'm kind of amazed that you can pull off making so many different games! I mean there doesn't seem to be 2 of the same genre out of the 17! Anyways, keep it up Smiley

Offline Icecore
« Reply #5709 - Posted 2017-09-02 16:24:15 »

Funny topic)
https://forums.tigsource.com/index.php?topic=18397.msg1351265#msg1351265

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Oskuro

JGO Ninja


Medals: 73
Exp: 10 years


Coding in Style


« Reply #5710 - Posted 2017-09-04 00:07:50 »

Finally managed to render something on LWJGL3!  Grin

.... after having procrastinated at an epic level for... years...  Cry



Offline Oskuro

JGO Ninja


Medals: 73
Exp: 10 years


Coding in Style


« Reply #5711 - Posted 2017-09-04 22:56:54 »

Aaaaaand Spritesheets! Here's a recording of me hitting the directional keys randomly, like the finely trained monkey I am.



I'm having a lot of confusion though regarding how to deal with these.  Huh

The tutorial I was following does spritesheets by applying a scale and translation matrix to the texture via shader (scaling to the size of the cell, translating to the selected index). Since I was getting confused there (and my interface didn't accomodate passing the shader to the render method), I just precalculated the texture coordinates at object creation and instantiated a bunch of buffers.

Not sure which is preferable.

It really shows that up until now I had been doing all my drawing via Java2d  Roll Eyes

Offline FabulousFellini
« Reply #5712 - Posted 2017-09-05 18:50:55 »

It occurred to me that I only really had controllers working for my game on Windows, so I spent yesterday getting Jinput to work on Linux (through my Raspberry Pi).  In the process of that, I broke the Windows controllers, so I had to fix that, then I got the controllers to work on Linux.  Today, is all about Mac.  I am pretty well versed now on how and why controllers may or may not work on different operating systems, so if any noobs have any questions, now is the time to ask me about it.  As of now, my game works with both gamepads and joysticks on Windows and Linux.

-FabulousFellini
www.fabulousfellini.com
Offline FabulousFellini
« Reply #5713 - Posted 2017-09-06 18:49:04 »

I spent a few hours researching how to package my jar into a Mac application, and for some reason decided to check this forum last.  Then I came across this: http://www.java-gaming.org/topics/mac-osx-jarbundle-a-simple-jar-bundling-application/33930/view.html
@orange451, you're my hero for the day.

-FabulousFellini
www.fabulousfellini.com
Offline Oskuro

JGO Ninja


Medals: 73
Exp: 10 years


Coding in Style


« Reply #5714 - Posted 2017-09-06 22:37:24 »

So now I can generate tilemaps from data sets. Still got to do some bitmasking so there's more tile variety though, but my current tilesheet is not properly designed to handle bitmask indexing (which is packing the status of nearby tiles into an 8-bit value and have the resulting value match an specific index in the tile map, as seen here)



Offline girthquake
« Reply #5715 - Posted 2017-09-07 13:52:07 »

Instead of doing my assignment I made my old goo simulator
Click to Play


more gooey.
Click to Play

Offline Slyth2727
« Reply #5716 - Posted 2017-09-08 05:32:16 »

Finished my final visualization of a variational autoencoder I developed to generate MNIST digits. Essentially my model has learned a generalized method to draw handwritten digits. There's a few more visualizations I coded in but this is an animation of the decoder travelling through a 2D latent space. It's usually more accurate when trained with a much higher latent dimensional space but 2D allows me to easily travel through it and visualize it. This is just an example application of this particular machine learning algorithm. With an expansion of this method combined with a few other tricks a model can be trained to intelligently combine parts of images together. For example train a decoder on zebra images, then feed it a video of a horse running. The scenery in the video will remain untouched but the horse will be modified to look like a zebra. Think of the possible applications with this and faces - imagine being able to take a video of yourself talking and get a video of Obama or some other well known figure saying what you did but with their face and voice. This encoder-decoder structure can do lots of really useful and neat things.

animation: https://i.imgur.com/7xybLM3.mp4 (how do I embed these..?)
code: https://gist.github.com/anonymous/90364c863638ac34bd4b2656898a119f]
Offline dime26

JGO Ninja


Medals: 60
Projects: 7
Exp: 12 years


Should traffic wardens be armed?


« Reply #5717 - Posted 2017-09-09 13:05:43 »

The tutorials I started a while ago is now up to part 10 which creates a Bird that flys about, landing, walking and feeding:

Click to Play
Offline cygnus
« Reply #5718 - Posted 2017-09-10 01:20:17 »

Quote
Finished my final visualization of a variational autoencoder I developed to generate MNIST digits...
Teach me o glorious wizard
Offline vfmachado

Junior Devvie


Medals: 9
Exp: 4 years



« Reply #5719 - Posted 2017-09-11 13:12:04 »

Actually, yesterday Tongue

I've implemented the slider component of my custom GUI System based on NanoVG.

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

JGO Ninja


Medals: 73
Exp: 10 years


Coding in Style


« Reply #5720 - Posted 2017-09-11 23:55:57 »

Yay for bitmasking tilesets!  Grin



Boo for some literal corner cases not working!  Clueless

Offline philfrei
« Reply #5721 - Posted 2017-09-14 19:10:54 »

So easy for projects to get derailed, for me. My last post was about the Theremin. It's so far out of mind that I can't recall why it got back-burnered again. Ah--probably the "macro recording" feature proved too tricky to just kick out and I put it aside for that reason. I really need to get better at follow-through!!

Mostly am focused on JavaScript/VR for startup: downloaded 95 sets of 6 jpgs that form boxes that can be used as 360-degree photos, of a US WWII Navy battleship interior and deck. These could be really cool for a game, but permissions issues. Also, the photographers didn't have navigation through the space in mind. So maybe only a third have clear connections to each other. Lots of knowledge holes to fill: finished w3schools section on HTML and am progressing through CSS. Also working through book on JavaScript after finishing the basic w3schools section.

Had to take a break to work on a bit of music! (I was a music major, after all.) I think the recent remix on this tune (was posted a couple years ago?) has helped a lot. Had avoided using limiters before this for no good reason, but it turns out Audacity's limiter was great at squashing the 'gong' and allowing the overall volume to be boosted to something reasonable. Needs a title. It is a quiet piece, possibly works as background music for coding. Maybe it is strong enough to put up for sale for $1? Have been kind of scared to take that step.

music and music apps: http://adonax.com
Offline Icecore
« Reply #5722 - Posted 2017-09-14 22:30:24 »

Ah--probably the "macro recording" feature proved too tricky to just kick out and I put it aside for that reason.
Capturing Events and reproduce them can be tricky
here some raw example
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  
long Start_Time;
Start_Recording(){
   Start_Time = cur_Time_Ms
}

ArrayList Events
java_Mouse_event(){//etc evn
   long time_Trig = cur_Time_Ms - Start_Time
   Events.add(event, time_Trig)
   
   java_Mouse_event_Proc(ev)
}

java_Mouse_event_Proc()
///
Thread_Load_Events{
   Events_Load
   int proc_List_Pos = 0;
   int size = Events_Load.size;
   while(proc_List_Pos < size){
      long cur_Time_Ms_Macro = cur_Time_Ms - Start_Time_Macro
      int i = proc_List_Pos
      for(; i < size; i++){
         if(ev.time_Trig <= cur_Time_Ms_Macro){
            java_Mouse_event_Proc(ev);
         }else{
            break; //for loop
         }
      }
      proc_List_Pos = i;
      Sleap(15)
   }
}

all be fine and smooth if application don't have Lags =)
if you have after some event let say 100ms lag
-additional event align needed - to compensate multithreading desync ^^
(or don't care if events don't need perfect time accuracy)

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Offline Slyth2727
« Reply #5723 - Posted 2017-09-15 05:40:22 »

So I got a little side tracked from the original project and wrote some code to move the mouse with my hand. In the first portion of the video I demonstrate that and in the second bit I show how the model can discriminate between three different hand postures. That parts a WIP but it's getting there. It can only get accurate when my hand is in the center of the image. Hope you like my 20+ hour sleep deprived face in the background.

Mouse movement uses a very simple algorithm of getting the average position of all those white pixels. Which is why I have to have my sleeve up. But it works decently.

edit: trained it a bit better, now it's much better at detecting posture no matter the position and angle. Now I can click by putting a finger up! I also coded it to 'press' space so I could play that little chrome dinosaur game. Jumping when I put one finger up.

<a href="http://www.youtube.com/v/JnQu0nlchKM?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/JnQu0nlchKM?version=3&amp;hl=en_US&amp;start=</a>
Offline J0
« Reply #5724 - Posted 2017-09-15 17:21:33 »


Been designing this character, for a short-ish story I have in mind. I quite like the way that turned out, so I might make it into either a game or webcomic Smiley Let me hear your thoughts on the design!

Offline Icecore
« Reply #5725 - Posted 2017-09-18 11:32:06 »

Look what i found)
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
   static public void main(String[] args){
      B b = (B) new B().Call();
      B b_E = new B().Call_E();
      C c = new C().Call_E();
     
      //Runtime Error
      //But Because its Class exception - its trigger on every call = easy to find and fix
      C c_Er = new A().Call_E();
   }
   
   static public class A{
      public A Call(){
         return this;
      }
      public <E extends A> E Call_E(){
         return (E) this;
      }
   }
   
   static public class B extends A{}  
   static public class C extends B{}

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Offline princec

« JGO Spiffy Duke »


Medals: 976
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #5726 - Posted 2017-09-18 12:26:53 »

What sort of sick puppy says "static public"!?
<edit>Aha, the same sort of sick puppy that names method calls with capital letters!

Cas Smiley

Offline Icecore
« Reply #5727 - Posted 2017-09-18 14:54:46 »

What sort of sick puppy says "static public"!?
Cas Smiley
static is more important for me then public / protected ^^
I also have
1  
2  
3  
Object ar[] 
Object ar[][]
Object[] ar[]

(when many ppl use
Object[][] ar
)
=)

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Offline princec

« JGO Spiffy Duke »


Medals: 976
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #5728 - Posted 2017-09-18 15:03:06 »

You need therapy, at once!

Cas Smiley

Offline Icecore
« Reply #5729 - Posted 2017-09-18 15:19:20 »

You need therapy, at once!
Maybe)  
(or use Auto Formatter before post code somewhere XD)
ED:I use lower Case only for function arguments, in function variable and RAW code
1  
2  
3  
4  
5  
int W;
public Win(int w){
   W = w;
   int x = 10;
}

I don't like this type of style:
1  
2  
3  
4  
int w;
public Win(int w){
   this.w = w;
}

For static and final – I have different Font style(color) in IDE so I don’t care )

up: ps.
this preference only for my own projects
- if i write for 3rd party project I use their formatting style Wink

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Pages: 1 ... 189 190 [191] 192 193 194
  ignore  |  Print  
 
 

 
xxMrPHDxx (22 views)
2017-11-21 16:21:00

xxMrPHDxx (14 views)
2017-11-21 16:14:31

xxMrPHDxx (17 views)
2017-11-21 16:10:57

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

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

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

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

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

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

Archive (882 views)
2017-04-27 17:45:51
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

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
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!