Java-Gaming.org Hi !
Featured games (90)
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 ... 179 180 [181] 182 183 ... 214
  ignore  |  Print  
  What I did today  (Read 3430850 times)
0 Members and 3 Guests are viewing this topic.
Offline J0
« Reply #5400 - Posted 2017-04-28 18:01:48 »

You know what's even better than one giant monitor?


... two giant monitors.

Offline FabulousFellini
« Reply #5401 - Posted 2017-04-28 18:54:34 »

Here's my setup:



JK that's from Silicon Valley.  But it surprises me to see a pack of cigs on his desk.  His character does not smoke, but he must smoke in real life lol.

-FabulousFellini
www.fabulousfellini.com
Offline Ecumene

JGO Kernel


Medals: 200
Projects: 4
Exp: 8 years


I did not hit her! I did not!


« Reply #5402 - Posted 2017-05-01 19:41:06 »

I made some more progress on my multiplayer 6DOF FPS arena shooter, and added a server profiler to finally debug some lag spikes I've been having (looks like it's coming from how I'm sending objects)

The mechanics are getting somewhat defined now, I might post a demo on JGO soon with a giant server for everyone to play on


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

JGO Kernel


Medals: 518



« Reply #5403 - Posted 2017-05-01 21:24:50 »

Huh...this will be interesting: https://www.infoq.com/news/2017/05/no-jigsaw
Offline Opiop
« Reply #5404 - Posted 2017-05-02 04:30:30 »

Psh, only three monitors? How about two monitors hooked up to my MacBook Pro and another older laptop dedicated to Netflix? So, 3 monitors just for working and another just for Netflix!

Really though, most of the time I'm just working on my MacBook. High res displays like the Retina display are a god send for someone like me who loves working on the go, there's so much room to work packed into this little laptop!
Offline CopyableCougar4
« Reply #5405 - Posted 2017-05-02 23:55:21 »

I spent hours rereading and rewriting code because of this line:
1  
GL30.glVertexAttribIPointer(attribute, elements, GL11.GL_INT, elements << 2, 0);


I used to have one monitor and was fine with it, but now that I've had three monitors, I can't stand only using one monitor; it feels too restricting.

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

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

JGO Coder


Medals: 70
Exp: 3 years


Guerra24


« Reply #5406 - Posted 2017-05-03 03:24:59 »

Implemented a simple taskbar.
Click to Play

Working on Light Engine.
Offline VaTTeRGeR
« Reply #5407 - Posted 2017-05-03 16:55:24 »

Sooo, half a year ago I said I would build a flight controller with arduino (teensy) ...
Here it is Cheesy

<a href="http://www.youtube.com/v/c3J9zeZ7tY4?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/c3J9zeZ7tY4?version=3&amp;hl=en_US&amp;start=</a>
Sorry for giving you cancer with the video quality Roll Eyes

I've flown 1km far out yet, still plenty of signal with the RFM69H module, you can fly for at least about 20 minutes, with medium motor usage.
It has sensors for gps, air pressure, orientation and battery voltage onboard.

With all of that you can compute altitude, speed, distance and angle from home, etc with the ultimate goal of programming my own autopilot.
Right now it's just displaying the information on the transmitter-display.

That's the brain right here, painstakingly hand soldered...
Offline Apo
« Reply #5408 - Posted 2017-05-04 15:10:13 »

I saw the great post from Archive with the chaos game and had to try it too. I made a little tool to try it out with more dots and not only with splitting in the middle. You can try it out here.
Offline Guerra2442

JGO Coder


Medals: 70
Exp: 3 years


Guerra24


« Reply #5409 - Posted 2017-05-04 23:02:55 »

Finished the taskbar implementation, reworked how maximized windows render decorations and implemented title bar double-click to maximize.

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

Working on Light Engine.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline CommanderKeith
« Reply #5410 - Posted 2017-05-05 09:49:01 »

Sooo, half a year ago I said I would build a flight controller with arduino (teensy) ...
Here it is Cheesy

Sorry for giving you cancer with the video quality Roll Eyes

I've flown 1km far out yet, still plenty of signal with the RFM69H module, you can fly for at least about 20 minutes, with medium motor usage.
It has sensors for gps, air pressure, orientation and battery voltage onboard.

With all of that you can compute altitude, speed, distance and angle from home, etc with the ultimate goal of programming my own autopilot.
Right now it's just displaying the information on the transmitter-display.

That's the brain right here, painstakingly hand soldered...

Very cool project Cool Incredible that you were able to finish it and even fly that thing so well. I imagine it requires expertise in electronics, aviation and software. I'm interested to learn electronics and have some questions.

1. Do you communicate all that gps, battery usage and other info using that radio signal device? If so, did you use some API that can encode binary data over such a device? I thought radio waves are analog and therefore so lossy so I'm interested in how this is done.

2. Is there some guide you can recommend for doing such a project? I've investigated various quadcopter projects but an aeroplane with longer range is much cooler in my opinion.

Thanks!

Offline VaTTeRGeR
« Reply #5411 - Posted 2017-05-05 11:37:34 »

@CommanderKeith

I did a lot of flying in wwii flight sims Grin fpv helps too.

1. The radio has a serial interface (SPI) that allows you to manipulate registers in the radio, which controls the radio IC.
You set the configuration registers on startup and then read/write bytes of the message queue.
This is all done by a library, that thankfully exists, I had to rewrite some parts though.

https://learn.sparkfun.com/tutorials/rfm69hcw-hookup-guide

I store my data in structs. This allows me to grab the entire chunk of memory and just push it to the radio. The other side receives the chunk of data and copy pastes the data directly into it's memory where the struct is ready to be interpreted as separate variables.
(Keep in mind the memory alignment, as it needs to be the same or else the serialization gets more complicated)

2. There are a lot of things to research, i didn't use one specific guide.

Here's some of the topics you may need to investigate:
  • soldering correctly
  • pull-up/down, voltage divider, cmos basics etc
  • how the SPI library works(!!!)
  • structs and memory alignment
  • capabilities of your hardware (how many PWMs and analog inputs, etc)
  • how servos are controlled
  • capacitor placement for power smoothing
  • signal line termination and line impedance for SPI
  • (veeery basic) antenna theory (and maybe simulation with 4nec2)
  • Don't buy a cool looking or very fast (=difficult) plane for your first one, go for an easystar or any other trainer
  • look at build reports for the plane you choose (weight, motor and CG)
  • Pick up a joystick, learn how to start/fly/land with some kind of realistic sim
  • research everythinggggg to the slightest detail
  • general rc knowledge (=> youtube: flitetest/rcmodelreviews/etc)

Here's the code:
https://github.com/VaTTeRGeR/arduino-projects/tree/master/rc_radio_tx
https://github.com/VaTTeRGeR/arduino-projects/tree/master/TeensyPilot
(I also wrote some libraries for the project, but they are not yet uploaded)

This was a tedious and long project, nothing you just do in a few weeks for fun btw, if you want to fly soon, better grab a ready made transmitter.
You'll also need to buy a lot of little stuff like wire, tin, resistors, heat-shrink, tools, this that and the other, it all adds up.
Once you got it working though it's awesome, you can control every single bit and fine tweak it all in software, there are much more options than with a of-the-shelf radio.

And again, don't use some guide and do strg-c+strg-v, the moment you get a problem you'll run against a wall.
Better start slow and accumulate the required knowledge, so that you can just build what you want to build into it.
Offline Coldstream24

JGO Ninja


Medals: 82
Projects: 1
Exp: 4 years


You can fill that void inside with programming, but you'll never return a value.


« Reply #5412 - Posted 2017-05-05 12:28:21 »

I haven't been as active here or with my programming as I'd like to have been of late, uni is really giving me a full plate. I don't know if I shared the breakable objects feature I added but here's some exploding cars Smiley
<a href="http://www.youtube.com/v/lLAG4LesDm0?version=3&amp;hl=en_US&amp;start=" target="_blank">http://www.youtube.com/v/lLAG4LesDm0?version=3&amp;hl=en_US&amp;start=</a>

My website: http://www.onedropgames.com/
My soundcloud: http://www.soundcloud.com/coldstream24
Creator of the Morningside Engine, co-founder of Onedrop Games.
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #5413 - Posted 2017-05-05 20:39:30 »

1. Do you communicate all that gps, battery usage and other info using that radio signal device? If so, did you use some API that can encode binary data over such a device? I thought radio waves are analog and therefore so lossy so I'm interested in how this is done.
Every signal is analog, as the world is analog Smiley Your wifi, your TV remote, the transistors in your CPU, over time they have many values between 0 and 1. Thresholds and noise-filters make them digital, redundancy adds error detection and/or correction. A good start would be googling for the protocol of an IR TV remote. That is a seriously lossy signal, but we make it work. Bonus points if you calculate how many pulses you send to instruct the TV to 'go to channel 2'.  Pointing

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline TritonDreyja
« Reply #5414 - Posted 2017-05-06 01:20:47 »

Dropped a preview beat for my next Myers-Briggs themed album.
Pretty damn proud of how it turned out, and I did it all today too!

https://soundcloud.com/drey-warde/album-one-preview-one

Mix quality is thanks to the new headphones I got for my birthday 3 days ago (:
Offline 65K
« Reply #5415 - Posted 2017-05-06 15:12:25 »

Tried to wire the electrical supplies...

Click to Play

Lethal Running - a RPG about a deadly game show held in a futuristic dystopian society.
Offline Coldstream24

JGO Ninja


Medals: 82
Projects: 1
Exp: 4 years


You can fill that void inside with programming, but you'll never return a value.


« Reply #5416 - Posted 2017-05-09 00:19:43 »

Dropped a preview beat for my next Myers-Briggs themed album.
Pretty damn proud of how it turned out, and I did it all today too!

https://soundcloud.com/drey-warde/album-one-preview-one

Mix quality is thanks to the new headphones I got for my birthday 3 days ago (:
I liked the sound of this one! Also I know what you mean with getting new headphones, I got some new ones myself and the quality is absolutely incredible.

My website: http://www.onedropgames.com/
My soundcloud: http://www.soundcloud.com/coldstream24
Creator of the Morningside Engine, co-founder of Onedrop Games.
Offline Guerra2442

JGO Coder


Medals: 70
Exp: 3 years


Guerra24


« Reply #5417 - Posted 2017-05-09 05:35:35 »

Implemented Assimp Cheesy, testing it with the Sponza model.



.

Working on Light Engine.
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #5418 - Posted 2017-05-09 21:02:30 »

Not exactly today, but this past Saturday I have finally graduated from Georgia Tech with Highest Honors!!

Offline FabulousFellini
« Reply #5419 - Posted 2017-05-09 22:01:52 »

Not exactly today, but this past Saturday I have finally graduated from Georgia Tech with Highest Honors!!

Congrats man!  What's next?  Job search?

-FabulousFellini
www.fabulousfellini.com
Offline Riven
Administrator

« JGO Overlord »


Medals: 1369
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #5420 - Posted 2017-05-10 06:53:16 »

Not exactly today, but this past Saturday I have finally graduated from Georgia Tech with Highest Honors!!
Congrats!

You are well prepared now for the job-interviews where they ask you to reverse a float[] Pointing

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline J0
« Reply #5421 - Posted 2017-05-10 09:08:59 »

Seems like a simple enough challenge Smiley
1  
2  
3  
4  
5  
6  
7  
void reverse(float[] array){
    for(int i = 0; i<array.length/2; i++){
        float cache = array[i];
        array[i] = array[array.length-1-i];
        array[array.length-1-i] = cache;
    }
}

How'd I do?

Offline Icecore
« Reply #5422 - Posted 2017-05-10 09:55:12 »

Not exactly today, but this past Saturday I have finally graduated from Georgia Tech with Highest Honors!!
Nice job)
Times goes so fast:
I remember couple years ago you post here that entering Georgia Tech and now you already finished it ^^

to reverse a float[]
[]taolf )

Last known State: Reassembled in Cyberspace
End Transmission....
..
.
Journey began Now)
Offline Jono
« Reply #5423 - Posted 2017-05-10 11:54:33 »

Seems like a simple enough challenge Smiley
1  
2  
3  
4  
5  
6  
7  
void reverse(float[] array){
    for(int i = 0; i<array.length/2; i++){
        float cache = array[i];
        array[i] = array[array.length-1-i];
        array[array.length-1-i] = cache;
    }
}

How'd I do?

While Riven was joking (or at least poking fun at how pathetic most industry interviews are) I do have some advice.

You'll find that if the company is any any good at all, for the first simple warm-up questions you will impress them more with succinct answers. Know a relevant method in the API, a quick shortcut etc. It doesn't need to be optimised, just so long as it's reasonable big-O.

I would first ask if Python was ok, then give
f[::-1]

Offline theagentd
« Reply #5424 - Posted 2017-05-10 14:03:30 »

A couple of days ago, I managed to get some huge improvements in NNGINE's performance. Seriously, it's frigging insane how much faster it got. In addition, it was really simple and just took a day to do. There were huge GPU performance improvements throughout the entire engine, especially in the G-buffer filling pass, and the memory controller load is down a lot too! A scene which could barely maintain 60 FPS is now doing a crazy 280 FPS!!!

TL;DR: Upgraded from one GTX 770 to two Zotac GTX 1080s, with 5 years warranty to avoid one of them breaking 2 months after the 3 year warranty ends again...

Myomyomyo.
Offline J0
« Reply #5425 - Posted 2017-05-10 14:08:37 »

Theagentd: Mad programming skillz

Jono: That's good to know! Smiley

Offline CoDi^R
« Reply #5426 - Posted 2017-05-10 14:43:17 »

I would first ask if Python was ok, then give
f[::-1]

I'd suggest to review the code which consumes the output, and check why (if) it needs to do the reverse operation in the first place. Wink

Robotality - steamworks4j - @code_disaster - codi^r @ #java-gaming
Offline ra4king

JGO Kernel


Medals: 508
Projects: 3
Exp: 5 years


I'm the King!


« Reply #5427 - Posted 2017-05-10 23:08:31 »

Not exactly today, but this past Saturday I have finally graduated from Georgia Tech with Highest Honors!!

Congrats man!  What's next?  Job search?

I have already accepted a full-time offer from Google after interning with them last summer. I am starting later this year!


Not exactly today, but this past Saturday I have finally graduated from Georgia Tech with Highest Honors!!
Congrats!

You are well prepared now for the job-interviews where they ask you to reverse a float[] Pointing

Thankfully my interview questions were more difficult than that! Pointing

Offline kingroka123
« Reply #5428 - Posted 2017-05-10 23:17:58 »

Attempted to duplicate this tweet: link

Results were meh but it was a fun little day project.
Click to Play


(made in Java2D btw)
Offline CJC

Senior Devvie


Medals: 16
Exp: 7 years


Just press buttons until it works.


« Reply #5429 - Posted 2017-05-11 04:28:37 »

I haven't read anything anywhere that would give me the idea that helper methods are necessarily bad (they can be of course if you get really insignificant with them I guess). I'm not sure if you guys use a lot of libraries in your development, but what are your opinions on helper methods? For example, to help cut down on something like this:

(Quick-probably-broken-code-examples)

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
Connection conn = ((DataSource)InitialContext().lookup("java:comp/env/jdbc/DatabaseNameHere")).getConnection()
PreparedStatement prep = conn.prepareStatement("SELECT * FROM table WHERE id=?;")
prep.setInt(1, 1)
ResultSet set = prep.executeQuery()
if(set.isBeforeFirst()){
   while(est.next()){
      //use the data
   }
}
set.close()
prep.close()
conn.close()


Having helper methods that could be strung together to look like this:
1  
2  
3  
getConnection()
   .executeQuery("SELECT * FROM table WHERE id=?;", /*ArrayList with 1 in it*/, {set-> /* use the data */})
   .close()


Inevitably the same code gets executed (and depending on how much you abstract the code, more might be executed). On the other hand, if you're going to be making the same exact calls 200 times, that's less code you have to write, by a lot. And if you're working on embedded devices that's a big plus too right? There's also a lot less "cleanup" (in this case) that you could forget. Part of me feels like some code like this is really helpful, but part of me feels like abstracting away something or even just "wrapping" common code away could prove to be problematic later down the line if I ever try to go back and change the code.

What's y'alls opinions on things like that? Do you do it, and if so do you have a guideline for when you allow yourself to do it or not?
Pages: 1 ... 179 180 [181] 182 183 ... 214
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

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

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