Updated my post on Tile Maps

0 favourites
From the Asset Store
We present to you “Post Apocalyptic Trailer” – our newest hard hitting, bass rumbling designed movie trailer collection.
  • Earlier I wrote a post on my blog about using Construct 2 to create platformers for Firefox OS. Aphrodite was kind enough to point out that it was more efficient to use tile maps than to pull in tile images one by one. So I wrote a new tutorial just on tile maps. I discovered that Construct 2 will remove white space and resize quite nicely as well. Thank you, Aphrodite!

    Here's my post on Tile Maps. http://firefoxosgaming.blogspot.com/2014/10/tile-maps-in-construct-2.html.

    And as always, I'm happy to know if I goofed up! I'm going to continue to write about Construct 2 for the Firefox OS audience, which is HTML5 all the way, same as Construct 2.

  • Bob Thulfram this is not tilemaps... this is sprite.

    In tilemap, you can't even access the animation.

  • I may have my terminology wrong. I am inserting a tile map into a sprite and using the animation to determine which image will display. But I don't think I ever referred to a tilemap object. I'll add a note to my post, but I'm pretty vague on what the TileMap object does and why I want it.

    I see that there is a tilemap object which is defined at https://www.scirra.com/manual/172/tilemap. And another entry on Tilemap Bars at https://www.scirra.com/manual/171/tilemap-bar.

    For just putting down tiles, it seems like the method I used would be simple enough. But what are the real advantages of the Tilemap object? It looks more complicated.

  • Well... I would advice you to learn some more before you start posting things on your blog - not too be rude but to prevent people from laughing after reading your posts.

    Like you have noticed. Your terminology is all wrong. You are inserting a "sprite sheet" into a Sprite object to use it's frames as tiles on layout.

    And if you don't know the difference between Sprite and Tilemap that only means you need to learn a bit more

  • The beauty of a blog is that you can revise your posts. If my terminology is wrong, I'll correct it. I can see that sprite sheet is the proper term. Unlike many others, I'm not worried a whole lot if people laugh at me. I've written more than 100 posts on Firefox OS programming and a few on using Construct 2 for making games for Firefox OS.

    Laugh all you want. I hope it makes you feel good. It doesn't make me feel bad and the result will be that the mistakes will get fixed. In general it sounds like my post works.

  • By the way, shinkan, I looked for a Construct 2 glossary and didn't find it. Is there a glossary?

    My experience with tile maps and sprite sheets is that the terms are often used interchangeably in the game industry but I could always be wrong.

  • But what are the real advantages of the Tilemap object?

    It will make dungeon generator much easy, you can manage your tiling by array, etc. This will also let you to provide user-modded mapping much easier. In short, it made what you did less painful and easier to maintain.

    It looks more complicated.

    It simplify what you did.

    My experience with tile maps and sprite sheets is that the terms are often used interchangeably in the game industry but I could always be wrong.

    In C2, sprite sheet is the compiled tile of sprite animation, I think.

  • I'm not laughing at all, You missed my point.

    What I wanted to say is that you should get more research and knowledge before you post that kind of tutorials on pretty basic stuff, so you don't need to make that fixes in future. If you make sure that all informations you are providing are correct that will make you look like a professional. But if you write tutorials and fix them every time someone puts a comments "this is wrong" then it clearly says you have no idea what are you doing and people will noticed that immediately and stop reading them.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • shinkan I thought about your post a bit more and I think you are wrong. Not about the words "sprite sheet" and "tile map" (although the fact that "tiles" are in the sprite sheet is a bit confusing), but more for your unasked-for advice.

    While your advice might have been fine more than 50 years ago, the world today is changing way to fast to sit on the sidelines and study until I know enough. Everything is changing and people's terminology is likely to be a bit loose.

    Yes, there is a difference between sprite objects and tilemap objects. But the files that are pulled in aren't as clearly defined. The sprite sheet I used was a set of tiles and it looks just like a tile map you might see on the Tiled web site (except that Tiler tile maps also have XML data and the proper name for those tile maps is a TMX file.

    I don't think you were helpful in your criticism because you didn't say something like:

    [quote:2y6iq5ag]Use the term "sprite sheet" when referring to sprites and use "tile maps" when to the tilemap object. A sprite sheet is a simple art file but a tile map is ....

    A glossary would be really helpful. Maybe there is one. Maybe not. But if there is, it would have been helpful to point to it.

    Everything is moving very fast and names are changing. Most of the people who are working with Construct 2 seem to be aware of this and try to be helpful if someone doesn't understand some part of something. While I love Construct 2 a lot, I feel like it's isn't completely a finished product (I'm looking at you, Android and iOS) and I don't think it will be for a while because browser adoption of HTML5 is still a bit spotty and because HTML5 is a broad collection of technologies, some of those are baked, some are half-baked, and others are still a dream (MIDI, for example).

    The idea of me making one mistake and people laughing at me and not reading my blog is not appropriate in an age where things are changing very fast, and the rate of change is accellerating. People who are successful in cutting-edge technology learn to not be distressed by loose terminology and pay attention to the essentials. My blog post (so far) seems to be accurate and I think will be useful for people who are trying to adapt Construct 2 to a Firefox OS mobile-only UX.

    I'm sharing my blog posts with the Construct 2 audience in hopes that I'll find out if I've made any significant mistakes and I will change my post to say "sprite sheet" instead of "tile map". But my main focus is on using HTML5 to make games for the devices that support HTML5 (which so far is Firefox OS, which Amazon recently jumping on the bandwagon, Tizen falling off, and Microsoft marching in the wrong direction). If you read my other blog posts, you'll see that they are covering HTML5 in great detail. Everything I do is tested and works.

    I am reminded of a saying I heard many times when I worked for IBM (a long time ago). "There are three names for everything and every name has three meanings."

  • > But what are the real advantages of the Tilemap object?

    >

    It will make dungeon generator much easy, you can manage your tiling by array, etc. This will also let you to provide user-modded mapping much easier. In short, it made what you did less painful and easier to maintain.

    > It looks more complicated.

    >

    It simplify what you did.

    > My experience with tile maps and sprite sheets is that the terms are often used interchangeably in the game industry but I could always be wrong.

    >

    In C2, sprite sheet is the compiled tile of sprite animation, I think.

    Well, I'm not at all interested in making dungeon generators or user-modded mapping.

    Simple is in the eye of the beholder.

    A sprite sheet is a compiled [set of] tiles [used for] sprite animation. But, Ashley has figured out a very cool hack to use this as a way to place tiles on a layer. He gives a good example of this use in his tutorial on platformers at https://www.scirra.com/tutorials/253/how-to-make-a-platform-game/page-2. This is a cool tutorial, although the Construct 2 user interface has changed slightly and the wording for importing a sprite has changed from "Importing a sprite strip" to "Import frames" followed by "From sprite strip...". And Ashley talks about tiles and tilesets and the tiles.png file.

    The tilemap object sounds useful for the things you recommend, but not for the simple hand-placed layouts I'm working with. But thanks for your answers and it gives me a clue about why I might or might not want to use the tilemap object.

  • This forum has a lot of beginners and people who are new to game development, it would be ethical if you remove your blog link or amend the terminology as quick as possible. This can cause misleading idea on C2, I'm sure you don't want to do this to beginner, it can cause snowballing effect.

    Note on the "tile" terminology, I think it would be much helpful if you don't force the term that is accepted outside C2 onto the community, because it is fairly established here that "tile" is referenced to tile background and tilemaps. For "sprite", people would just call it animation or just sprite. Use of terminology would certainly change, if you found something confusing, you should be requesting for terminology amendment from Ashley, not to use them to make your point.

    I agree with shinkan, experienced users might laugh at the mishap, but misleading beginners is a bigger concern. This is a serious suggestion, I'm not joking.

  • My point was mainly about "And if you don't know the difference between Sprite and Tilemap that only means you need to learn a bit more"

    Sprite and Tilemap as a different object you use in C2 - not "sprite sheet" nor "tile maps". So I'm not really sure why you keep talking about glossary, term etc.

    And after reading through some of your other posts, you have a lot to learn.

    [quote:hlq7nz3y]...the world today is changing way to fast to sit on the sidelines and study until I know enough

    sure, good luck.

  • Tilemap VS Sprite (arranged and used in a Tilemap manner)

    Go and make a Boulderdash-style map/game. lets say 30 x 30 tiles (this is not that big, gameplay-wise) using sprites (Sprite Object) as tiles. Preview on Android. Write down CPU/FPS. Then do the same thing with Tilemap Object (again 30x30 tiles). Then compare the results of both tests.

    And this is just a small BASIC example. Don't get so butthurt when people criticize you. Especially when they are someone far more expirienced then you are. I would take their advices regardless of their tone (which was rather neutral in this case, if you would ask me. ). You learn from the master, you teach the aprintences. This is how it works.

    As for the terminology - things changes, yes. But the basics do not. Circle won't suddenly be called triangle. Even in 1000 years. Water won't burn and fire won't freze. Sprite sheet, tilemap, sprites, tiled bg, e.g - they never change. They have the same meaning from over 20-30 years. If you are not very familiar with them, it means you lack some basics. Ergo - your competence as a tutor is questionable. And this is what Shinkan has pointed out, i'd say politly. And believe me - out of all the people on this boards or/and the internet - he was the nicest commentator that could come around. It could been worse.

    It could have been me.

  • [quote:88wlxwk3]My blog post (so far) seems to be accurate

    In my opinion importing Kenney's tiles to a Sprite object (as an animation frames)

    is not only ignorant, but also totally useless. And it has nothing in common with Tilemap object.

  • This forum has a lot of beginners and people who are new to game development, it would be ethical if you remove your blog link or amend the terminology as quick as possible. This can cause misleading idea on C2, I'm sure you don't want to do this to beginner, it can cause snowballing effect.

    Note on the "tile" terminology, I think it would be much helpful if you don't force the term that is accepted outside C2 onto the community, because it is fairly established here that "tile" is referenced to tile background and tilemaps. For "sprite", people would just call it animation or just sprite. Use of terminology would certainly change, if you found something confusing, you should be requesting for terminology amendment from Ashley, not to use them to make your point.

    I agree with shinkan, experienced users might laugh at the mishap, but misleading beginners is a bigger concern. This is a serious suggestion, I'm not joking.

    I'll change the terminology in my blog post.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)