Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


adam4813

Member Since 12 Apr 2006
Offline Last Active Dec 23 2014 02:43 PM

Posts I've Made

In Topic: Suggestion for a cross-platform C++ 3D game engine/framework

04 December 2013 - 01:38 PM

I would put forth my own framework, Sigma, that is still very WIP (the read me is very out-of-date). It has most bullet points you went (graphics is still shaping up, so no animations, particles, etc yet) and the sound is to be added (this weekend).

  • It is pure C++ and takes advantage of some C++11.
  • It works on Linux and Win32 (Mac testing is in the works).
  • It uses GLFW for the OS abstraction layer (user input via mouse/keyboard works but it can also do controllers).
  • OpenGL 3+ using a custom rendering engine.
  • Bullet Physics.
  • and of course HTML based UI using chrome (CEF in the works, but currently has Awesomium.
It is being used for the Trillek engine (and is what is powering the milestone 1 release). You can contribute if you would like as well since we are a small sparse team of developers that are open to work from others. And let's not forgot the link Sigma.

In Topic: Model–view–controller pattern

07 September 2013 - 10:17 PM

You can get my take on it, in my article MVC and CBES as it Relates to Game Programming


In Topic: Programming origin of (bug? feature?) in old game ("Duke Nukem 3D")

18 August 2013 - 07:29 AM

Maybe that is the logic then. If you aren't in a "section" or room then you left it via a non-portal, so kill.


In Topic: 99 Bottles Of Beer Challenge With Least Amount Of Characters ?

20 July 2013 - 09:57 PM

The brackets are need around the ternary operator since it's in a macro.

#include <iostream>
#define a(i) << " bottle" << (i-1?"s":"") << " of beer" << 
#define w " on the wall" <<

int main()
{   
    for(int i=100;i-->1;)
      std::cout << i a(i) w ", " << i a(i) ".\nTake one down and pass it around, " << i-1 a(i-1) w ".\n\n";
    std::cout << "No more" a() w ", no more" a() ".\nGo to the store and buy some more, 99" a() w ".";
}

After some tweaking 273 now


In Topic: 99 Bottles Of Beer Challenge With Least Amount Of Characters ?

19 July 2013 - 05:38 PM

Last one, had an issue with 1 bottle

#include <iostream>
#define a(i) << " bottle" << (i!=1?"s":"") << " of beer" <<
#define w " on the wall" <<

int main()
{   
    for(int i=100;i-->1;)
      std::cout << i a(i) w ", " << i a(i) ".\nTake one down and pass it around, " << i-1 a(i-1) w ".\n\n";
    std::cout << "No more" a(0) w ", no more" a(0) ".\nGo to the store and buy some more, 99" a(9) w ".";
}

Characters w/o spaces: 277

Characters: 366


PARTNERS