The Daily Click ::. Projects ::. 2.5 Dimensional Platforming useful for BEATemUPS
 

Project: 2.5 Dimensional Platforming useful for BEATemUPS
Project Started: 21st January, 2009 Last Update: 6th October, 2009
Project Owner: MBK Project Members:
Project Type: Experimental Engine for MMF/TGF 1 or 2 Project Progress:

Front to Back Viewing Trouble
Posted 21st Jan 09, by MBK  
For some reason, the bring to front and bring to back coding doesn't mesh mix well with the platforming gravity code.

Both codes work perfectly seperate, but when I add more platforms to the "Visual Layers" code (that's what i'm calling it), it buggers up and forgets about the spread values, making the falling logic messed up. It basically stops the fall on all platforms no matter what platform shadow the character shadow is over.

So, currently I'm in the process of re-coding the visual layer code into the spread value and platform code.

If someone knows of a good way to make a 2.5d platformer, (maybe with a 3d grid or something?) ... I'd appreciate it if you could send me an example or post it here in the comments.

Thanks for reading ! ... and Good Night errm, morning to you all for now. Peace. zzzzZZZzzzz
ZZZzzzzzZZzzzz

Posted by Knudde (Shab) 22nd January, 2009

Just use the layer object and have them autosort.
 
Posted by alastair john jack 22nd January, 2009

Didn't think that was available in TGF?
 
Posted by MBK 23rd January, 2009

Some things, this being one of them are much more difficult in TGF1, but I view it as an excercise in coding skill development, the more known ways of working around situations available to me, the more apt I'll be at thinking outside the box in later projects. I do need help however, as understanding why something works is much better than knowing many ways that do not work.

If it can be done in TGF1 without extensions, I'd prefer a solution like that, but if it comes to the point where I feel that too much time has been spent, and I must move on, then I will use an extension if I know of no other way.

Is there even a layer extension in TGF1? ... I'm with alspal on this, never knew there was such a thing. Where can I get it in case I need to resort to it?

 
Posted by Knudde (Shab) 24th January, 2009

Oh, didn't realize you were using TGF 1. I never found a truly elegant solution to the overlap problem, what I ended up doing was making a loop of "bring to Front" events based a countdown contained in one of the 3 variables (Essentially useless, as 3 values per object isn't nearly enough).

Getting around TGF limitations is truly one of the things I miss about it. I love breaking it to my will.
 


 



Project Forums


Favourite

Advertisement

Worth A Click