Bài đăng

Hiển thị các bài đăng có nhãn devcorner

DevCorner: Exciting news from the Godot Engine project

Hình ảnh
The Godot Engine ("the open-source answer to Unity3D") continues to make exciting progress with the recent stable release of version 2.1 . Besides lots of small usability improvements to the GUI, the main new feature is a asset sharing store build right into the editor: This should hopefully result in a lot of extremely easy to use assets, and I am looking forward to seeing a lot high quality assets from OpenGameArt.org transferred into it ;) In related news, it was recently announced that there is work going on to allow C# (a extremely popular game scripting language also used in Unity3D) scripting in Godot besides the current Python based custom language. So this should lower the entry barrier for indie developers significantly, and maybe we will even see a conversion utility for open-sourcing simple Unity3D games? Furthermore they are also working on a visual scripting system akin to Unreal's Blueprint or what you can use in the Blender Game Engine. Yeah, visual pro...

DevCorner: Atomic Game Engine MIT (Urho3D fork) and Godot 2.0

Hình ảnh
First off (and you probably read it elsewhere before): The awesome Godot game engine got a really awesome 2.0 release a few weeks ago. It also got independent of it's original developers (who stay active in development), and the first larger commercial game with it was released on Steam just a few days ago. Fresh of the press is a FOSS release of an pretty awesome competitor though: The Atomic Game Engine was just released fully under the MIT license ! Its render engine is a fork of the pretty nice Urho3D renderer, but it includes an cross-platform integrated development environment similar to Godot: Looks nice, but where is the Linux binary release? :( Dive into the source code here . Similar to Godot it features some neat platform support: Linux, Android, WebGL, Windows, iOS and OSX (resorted for significance ;) ); but unlike it you have much more and more common scripting languages at your disposal: JavaScript, TypeScript, C++, and C# scripting in the works. Especially the l...

Devcorner: Macros Are Evil

Hình ảnh
The joys of programming - hours spent scratching one's head whilst trying to figure out why the seemingly correct code does not produce correct results. Hi, Charlie here. I used to post often. Where was I? Ah, yes, this nugget of brain fudgery from the VDrift forums posted by NaN: So I've spent some time today try to figure out why cars are still flying off in random directions when hitting curbs sometimes. It turns out it is a bug in Bullet, to be more specific in the SIMD_DEGS_PER_RAD macro. Code: #define SIMD_PI           btScalar(3.1415926535897932384626433832795029) #define SIMD_2_PI         btScalar(2.0) * SIMD_PI #define SIMD_HALF_PI      (SIMD_PI * btScalar(0.5)) #define SIMD_RADS_PER_DEG (SIMD_2_PI / btScalar(360.0)) #define SIMD_DEGS_PER_RAD  (btScalar(360.0) / SIMD_2_PI) The first one to spot it gets a virtual cookie. For the answer visit the thr...