Hm, I'm still a bit confused... Let's say I want to randomly generate my map and not load anything from xml... How would I construct a layer (and which one do I need) and make let's say the cell at the position [5][3] have a certain tile as background?
Sorry if I'm talking nonsense, but I'm new to cocos and the tutorial doesn't really cover this :< On Tue, Jun 9, 2009 at 5:14 AM, Lucio Torre<[email protected]> wrote: > > On Tue, Jun 9, 2009 at 9:05 AM, Mathias Roth<[email protected]> wrote: >> >> Hm, I still don't quite get it, could you whip up a quick example >> where you can move one sprite from tile to tile? (Similar to the >> fights in Heroes of Might and Magic 3 >> (http://img.photobucket.com/albums/v607/tigris/entertopia.gif) , but >> with rect tiles) >> > > Take the test_tiles.py example, and change the movement of the car so > it just moves from tile center to tile center. This has nothing to do > with tile maps. > > Lucio. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cocos-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
