User Tag List

Page 4 of 37 FirstFirst ... 2 3 4 5 6 14 ... LastLast
Results 31 to 40 of 362

Thread: Beta: Tile Map

  1. #31
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    JimJam's Avatar
    Join Date
    Jun 2006
    Location
    USA
    Posts
    338
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Thumbs up

    I'm really loving it so far! I can really see the potential here. Writing a level editor in only a handful of lines is amazing. I wish I had this about a month ago. =P

    You said that HWA works but is a little slow. I have another HWA problem.
    Click image for larger version. 

Name:	fallguy.jpg 
Views:	244 
Size:	7.8 KB 
ID:	6451
    With HWA on, the levels draw in black & white. Collisions don't work as well, and my little guy falls into oblivion. Everything works great in Standard mode though.

    As for level format compatibility, why not allow the extension to save maps as bitmaps, like the old Doom games? I believe Grand Theft Auto used this method too. I'm currently using some Surface objects to save map data as PNG images, which I then send to my artist (on a Mac) who can edit the maps in Photoshop too. It uses the RGB data to represent tiles.

    Name:  Layer1.png
Views: 628
Size:  2.0 KB
    Red is the tile, Green is the tileset, and Blue is any other data. Thats the format I'm using right now.

    PNG offers some of the best file compatibility across many OS and programs. Of course a proprietary compressed file format is most ideal for distribution, but during edit time (when the file format may change a lot) its good to have a common-ground format that is easily convertible.

    The Tile IDs and HWA compatibility would be ideal, but no pressure or anything. Otherwise its perfect. I'll be messing around with this extension in my free time to see what I can do with it as it is.

  2. #32
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Hmm, I will add Surface interaction, so you could basically use Surface to load and save image files.

    I know collisions don't work in HWA, thanks. But that black & white issue seems odd - an MFA would be great, but HWA support isn't on top of my list right now

  3. #33
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Oh no... I'm working on an identical extension to improve my map object.

  4. #34
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Thankfully Looki has just eased your effort
    Working as fast as I can on Fusion 3

  5. #35
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Competition increases productivity! I hope to release a new beta soon... one with Flash. Still need some time though!
    Implemented Surface interaction, btw. Saves me the trouble of having to implement features like Flood fill, line drawing etc.

  6. #36
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export Module
    Outcast's Avatar
    Join Date
    Jan 2011
    Location
    Sweden
    Posts
    3,156
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Cant wait for the Flash version!

  7. #37
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Flash will take a while I'm afraid. I'm currently unable to work with the necessary development software.

    We've decided to split up the extension into two single ones:

    The 'Tile Map', which handles all the data: You load map files, manage tilesets and the layers with their tiles.
    And then there's the 'Tile Map Viewport', which is basically what Tile Map does as well, right now: Render the level. You attach a Viewport to a Tile Map to render its content. This has several advantages. It's better design. If an action is in the Tile Map object, you'll know that the setting will be stored in saved map files. Plus, you can do things like split-screen easily - or, as someone requested earlier, have a layer above and behind the player A beta should be coming within the next 24 hours.

  8. #38
    Clicker Fusion 2.5 DeveloperiOS Export ModuleSWF Export Module
    Ryan's Avatar
    Join Date
    Nov 2008
    Location
    Australia
    Posts
    1,275
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm working on a similar engine at the moment. The limitations that I'm aware of are: tiles don't exist when they're off screen, so you can't test for enemy platform collisions or do enemy path-finding when they leave the screen... the enemy is basically frozen until they re-enter the game frame. And 2) You need to load the whole map and all textures into memory, which can become large in itself if you're trying to do something like a 2D Skyrim or Grand Theft Auto.

    I'm working towards dynamically loading the map and new textures from hard drive files as the player approaches new zones, ie. I can store the whole map in 128x128 zones and load 4 of these zones on startup, placing the player in the centre of this 2x2 zone grid. Then I unload from the left and load to the right whenever the player walks 128 tiles from left to right... This is the only way I can picture a truly unlimited map with no load times... well, only limited by the hard drive space.

    Any thoughts on implementing this?

  9. #39
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    Basically, I think that advanced programmers should be able to implement this themselves in the extension. You'll be able to "paste" map files into the current map. So you'd basically start off with an empty map and keep filling it. You can also load and unload tilesets at wish - so it should be possible. I can see why you want it, but it's not something that I want to spend time on, because it's a bit complicated, you know - and while I want this to be a cool extension, I can't spend that much time on features that I'm not being paid for Besides, you can load huge tile maps without having to worry about memory or anything... as I stated earlier. Even if you were to have maps as big as 2000x2000 tiles, you'd still be in an 8 MB range. And I dare say that MMF games eat quite a bit anyway. It's not the most efficient approach for sure, though.

    Btw, JimJam, this one's for you

  10. #40
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)
    New beta.

    All older MFAs and saved tile map files are now broken.

    http://clickteam.info/looki/Extensions/Beta/TileMap.zip

    Changes:

    More expressions.
    More actions, specifically ones related to the "cursor". You can now exchange data with Surface, for example.
    Changed file format, allows me to add stuff later without breaking compatibility.
    Split up extension into two parts, data handling and viewport.

    I'll make some new examples, I guess, but it shouldn't be too hard to get started.
    Put an instance of both extensions into the frame.
    Start of frame: Assign viewport (select the viewport object)
    Then, all you need to do is add a layer and set tiles. The default tileset is 0, which is the first one - you can add them in the properties of the Tile Map extension or load them manually via actions. Hope this was enough to get started!

    Known bugs:
    HWA issues
    Collision issues when having 2 instances of a viewport object

Page 4 of 37 FirstFirst ... 2 3 4 5 6 14 ... LastLast

Similar Threads

  1. Tile Map object example: Multiple tile sets per layer
    By happygreenfrog in forum File Archive
    Replies: 0
    Last Post: 2nd January 2014, 09:24 PM
  2. [Beta] Tile Platform Engine
    By Eliyahu in forum Extension Development
    Replies: 17
    Last Post: 16th September 2013, 05:31 PM
  3. Beta: Tile Map
    By Looki in forum SWF/Flash Export Module Version 2.0
    Replies: 10
    Last Post: 3rd May 2012, 09:24 PM
  4. Tile integration
    By c3ooo in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 10th August 2010, 07:45 AM
  5. tile sizes
    By uprize in forum Hardware Accelerated Runtime
    Replies: 11
    Last Post: 21st June 2009, 02:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •