Moving a User-Generated Spaceship with Physics: Part I

The core con­cept behind co.llide is for play­ers to be able to build and then pilot their own cus­tomized, phys­i­cally sim­u­lated space­ships. This means that when a player stitches together a bunch of pieces into a ship, the game needs to fig­ure out how that ship should move depend­ing on player input. Ours is cer­tainly not the first game to ever address this prob­lem, but we thought an expla­na­tion of our spe­cific solu­tion would make an inter­est­ing post. But why just tell when I can show?

Con­tinue read­ing

Andrew Dolce

Andrew has a back­ground in com­puter graph­ics and aug­mented real­ity, and is excited about mak­ing games that look and feel awe­some. He also owns too many board games for his own good.

More PostsTwit­ter

A Small Shadow Map Improvement

Shad­ows are a great way to relay infor­ma­tion in a 3D ren­der­ing. They can help demon­strate dis­tances between two objects such as a bounc­ing ball and the ground. They also relay fur­ther infor­ma­tion to the struc­ture of an object as they give a sec­ond sil­hou­ette from the per­spec­tive of the light cast­ing the shadow. In this arti­cle, I will demon­strate a very small but impor­tant improve­ment for THREEjs’s shadow ren­der­ing, a one line change to the shader code.

Con­tinue read­ing

Z God­dard

Z, a fan of hats and danc­ing to bad music, devel­ops games and code in Unity3D and WebGL. Always look­ing at new tech­nolo­gies for games, he has big dreams for Go.

More PostsTwit­ter

Cutting Down Bandwidth with JSON Alternatives

Dou­glas Crock­ford wrote RFC 4627, describ­ing the spec­i­fi­ca­tions for JSON, a “text for­mat for seri­al­iza­tion of struc­tured data.” As a language-agnostic, human-readable open for­mat that has native sup­port for encoding/decoding in browsers, JSON has become the de facto stan­dard for data seri­al­iza­tion on the web. There are draw­backs to using JSON, which became evi­dent when we started to write a net­worked game using Web­Sock­ets. (Check out our pre-alpha teaser if you didn’t get a chance to see us at PAX!)

Con­tinue read­ing

Eric Li

Eric Li is a devel­oper at Gra­di­ent Stu­dios. He stud­ied com­puter graph­ics in school and spe­cial­izes in real­is­tic ren­der­ing tech­niques, but also has his hands in every­thing from net­work­ing to physics. When not wield­ing the pix­els, he is a foodie who enjoys trance and throw­ing Frisbees.

More PostsTwit­ter

Simulating Network Lag for Testing Games

In devel­op­ing a net­worked game, some­times one needs to be able to test fea­tures run­ning over spe­cific net­work con­di­tions. How does the game hold up under high latency and/or packet loss? What about in cases of vary­ing net­work jit­ter, where the latency is ever-changing? Answer­ing these ques­tions is cru­cial to test­ing net­work code and mak­ing sure that it will per­form well against what­ever chaos the Inter­net might throw at you.

Con­tinue read­ing

Andrew Dolce

Andrew has a back­ground in com­puter graph­ics and aug­mented real­ity, and is excited about mak­ing games that look and feel awe­some. He also owns too many board games for his own good.

More PostsTwit­ter