[Mess] BloodyCake for 1.5.4

betajaen

10-05-2009 12:17:05



What is it?

BloodyCake, or Cake is a framework and a test application for Newbies and Betajaen. It isn't designed to be used as a base of your application, but just a small application for you to learn NxOgre or try things out.

To Install (for Ogre3D)

You can download BloodyCake and once downloaded, unzip it to the same PARENT folder as your NxOgre folder. Open the cake solution file (in source/msvc) and compile the OgreCake project. If you have the OGRE_HOME environmental variable correctly set, it will copy the required DLL's over to the Application folder once compiled.

To play with

Double click the executable and a window should appear. Your mouse pointer has changed to nice red one. You can click on the two buttons at the top of the screen to exit or turn on the visual debugger.

You can move the camera around with the WASD keys and QZ. Hold down the RMB rotate the camera.

Left click and drag onto a Actor or Body to move it, or just hover one and spin it using the mouse wheel. If you want another body, click middle click for where you want it to be.


To add your own code into Cake

Although OgreCake has seven files, you only need to work with one; Cake.cpp. In there are four functions that are well documented for you to modify cake with. If you venture into other parts of Cake, beware there be dragons. :)

kaneyxt

11-05-2009 03:13:29

Oh, why does it only have VC9 solution file? But I am using VC8 on my machine...

westpointer

11-05-2009 03:42:27

Oh, why does it only have VC9 solution file? But I am using VC8 on my machine...
I have the same problem, I use VC8 to compile NxOgre 1.5.4. Hope VC8 version BloodyCake for 1.5.4 will be provided :)

spacegaier

11-05-2009 07:24:10

Normally betajaen provides both versions. This time it seems as if he forgot one, but you can change it yourself:

Just open the .vcproj file in a text editor and change the version number from 9.00 to 8.00 (fourth line or so), save it and open the whole thing in VisualStudio and voilĂ ...it works :D .

betajaen

11-05-2009 09:30:45

Yep. My magic python .sln convert script doesn't do the Cake projects. But next time, I'll try and remember to provide both VS solution files.

kaneyxt

12-05-2009 02:47:06

Normally betajaen provides both versions. This time it seems as if he forgot one, but you can change it yourself:

Just open the .vcproj file in a text editor and change the version number from 9.00 to 8.00 (fourth line or so), save it and open the whole thing in VisualStudio and voilĂ ...it works :D .


Yep, after this change, I can open and compile the cake. But I have to manually add PhysX include folders and lib folder to the PhysXCake, is it the right way? When I run the PhysXCake, it just quits automatically without doing anything. Does someone know what I miss? Thanks!

betajaen

12-05-2009 11:15:24

You don't need to use the PhysXCake program. Just use OgreCake.

neoranga

19-06-2009 13:21:22

Well,

Does anyone have a solution ? :p

Compiled, dll in the application folder, double clicked on ogreCake then died.

xekon

21-07-2009 19:26:01

YAY BloodyCake!! I am able to stack about 5 or 6 boxes before the top ones magically slide and they tumble down hehehe. So I have a TOP Score of 6 boxes high. if you middle click ontop of a box then ontop of that box you can stack them. Anyone beat 6 boxes tall?

on a side note, what type of attribute would you change so the boxes could be stacked to say 14 boxes high or so, before they tumble.

betajaen

21-07-2009 19:59:23

Decrease mass of the boxes as they go up, or reduce the gravity of the scene.

f00bar

08-09-2009 22:25:35

the link is broken. could you please re-upload it (or put it into git)?

[edit]
thanks a lot, in that second I found that location myself somehow and just wanted to post the link (and found an earlier download on my old computer, but it doesn't like my usb-stick anymore, @#!# windows)

betajaen

08-09-2009 22:44:39

Here you go.

http://static.nxogre.org/releases/cake/