So I'm working on a little 2D minecraft-esque game, and the objectcount expression doesn't seem to add up... Blocks that aren't in a surrounding chunk are destroyed, and this shows when you manually calculate the amount of blocks with a For Each loop. However, the objectcount doesn't reflect that these block are being destroyed, so I'm getting a count of thousands and the program comes to a crawl - even when the objects are being visibly destroyed.
File can be found here:
I'm getting an error trying to open it, "unknown behavior ID". Are you using any other behaviors that I should install first?
Ah, yes, sorry. The program uses the RandomPlus plugin, which can be found here:
I can't get it to install right... This is actually the first plugin I've ever installed. <img src="smileys/smiley17.gif" border="0" align="middle" /> Mind giving me some brief instructions?
Make a folder in c2folder\exporters\html5\plugins
Name it something like randomplus.
Put the files (common.js, edittime.js, runtime.js and PluginIcon.ico) in the newly created folder.
You're done, launch C2 it should recognize the plugin (don't do it while C2 is launched, it would need a restart anyway)
Huh, that's what I did. Still no luck. I'll redownload the files and try again I guess.
Edit: Nope, still getting the error. I even reinstalled C2 for the new release. Maybe I'm just destined to not have plugins. <img src="smileys/smiley5.gif" border="0" align="middle" />
Develop games in your browser. Powerful, performant & highly capable.
Hey Sully. Try downloading the plugin again, the files might have been out of date.