what is this?

You are viewing a static copy of the old 2DBoy forum, which closed in 2010. It is preserved here for historical interest, but it is not possible to reply to topics. For more recent discussion about World of Goo, visit our new forum.
what is this?ron05/27/2009 - 20:55

find out very soon!

Re: what is this?DannyPage05/28/2009 - 00:03

You guys have made my day. I have just graduated college with a degree in CS, and while waiting for a suitable job to appear, I've wanted to finally make some games I have been working on (Paper prototypes, that is). However, I couldn't find a good C++ example that worked well (I learn by example); learning a 3D engine seemed like a huge task for the small games I had planned. I've just glanced through the source code, and I can already tell this is a great resource. Thank you very much! Hopefully I'll have a game to show off soon in here, especially since I'm not really doing anything while waiting for callbacks, minus playing through Plants VS Zombies and World Of Goo again!

Re: what is this?DEFE05/28/2009 - 01:57

I'm excited for this. It's a shame I don't know the first thing about programming. If I did I would definitely try to contribute. Good luck everyone!

Re: what is this?Charcoal05/28/2009 - 03:09

I like this idea.

Except for the face it doesn't work with VS C++ 2008 Express Edition  :'(
Anyone with any VS knowledge able to suggest a fix?

Re: what is this?Stickybomb6705/28/2009 - 08:01

What is 'this'?
BTW, it's an honor to see you again, ron! ;D


Last modified Thu, 05/28/2009 - 19:49 by Stickybomb67
Re: what is this?Soultaker05/28/2009 - 09:32

[quote author=Charcoal link=topic=1885.msg12696#msg12696 date=1243498148]
Except for the face it doesn't work with VS C++ 2008 Express Edition  :'(
Anyone with any VS knowledge able to suggest a fix?
I'll give this a try next time I boot into Windows. In the mean time, what do you mean by "it doesn't work"?

Re: what is this?psoplayer05/28/2009 - 10:32

[quote author=Soultaker link=topic=1885.msg12704#msg12704 date=1243521120]
I'll give this a try next time I boot into Windows. In the mean time, what do you mean by "it doesn't work"?


When opening up the solution it announces that "Solution folders are unsupported in this version". Upon building demo1 it fails while attempting to link 'irrKlang.lib'

Re: what is this?Renboy05/28/2009 - 14:46

Indeed, any irrKlang source files (including irrKlang.h which is included in some files) are missing from the package...

You might need to go to http://www.ambiera.com/irrklang/downloads.html to download the package.

Re: what is this?Renboy05/28/2009 - 15:01

OK, I just tried it myself, to compile/run the package, you need to:

* download the latest irrKlang library (the non commercial one is good)
* unzip it into the 'libs' directory of the package
* rename it to 'irrKlang-1.1.0' (or use VS's project properties to change the include paths to point to the new version's directory instead)
* That should be enough to compile;

To run:

* You need both SDL.dll (found under SDL-1.2.12/lib) and irrKlang.dll to be in the executable's directory, or somewhere in your dll path.

That's about it,
Enjoy  :)

Re: what is this?Soultaker05/28/2009 - 16:37

I noticed that in the release configurations for the demo1 and demo2 projects, d3dx9.lib is misspelled as d3d9x.lib. Otherwise, no problems here. :)

By the way, this Asteroids implementation is pretty cool. :)

Re: what is this?jmleleven05/28/2009 - 16:58

Wow... I dont even know where to find Virtual Studio 2008...

Re: what is this?Charcoal05/28/2009 - 19:10

[quote author=Soultaker link=topic=1885.msg12704#msg12704 date=1243521120]
[quote author=Charcoal link=topic=1885.msg12696#msg12696 date=1243498148]
Except for the face it doesn't work with VS C++ 2008 Express Edition  :'(
Anyone with any VS knowledge able to suggest a fix?
I'll give this a try next time I boot into Windows. In the mean time, what do you mean by "it doesn't work"?

Oh, yeah. Stupid me, an error message might help.

Quote:
Solution folders are not supported in this version of the application.

Solution folder 'Libs' will be displayed as unavailable.

Re: what is this?Zenanon05/28/2009 - 20:12

[quote author=Charcoal link=topic=1885.msg12718#msg12718 date=1243555812]


Quote:
Solution folders are not supported in this version of the application.

Solution folder 'Libs' will be displayed as unavailable.



I'm getting this same issue in Visual Studio 2008.  Has anyone gotten it to work correctly in some other editor?

Re: what is this?Pavke05/29/2009 - 05:04

I'm trying to run it in Code::Blocks, having some problems with it. I would appreciate if I can get some help from Maks and David if they know how to do it(if it is possible) :)


Last modified Fri, 05/29/2009 - 05:06 by Pavke
Re: what is this?Soultaker05/29/2009 - 09:58

If you are using the Windows SDK with the Microsoft compiler, then all you need to get started with Code::Blocks is to put all the source files into projects so they can be compiled. I've set up a workspace for this, which you can download here: Framework-CodeBlocks-overlay.zip

(Note that you still need to install the Windows SDK (or Visual Studio 2005/2008) so that Code::Blocks can use the Microsoft C/C++ compiler.)

Then:
- Extract the framework files somewhere.
- Extract the overlay files into the framework directory.
- Download irrKlang 1.1.3 and put it in the libs directory.
- You can now open the workspace in Code::Blocks and build as usual
- To run, e.g. demo2, copy the irrKlang.dll and SDL.dll files (look in the libs directory)into the demo2 directory.

Re: what is this?Soultaker05/29/2009 - 10:04

[quote author=Charcoal link=topic=1885.msg12718#msg12718 date=1243555812]
Oh, yeah. Stupid me, an error message might help.

Quote:
Solution folders are not supported in this version of the application.
Solution folder 'Libs' will be displayed as unavailable.


What a weird restriction... Could you try if replacing the solution file with this one works? (I simply moved the library projects out of the libs folder).

Re: what is this?Pavke05/29/2009 - 11:33

[quote author=Soultaker link=topic=1885.msg12724#msg12724 date=1243609126]
If you are using the Windows SDK with the Microsoft compiler, then all you need to get started with Code::Blocks is to put all the source files into projects so they can be compiled. I've set up a workspace for this, which you can download here: Framework-CodeBlocks-overlay.zip

(Note that you still need to install the Windows SDK (or Visual Studio 2005/2008) so that Code::Blocks can use the Microsoft C/C++ compiler.)

Then:
- Extract the framework files somewhere.
- Extract the overlay files into the framework directory.
- Download irrKlang 1.1.3 and put it in the libs directory.
- You can now open the workspace in Code::Blocks and build as usual
- To run, e.g. demo2, copy the irrKlang.dll and SDL.dll files (look in the libs directory)into the demo2 directory.


Thank you!!!  :D :D

Re: what is this?lafe05/29/2009 - 18:29

;D you just made my day as a deveolper!!!
this is going to be great!
im only 15, but ive already made basic physics in C#, but all the rendering and such gets quite annoying. long story short: I LOVE YOU 2DBOY!

Re: what is this?jmleleven05/31/2009 - 16:55

WHERE DO YOU GET VIRTUAL STUDIO 2008?

Re: what is this?Soultaker05/31/2009 - 17:19

It's called Visual Studio, and you can get a free version with the Microsoft C/C++ compiler here: http://www.microsoft.com/Express/vc/

Re: what is this?psoplayer05/31/2009 - 17:59

You may also be able to get the full professional version of Visual Studio from http://www.dreamspark.com/ if you are a student.

Re: what is this?Element908/06/2009 - 07:36

It's working in Visual Studio 2008 Express Edition. Just ignore the message about soulution folders not being supported and delete the "Lib" folderfrom Solution Explorer if you don't want that message to be show any more. Of cousre you have to add irrKlang 1.1.0 (this version can still be downloaded from irrKlang site) as already explained. I do get a message about some project properties not being supported in this version, but haven't got any problems from it. It's due to fact that I use Express Edition I guess.

And thank you 2D Boy! Great learning material.