Google

Stunt Playground 2.0 *source code* released

Forum for the Newton Dynamics Engine binding

Moderators: OGRE Team, OgreNewt Moderators

Stunt Playground 2.0 *source code* released

Postby walaber » Mon May 22, 2006 2:27 am

go go gadget Ogre + Newton!!
User avatar
walaber
 
Posts: 875
Joined: Tue Jan 24, 2006 9:12 pm
Location: California, USA

Postby lance » Mon May 22, 2006 9:36 am

I could not believe my eyes! walaber you are the best!

ps: the download is a bit slow... after 92 hours I could finally have a look into the code, but I can wait!
lance
 
Posts: 16
Joined: Thu Mar 30, 2006 4:54 am

Postby abecam » Tue May 23, 2006 1:16 pm

Wow that's great !!! :D :D :D
I have downloaded it, then I adapted it slightly for Dagon:

Code: Select all

WalaberOgreApplication->

virtual void chooseSceneManager(void)
    {
        // Get the SceneManager, in this case a generic one
        mSceneMgr = mRoot->createSceneManager(ST_GENERIC, "ExampleSMInstance");
    }

StuntPlaygroundApplication->

void Application::createScene()
{
   ...
   /////////////////////////////////////////////
   // dirt particle system
   mDirtParticles = mSceneMgr->createParticleSystem("DirtParticles", "WalaberDirtTest");
   ...
   /////////////////////////////////////////////
   // spark particles system
   mSparkParticles = mSceneMgr->createParticleSystem("SparkParticles", "WalaberSparkTest");
   ...



+ integration of TinyXML and Line3D files inside the project (crappy I know but it works)

--------> It compiles! :D :shock:

Then I have no GUI when I run... But after 20 min works, that's already good (I see the arena and I can switch between the invisible GUI and the "edit"-mode using "escape"). I spent one month to compile NeL (one MMORPG engine, before they did the wiki page), and the example was corrupted :cry: , how relaxing it is to work with Ogre and OgreNewt! :)

Thanks a lot !!!! :P
User avatar
abecam
 
Posts: 54
Joined: Thu Apr 20, 2006 2:39 pm
Location: Visby, Sweden

Postby walaber » Tue May 23, 2006 3:46 pm

you need to pass a pointer of the SceneManager to CEGUI::System now. pass it as the last argument in the constructor, and the GUI should show up.
go go gadget Ogre + Newton!!
User avatar
walaber
 
Posts: 875
Joined: Tue Jan 24, 2006 9:12 pm
Location: California, USA

Postby abecam » Wed May 24, 2006 8:16 am

That's it! :D

Added here:
StuntPlaygroundApplication:
Code: Select all

void Application::createScene()
{
...

/////////////////////////////////////////////
   // setup CEGUI!
   mGUIRenderer = new CEGUI::OgreCEGUIRenderer( mWindow, Ogre::RENDER_QUEUE_OVERLAY, false, 3000 , mSceneMgr);


It works perfectly! Thanks !!! :) :D Very good job! Then I have no time to play with that now :cry: (yes I will find some anyway, I like StuntPlayground so much... I already did one strange car before, I really am so glad to have a look on the code :D ).
User avatar
abecam
 
Posts: 54
Joined: Thu Apr 20, 2006 2:39 pm
Location: Visby, Sweden

Postby Predat0R » Sun Jul 30, 2006 4:11 pm

I have a problem with "Media":
Error at line 13 of Examples.program:
....
...
Error at line 11 of StdQuad_vp.program
....
Error #: 7
Function: GpuProgramParameters::getParamIndex
...
Error at line 6 of BlackAndWhite.material:

And more others errors!!!!
may be I can download "Media" and then stunt playground will work?
User avatar
Predat0R
 
Posts: 50
Joined: Thu Jun 29, 2006 9:11 am

Postby abecam » Sun Jul 30, 2006 10:01 pm

You can also download the binary "Stunt Playground", so you have the media files with the complete game too. I did like that (it's also nice to see if it is like it should be when it runs).
User avatar
abecam
 
Posts: 54
Joined: Thu Apr 20, 2006 2:39 pm
Location: Visby, Sweden

Postby DaCracker » Mon Jul 31, 2006 9:24 am

I really like this game, and having the source to it...
it's just wunderful :D thanks Walaber! :D
User avatar
DaCracker
 
Posts: 72
Joined: Mon Apr 10, 2006 10:26 pm
Location: Sweden

Postby Predat0R » Mon Jul 31, 2006 9:28 pm

Please gime to me 2 file from SP ( resource.cfg and media.cfg)
engine.sur@gmail.com
User avatar
Predat0R
 
Posts: 50
Joined: Thu Jun 29, 2006 9:11 am

Postby Predat0R » Tue Aug 01, 2006 4:32 pm

???????
User avatar
Predat0R
 
Posts: 50
Joined: Thu Jun 29, 2006 9:11 am

Postby walaber » Wed Aug 02, 2006 6:43 am

why don't you have those files already? just redownload Stunt Playground (the game binary) if you need them again.
go go gadget Ogre + Newton!!
User avatar
walaber
 
Posts: 875
Joined: Tue Jan 24, 2006 9:12 pm
Location: California, USA

Postby Predat0R » Wed Aug 02, 2006 4:37 pm

I download StuntPlayground_2_0_source.rar but he don't have RESOURCES.CFG and MEDIA.CFG !!!!!!!!!!
User avatar
Predat0R
 
Posts: 50
Joined: Thu Jun 29, 2006 9:11 am

Postby walaber » Wed Aug 02, 2006 5:39 pm

you need a copy of the actual GAME (not the source) to run it. I will try to add those files later.
go go gadget Ogre + Newton!!
User avatar
walaber
 
Posts: 875
Joined: Tue Jan 24, 2006 9:12 pm
Location: California, USA

Postby Predat0R » Wed Aug 02, 2006 5:59 pm

http://stunt-playground.ic.cz/downloadgame.htm

This that that is necessary ???
User avatar
Predat0R
 
Posts: 50
Joined: Thu Jun 29, 2006 9:11 am

Postby Predat0R » Wed Aug 02, 2006 9:09 pm

Now such problem a problem as well as what to do in the game : there is a cube which I can operate and what to do further where the car where map, etc.?????
User avatar
Predat0R
 
Posts: 50
Joined: Thu Jun 29, 2006 9:11 am

Next

Return to OgreNewt

Who is online

Users browsing this forum: No registered users and 1 guest