Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Yes it should be fully updated.   

ccbGetClosestNode actually works fine. It will show this error message when you run the default CopperCube referencing the new API without actually running the compiled binary - so check that. Or save yout CC exe file. Edit its name to "app" when using the free version and run the compiled binary or better still - run a shortcut to the binary with " -debug" at the end of the Target - ie something like:  "C:\SATURN 7\win32player.exe" -debug

I've got the Pro version and yes I added the Pro launcher to my custom binary options in coppercube.
Have the parameters changed in ccbGetClosestNode as the message also points to invalid or missing parameter ?
If you say you can run the demo without problems using the latest API then must be something I've not setup correctly.
I get surface sounds for the terrain and plants but not for the objects platforms wood, metal etc.

The original demo executable works fine but when compiling a new binary with the latest API that's where I get the error messages.

For the Pro version you have to use the "Pro_Studio_bin" binary version. Run it and should be fine. I have checked on both free and Pro version using Steam Pro and both work fine with no issues. Its something you havent done right. Download latest versions from Ithio again - just refreshed them again now for both the 'Terrain walk sounds' plus the latest API's version 2

(2 edits)

I've fixed the problem! The ccbGetClosestNode had incorrect parameters set in the behavior_Terrain_walkSurface,js script. I commented out the line below and replaced it to make it work with the updated APIV2 function:

// get fall collision node
if (this.using_water && collPos.y < water_height) { collideNode = this.water_node; }
//else {collideNode = ccbGetClosestNode(pos.x, playerY, pos.z, collPos.x, collPos.y-0.5, collPos.z);}
else {collideNode = ccbGetClosestNode(collPos.y);}