Ok, I uploaded another one. Not much different, though I altered the demo level a little bit. I also included a readme. The controls have changed a bit, so see the first post or readme for that.

Known issues for anyone wanting to improve it:

1. Grid snap quirk.

a. If an entity is on an elevation and is restricted to movement either in the X or Y direction(by holding down ctrl and alt keys), the entity can fly right off the block and into empty space. It can be released and will hover in midair. This is directly related to the fact that the Z position of the entity remains consistent whenever a restriction is true. I consider this a serious issue. A workaround is to simply disable restricting.

b. When an entities' movement is restricted and it is on the main ground plane, it cannot be placed on an elevated plane. It is very easy to make it do this, however this leads to the entity becoming elevated if the mouse cursor passes over an elevated plane and the entity is nowhere near it. I chose to eliminate placing an entity on an elevated while it is restricted because of this. If this issue can be resolved, then letter a.will also disappear.

c. If snapping is turned off(setting the snap vars to 0), the entity will sink into geometry up to it's origin and will hang off of elevated blocks by the same distance. Not a serious issue if you are using snapping(which is recommended).

2. There's no kind of entity on entity handling or entity managment period

As is, an entity can be dragged on top of another one and released from the mouse cursor. Ideally, if this happens, the entity should not be able to be released and neither should the other be able to be clicked on while the active entity is on top of it. Also, there isn't really any other type of entity management. This is just as serious as the one above.

3. Wobble cam when smoothing is > 0 and you rotate the view

Smoothing is what makes the camera gradually move from one position to another. It works great when you move the player around, but once you start rotating the view(right mouse button), the view will start to wobble. I have no idea how to fix that and the smoothing code is near the bottom of the cam.wdl. Smoothing is always 0, as is, so it is not an issue unless you make it nonzero. I consider it a minor issue, unless you really want the smooth movement.

If anyone manages to squash any of these, please PM me or post your fixes here if you wish to share.


My User Contributions master list - my initial post links are down but scroll down page to find list to active links