Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (727)
Games in Android Showcase (217)
games submitted by our members
Games in WIP (796)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 181 182 [183] 184
  ignore  |  Print  
  What I did today  (Read 1608829 times)
Ecumene and 1 Guest are viewing this topic.
Offline Coldstream24

JGO Ninja


Medals: 73
Projects: 1
Exp: 4 years


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


« Reply #5460 - 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: 1277
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #5461 - 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 #5462 - 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 (:

"The enemy of growth is progress made through misconception"

C.E.O of T.H.E.Tritonn. any young developers looking for people to link with should shoot me an email!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online 65K
« Reply #5463 - 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 dysoptian society.
Offline Coldstream24

JGO Ninja


Medals: 73
Projects: 1
Exp: 4 years


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


« Reply #5464 - 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

Junior Devvie


Medals: 8
Exp: 2 years


Guerra24


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

Implemented Assimp Cheesy, testing it with the Sponza model.



.
Offline ra4king

JGO Kernel


Medals: 490
Projects: 3
Exp: 5 years


I'm the King!


« Reply #5466 - 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 #5467 - 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: 1277
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #5468 - 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 #5469 - 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?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Icecore
« Reply #5470 - 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....
..
.
Offline Jono
« Reply #5471 - 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

« JGO Bitwise Duke »


Medals: 970
Projects: 4
Exp: 8 years



« Reply #5472 - 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 #5473 - Posted 2017-05-10 14:08:37 »

Theagentd: Mad programming skillz

Jono: That's good to know! Smiley
Offline CoDi^R
« Reply #5474 - 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: 490
Projects: 3
Exp: 5 years


I'm the King!


« Reply #5475 - 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 #5476 - 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

Junior Devvie


Medals: 8
Exp: 7 years


Just press buttons until it works.


« Reply #5477 - 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?
Offline SkyAphid
« Reply #5478 - Posted 2017-05-11 04:34:33 »

There's no harm in helper methods unless they reduce functionality. In mine and theagentd's game engine, he usually writes complex systems that I in turn abstract and make helper methods for (so that you have the option of taking both routes for maximum customization). We've ran into a trouble a few times when I over-abstracted, but in cases like yours, I think you only stand to gain from simplifying it into function calls if you're going to be doing it a lot.

TLDR; it's helpful and OK, as long as it doesn't hamper performance or functionality IMO

it just werks
Offline CommanderKeith
« Reply #5479 - Posted 2017-05-11 14:11:00 »

Sorry for the delayed reply, for some reason my browser showed errors everytime I tried to reply before today.

Thanks for the tips and write up! The learning process sounds fun so I'm looking forward to it. I actually bought a bunch of electronic stuff on eBay like servos and arduinos but I've not yet had time to fully dive in.
I did get a servo working on my c2 odroid mini computer using Java, and I wired up a laser pointer to an arduino programmed in their default IDE but that's it.
My dream is to eventually build a remote control thing of some sort. Given my inexperience with flying I think I'll start with a wheeled vehicle first.
Thank you for your code, very interesting. It looks like you have 7 servos on the plane judging by the code, nice!

Offline FabulousFellini
« Reply #5480 - Posted 2017-05-11 23:01:10 »

I realized that there is a game called "Wonder Dog" for Sega CD that uses the EXACT same color scheme as mine for the title.  I use ROYGBIV for the colors of the letters of "DODGER DOG".  The WIP thread title picture doesn't reflect that, but it does in the actual title of my game.  lol.  Has anyone ever played Wonder Dog?

-FabulousFellini
www.fabulousfellini.com
Online 65K
« Reply #5481 - Posted 2017-05-13 12:57:12 »

Put up Lethal Running on Steam Greenlight:

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

Please vote  Smiley

Lethal Running - a RPG about a deadly game show held in a futuristic dysoptian society.
Online Ecumene

JGO Kernel


Medals: 180
Projects: 3
Exp: 8 years


I did not hit her! I did not!


« Reply #5482 - Posted 2017-05-13 14:48:51 »



I got bored programming outlines and put in some toon shading too
When I'm done today, players should be able to grab objects and have an outline around them

Offline Brynn

JGO Wizard


Medals: 97
Projects: 3
Exp: 1 month or less


JGO's Spiffy Duchess


« Reply #5483 - Posted 2017-05-19 00:43:39 »

I photographied for the betterment of my ego
(i got a new camera but the glass is sh*t)


I took a lot of pictures at a beautiful forest preserve. I can post them if anyone is interested.
besides that I have finals to catch up on before I code more.


PS: Riven can you make my rank "Spiffy Duchess" or more likely something dumb and humiliating. thx.

Welcome to a new kind of tension
All across the alienation
Where everything isn't meant to be okay
Offline Emmsii

Senior Devvie


Medals: 6
Projects: 1



« Reply #5484 - Posted 2017-05-19 07:37:55 »

Attempted to duplicate this tweet: link

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


(made in Java2D btw)

Daaaaaaamn, how did you pull that off in Java2D?
Offline kingroka123
« Reply #5485 - Posted 2017-05-19 12:29:34 »

@Emmsii
I created a 3d Array of Voxels that have an x,y,z. Looped through using OpenSimplexNoise to get height. Set voxels under a certain height to visible. Rotated in 3d and projected to 2d coordinates.

To get the Z ordering right i just placed a pixel on a buffered image. Voxels with a higher z placed their pixel after and on top of voxels with lower z's. This is horribly slow but i wasn't going for performance so I used it.
Offline J0
« Reply #5486 - Posted 2017-05-19 15:20:13 »


I took a lot of pictures at a beautiful forest preserve. I can post them if anyone is interested.
please do Wink
Offline orange451

JGO Kernel


Medals: 278
Projects: 5
Exp: 6 years


Your face. Your ass. What's the difference?


« Reply #5487 - Posted 2017-05-22 19:06:26 »

Been tweaking my SSR a little bit today:



The second image was inspired by a post I saw a few years ago from some SSR thread.

First Recon. A java made online first person shooter!
Offline FabulousFellini
« Reply #5488 - Posted 2017-05-22 19:19:05 »

Been tweaking my SSR a little bit today:



The second image was inspired by a post I saw a few years ago from some SSR thread.

Awesome, I am reading Jaws right now for like the 10th time!

-FabulousFellini
www.fabulousfellini.com
Offline VaTTeRGeR
« Reply #5489 - Posted 2017-05-23 12:56:28 »

Finally programmed multi-texturing + terrain-mesh generation for my long term RTS project
Pages: 1 ... 181 182 [183] 184
  ignore  |  Print  
 
 

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

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

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

theagentd (946 views)
2017-03-24 15:32:08

Rule (955 views)
2017-03-19 12:43:22

Rule (924 views)
2017-03-19 12:42:17

Rule (925 views)
2017-03-19 12:36:21

theagentd (988 views)
2017-03-16 05:07:07

theagentd (903 views)
2017-03-15 22:37:06

theagentd (696 views)
2017-03-15 22:32:18
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!