Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 158 159 [160] 161 162 ... 200
  ignore  |  Print  
  What I did today  (Read 2655010 times)
0 Members and 5 Guests are viewing this topic.
Offline ags1

JGO Kernel


Medals: 367
Projects: 7


Make code not war!


« Reply #4770 - Posted 2016-09-22 17:35:20 »

Today at work I wrote a util to translate HTML entities into XML entities. The fun just keeps on keeping on!

Offline Roquen

JGO Kernel


Medals: 517



« Reply #4771 - Posted 2016-09-22 18:12:54 »

Today IBM announced open sourcing their JDK.
Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



« Reply #4772 - Posted 2016-09-22 19:12:58 »

me vs. unsigned long long int - 1:0

\o/
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline J0
« Reply #4773 - Posted 2016-09-22 19:49:31 »

unsigned long long?

Offline theagentd
« Reply #4774 - Posted 2016-09-23 00:15:41 »

me vs. unsigned long long int - 1:0

\o/

Did you know that an
unsigned long long triple double short char
can be between 1 and 573.5 bytes depending on the hardware?

Myomyomyo.
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #4775 - Posted 2016-09-23 02:01:41 »

I prefer my
unsigned long long triple double short char
572 bytes only thankyouverymuch.

Offline J0
« Reply #4776 - Posted 2016-09-23 20:04:15 »

Browsing the source code of
java.awt.Polygon
...
1  
2  
3  
4  
5  
6  
7  
8  
public Rectangle getBounds() {
    return getBoundingBox();
}

@Deprecated
public Rectangle getBoundingBox() {
    // snipped, irrelevant
}


Now I get that the second method is probably deprecated in order to change the name but... I wonder if the entire source code is full of examples like this? persecutioncomplex

Offline Icecore
« Reply #4777 - Posted 2016-09-23 20:17:04 »

Now I get that the second method is probably deprecated in order to change the name but... I wonder if the entire source code is full of examples like this? persecutioncomplex
Sometimes you can't change name because of legacy)
and
getBounds();
is part of
Shape interface

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline J0
« Reply #4778 - Posted 2016-09-23 20:35:12 »

What I meant is the fact that the new methods just points to the deprecated one, and that just sounds plain cheap.

Offline Icecore
« Reply #4779 - Posted 2016-09-23 20:39:21 »

What I meant is the fact that the new methods just points to the deprecated one, and that just sounds plain cheap.
=)
java.awt.Polygon was created in 1.0
in 1.2 it Implementing Interface Shape
Shape have getBounds
getBoundingBox can't be removed or rename by legacy support ^^

https://docs.oracle.com/javase/7/docs/api/java/awt/Polygon.html
https://docs.oracle.com/javase/7/docs/api/java/awt/Shape.html

getBounds and getBoundingBox
have same code, do you really want duplicate it?

Yes this looks better
1  
2  
3  
4  
5  
6  
7  
8  
public Rectangle getBounds() {
    // snipped, irrelevant
}

@Deprecated
public Rectangle getBoundingBox() {
    return getBounds();
}

but in any case it devs decision how separate code

p.s and even Open source Java have many bugs (not this small code style mistakes)
same as other big companys products - its natural

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SHC
« Reply #4780 - Posted 2016-09-24 15:49:38 »

I was asked to explain about Generator functions in JavaScript today in college, and I made this to spice them up.



I know this is faking threads, but if it is possible to rewrite JS functions in such a way, then it will support client side threading in JS.

Offline KaiHH

JGO Kernel


Medals: 520



« Reply #4781 - Posted 2016-09-24 15:55:34 »

Just read the most insightful and well written case study about the hurdles in (big scale) game development I've ever read:
Inside the Troubled Development of Star Citizen.
Offline Wave Propagation
« Reply #4782 - Posted 2016-09-24 17:21:49 »

Yesterday and today I continued on my Ray Marcher and added shading via the Phong reflection model as well as sun and sky using the Perez model.

Here is a screenshot of it:
Offline Slyth2727
« Reply #4783 - Posted 2016-09-25 04:11:11 »

I think I forgot to mention that I made my battlefield 4 hack open source on my github. A few people here were interested in it while I was developing it, here's the link to the file where most of the stuff happens: https://github.com/CMatri/bfhackexternal/blob/master/MemHack/Overlay.cs

The code may be really strange in some places. This is because there was a time when I had the file open and my computer crashed, corrupting the file. I managed to get it back by decompiling an old version, but it left a lot of strange code. I stopped working on it shortly after that and I'm not sure if I ever fully went through and fixed everything to be human readable - there's a lot.
Offline Icecore
« Reply #4784 - Posted 2016-09-25 11:51:58 »

Find this:
How To Start Your Game Development:
its video playlist
https://www.youtube.com/watch?v=z06QR-tz1_o&list=PLhyKYa0YJ_5BkTruCmaBBZ8z6cP9KzPiX&index=7

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline ags1

JGO Kernel


Medals: 367
Projects: 7


Make code not war!


« Reply #4785 - Posted 2016-09-25 22:38:43 »

Got terrain generation using the diamond square algorithm working.

Offline theagentd
« Reply #4786 - Posted 2016-09-26 03:57:56 »

Accidentally threw together this scene while messing with a new terrain system, so I decided to pose the guy up a bit and take a screenshot.



DoF is still broken due to massive a register usage on Nvidia, causing it to be extremely slow. It also isn't compatible with like 95% of my other post processing at the moment, causing ghosting and artifacts in motion. For still shots, it looks good though as you can see.

Myomyomyo.
Offline winspeednl
« Reply #4787 - Posted 2016-09-26 07:58:49 »

I made the first version of a window handler inside my game library (LibZ)

Currently, it's very buggy and no depth sorting yet.

Microsoft gives you Windows. Linux gives you the whole house.
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #4788 - Posted 2016-09-28 17:09:41 »

Ridiculously proud to go to a school that's ranked 5th IN THE WORLD in Computer Science by the Wall Street Journal. This was just published by them.


Offline FabulousFellini
« Reply #4789 - Posted 2016-09-28 19:22:01 »

Finally started my big boy job today!  I can 'almost' now say that I am a developer. 

-FabulousFellini
www.fabulousfellini.com
Offline J0
« Reply #4790 - Posted 2016-09-28 20:08:10 »

My university is ranked #22 in the world in Game design by the Princeton Review (it's also the only one out of the 25 that is in Europe, not in the US, and consequently I suppose it's the #1 free university in the world in game design Smiley )

Offline ShadedVertex
« Reply #4791 - Posted 2016-09-28 22:30:49 »

Ridiculously proud to go to a school that's ranked 5th IN THE WORLD in Computer Science by the Wall Street Journal. This was just published by them.



If all goes well I'll end up in the tenth on that list Cheesy
Offline wessles
« Reply #4792 - Posted 2016-09-29 02:01:52 »



I discovered my old soldering kit in the basement, had a rush of nostalgia, and decided to have some fun with my Raspberry Pi Zero.

I soldered up my board's GPIO pins and started messing with it. I got a "server up" indicator light going:

Click to Play


I was going to do more but I think I fried the board by using a bad power supply when I was testing it in headless mode. Good thing these things only cost $5!
Offline philfrei
« Reply #4793 - Posted 2016-09-29 06:32:49 »

WIDT: Mostly read online news and commentary, from multiple sites, about the US Presidential debate. I'm finding it hard not to obsess on this horror show circus of an election. Am glad HRC did as well as she did but sincerely wish the odds on the election outcome were a little more one-sided in her favor. Did a bit of contract work and a handful of practice questions for the Java Associate certification test. I also made a modicum of progress on a tool for making utility clicks and chirps and whistles and possibly laser zaps as well. The notion is that this 2-op FM tool will be usable in multiple ways: save/load configurations, export wavs, or as api for generation of playable Clips, or as an api to play on demand via the mini synth itself. It will only be able to make tone bursts of a max of maybe 3/4 second. 

Also spent a few extra minutes on the way home trying to get a Station Agent or Policeman to check out a fellow collapsed on stairs leading down to the BART station. How are you supposed to tell if it is "merely" a homeless person "taking a nap" or someone collapsed due to a heart attack or diabetic coma or something? (By time I got someone to check him out he was gone, so "just taking a nap" seems to be the proper euphemism here. "Sublimate!" I tell myself. Channel the anger to something useful.)

I am feeling a bit burned out. Hopefully tomorrow will be a fresh, new, and more productive day.

music and music apps: http://adonax.com
Offline MatthewNicholls
« Reply #4794 - Posted 2016-09-29 08:24:19 »

Wrote a method to load a horizontal cross shape cubemap png,  instead of needing 6 separate texture files.  Now I can just export straight out of genetica,  without having to first manually divide it up. 

my blog My YouTube

"...Muahahhah... pull the lever Egor!" ..."Yesh mashter"..click... click...click..buzzzzz".......Its Alive!
Offline princec

« JGO Spiffy Duke »


Medals: 1033
Projects: 3
Exp: 20 years


Eh? Who? What? ... Me?


« Reply #4795 - Posted 2016-09-29 08:59:00 »

Finally after 3 years fixed the intermittent yet persistent 500 errors on our website.

Also discovered major irritating bug in almost all browsers which was screwing up our PHP script for delivering newsletter bribe hex codes (see here for a description). I don't actually think that this exact bug was occurring as such - our work Squid proxy here was doing it. When Squid was bypassed the site worked as expected.

That took 2 hours to find and fix. Chaz's PHP code doesn't help, and just imagine what fun it is debugging terrible PHP code when PHP itself is a macrocosm of brainf**k itself. I hate the web and all of its shit, half-baked, hand-wavy, loosely-coupled, "oh-we'll-deal-with-errors-some-other-time" bullshit.

Cas Smiley

Offline basil_

« JGO Bitwise Duke »


Medals: 418
Exp: 13 years



« Reply #4796 - Posted 2016-09-29 10:06:16 »

i hear you. similar experience made me enjoy GWT, which comes with the build-in attitude "f**k the browser-side". tho', it comes with alot brainf**k too, just different flavour Smiley
Offline FabulousFellini
« Reply #4797 - Posted 2016-09-29 16:14:32 »

I found 2 games that use the same dog catcher graphic as mine (although technically the character is a plumber).  I was always going to change the character graphics, and now I really have no excuse not to.

https://itunes.apple.com/us/app/jungle-mary-world-mario-bros/id1108189112?mt=8

https://itunes.apple.com/us/app/super-jungle-world-mario-bros/id1104969767?mt=8

Kind of seems like those developers that made one game and released it 10 times with different graphics.

The description of Jungle Mary World makes me want to play it, lol:
"Jungle Mary World is a journey of super Man, his name is Mary".

-FabulousFellini
www.fabulousfellini.com
Offline Icecore
« Reply #4798 - Posted 2016-09-29 22:27:43 »

Spend last 6 days wring char(Byte) Sequence search (aka Regex)
Technically it search at once for multiple Sequences like “Language parser”
It was hardest thing that I wrote for a couple of years – it simple melt my brain.

It build Sequence tree not simple
check Text - for every Sequence
^^
with speed O(n) – only 1 check for 1 char in text
(I hope, i understand “O” right)
1  
2  
3  
4  
5  
//not regex style its debug data :)
[ab]11qq[ab]'32' //32 its space – End char

Returns :'aaababababb11qqabba'
From 'qqq aaababababb11qqabba ab'

Still may have billions bugs XD
Need more time for testing

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline philfrei
« Reply #4799 - Posted 2016-09-30 01:17:04 »

My tutorial on starting out with JavaFX looks like it will reach 90,000 hits within a couple days.  Smiley 
Not bad considering it was first posted back in Feb of this year, or sometime close to that! I wish it had resulted in more traffic and posts on our "JavaFX" child board. We've only had something like a half dozen JavaFX posts in the last month?

Got in some good work today on the "Dink" SFX making tool. Reconfiguration of controls for the modulating sine are working. I'm probably going to leave the API in the easiest state to work with as I can, and not stress the GUI too much. Am second-guessing whether to up to two modulators instead of just one: where one can track the pitch of the carrier, and the other optimized for LFO purposes. There are already optional sweeps for the freq and vol of the modulator, but a tight lfo pitch waver added to a brightened carrier:modulator pair can make a good ray gun. That would require two modulators.

Goal remains to get the wav export to work later tonight. While fooling around with it, got a good "penalty whistle" effect--made a screen shot for future reference.

music and music apps: http://adonax.com
Pages: 1 ... 158 159 [160] 161 162 ... 200
  ignore  |  Print  
 
 

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

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

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

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

nelsongames (157 views)
2018-04-24 18:15:36

nelsongames (156 views)
2018-04-24 18:14:32

ivj94 (897 views)
2018-03-24 14:47:39

ivj94 (161 views)
2018-03-24 14:46:31

ivj94 (810 views)
2018-03-24 14:43:53

Solater (174 views)
2018-03-17 05:04: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!