i've done it but the lamest way a text file but now i have a new problem how can i make one tile appear over another cous when i do it the tile i want to be on top goes on back
i've done it but the lamest way a text file but now i have a new problem how can i make one tile appear over another cous when i do it the tile i want to be on top goes on back
Just draw the tile you want to be on top after you draw the tile you want to be underneath.
[size=10px][ Join us in #pgd on irc.freenode.net ] [ Sign the Petition for a Software Patent Free Europe ][/size]
hm.. well i draw them via the dxspriteengine.draw so how can i determine which is first isn't there some other way layering perhaps
hm... i've solved the problem but i dont think its the best way
i am using <varname>[counter].dodraw
Have you tried using the Z-order of the Sprites.
(PS I think its the right way but I really dislike using the DXSpriteEngine)
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
yeah thanks cairnswm the z-order did it
btw why dont you like using the dxspriteengine ?? just your decision or there is some reason ?
I have found the object model used for the dxSpriteEngine very unfriendly and it difficlt to add custom actions to the sprites. I made a game (Desperate defense - look under announcements) with the DXSprite Engine but had so much trouble that I just threw the game away because I couldn't do what I wanted - and it is really a simple game.
Ok - I just went and relooked at my game - The DXSpriteEngine model has no way of allowing custom colision shapes. Based on the feel of the game I needed very small collision blocks within the enemies (Otheriwse the game felt wierd) Because of the logic used to define shapes and their collision rects I had to go and change basic code within the DXSprite.
(Actually my insistence on using DelphiX is a bit pathetic as I only really use the DXImageList and DXDraw objects....)
William Cairns
My Games: http://www.cairnsgames.co.za (Currently very inactive)
MyOnline Games: http://TheGameDeveloper.co.za (Currently very inactive)
Bookmarks