Have you checked the Sprite object source to see how it sets animation frames and speeds? Are you missing a call to update the animations or something similar?
Oops, yeah the correct syntax is ExtObject. It should work OK with a static member variable declared like that. I'm not sure why it wouldn't, a couple of other behaviors already use this method to access other behavior's data
Did you install the DirectX optional components with the Construct installer? If you skipped that dialog and didn't install the DirectX components, you may be missing the legacy shader compiler, which could cause effect errors.
Suffice to say, yes or no
If it has to be a yes or no answer, then no.
In C++, static class member declerations also need to be declared in a .cpp file so the linker knows about them. The following line in runtime.cpp should fix it:
vector<CRunObject*> CRunObject::sameBehavior;[/code:2nr3odo6] This is not an SDK specific thing, you need to do this any time in C++ you declare a static member.
That's right, and you would do something like:
sameBehaviors.push_back(this); // in OnCreate()
sameBehaviors.erase(find(sameBehaviors.begin(), sameBehaviors.end(), this)); // in destructor
You'll need to include <algorithm> for std::find.
They'll still work in older versions too, because they're binary compatible. But any features which have changed (the renderer, filter etc) won't work in older versions, but I don't know of any plugins this would affect.
Can you post a .cap showing what you mean? It should work fine no matter the shape of the object.
Develop games in your browser. Powerful, performant & highly capable.
It's not anti-aliasing, it's called linear filtering. The option Rich mentioned will change the mode for the entire application, but you can also change it per-layer in layer properties from 0.99.3.
Why not just give your groups appropriate names in the first place? This sounds like a tool specially designed for people who have made mistakes in organising their events
I don't know. If you're not already proficient at making 2D games, 3D game creation is a whole new level: an original 3D game needs skilled 3D modellers and animators, world designers, and sometimes complex 3D maths which can be a few levels beyond the 2D geometry everyone's taught in schools. Construct might move in a 2D-gameplay-with-3D-graphics direction, but I'm not convinced there's a market for a full 3D 'easy' game creator. Given the high level of skill required in other areas, you may as well learn proper scripting...
There were lots of big code changes from 0.98.9 to 0.99 which is why some people's files broke; from the current unstable release (0.99.3) to 1.0 there will only be bug fixes so it shouldn't break anything significantly. So I would recommend waiting for the next stable build then starting with that - in fact, I've started my own large project in the as-yet unreleased next build of Construct
Member since 21 May, 2007
The official blog for all things Construct and Scirra run by our employees!
Wider technology issues from Ashley's perspective.