A guide to level creation with Tiled [ + how to use it with pygame ]

A guide to level creation with Tiled [ + how to use it with pygame ]

Clear Code

2 года назад

127,190 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@JonelKingas
@JonelKingas - 05.02.2024 05:24

Im pretty sure example unity, especially Godot has everything needed for tiling making this program useless, in 2024 i dont really see why i should use this...

Ответить
@PeterRichardsandYoureNot
@PeterRichardsandYoureNot - 16.01.2024 20:55

tryingt o follo your tutorial, which has been great....until.....Tiled. Downloaded latest version for Mac OS and went to give it a spin and it literally dies constantly. just flat out freezes, or ui fails to respond or it just locks up and crashes. Very frustrating piece of software.

Ответить
@annwitbrock9112
@annwitbrock9112 - 12.01.2024 23:09

Came back to this a year later to solve a bug that meant only Objects and Floor showed up.

Floor, Ground, Plant and rocks, Pipes layers are render order dependent, so the Floor needs to happen first and the hasattr is not as good as selecting the layer names individually, because of the Floor overwriting things.

I removed 'Floor' from the tuple and everything turned up.

Having now got the ground, vegetation, pipes and objects to appear in the top corner, I still have to figure out why the floor is rendered in grey rather than brown. I think it is processing but not rendering, but I'd expect to see black in that case, but commenting out the floor loop is also grey. So more debugging, but at least progress.

Also found the continuous path thing seems to not be working now - maybe something in Tiled 10.2? Maybe I overlooked something. It worked fine a year ago, but I updated the Tiled version.
So did some manual placement to get a few pipes into the top corner.

Ответить
@Shadowthevampire
@Shadowthevampire - 10.01.2024 12:07

I desperately need something like this but for the ipad :(

Ответить
@saiphanie
@saiphanie - 07.12.2023 23:23

This has been suuuper helpful! The only remaining question I have about this program is, am I able to select a chunk of tiles and drag them to a new position? (As opposed to manually erasing and re-stamping a section) The selection tool works a bit differently than I'm used to and I only seem to be able to drag the entire layer.

Ответить
@3d_block408
@3d_block408 - 19.11.2023 12:55

Thank you so much for the video ❤

Ответить
@_ipsissimus_
@_ipsissimus_ - 14.11.2023 19:30

I love it. excellent work.

Ответить
@angeperez3906
@angeperez3906 - 03.11.2023 07:03

Thank you for this video, it is very helpful, but I have a question, how could the shapes created in the object layer be used for things like collisions or detecting elements in that area? Because I would like to use them that way but I don't know whether to do so that this shape like a sprite is the most recommended

Ответить
@louisdaza1923
@louisdaza1923 - 11.09.2023 19:52

Thank you for everything you do

Ответить
@michaelleonard9877
@michaelleonard9877 - 06.08.2023 05:50

i love you other tutorials but this one is very confusing. it is soooo strung out and a bit all over the place. can you make a more structured of this is how you do it step 1, 2, 3? more planned out?

Ответить
@andre0000000007
@andre0000000007 - 21.07.2023 09:56

? so where's the playing of the map that was created in tiled?

Ответить
@rod0fdiscord
@rod0fdiscord - 07.07.2023 07:21

getting the error: No module named 'pytmx'
i have installed pytmx

Ответить
@misterdneh
@misterdneh - 18.06.2023 19:56

New tileset button doesn't exist this program is so annoying to use with not enough straight forward guides

Ответить
@hsh1957
@hsh1957 - 11.06.2023 23:42

You really make good videos, i am not a engish speaker but i understand almost everything so good job

Ответить
@emperor8716
@emperor8716 - 02.06.2023 18:32

just 2 lines of code and i already get an error.

the code:
from pytmx.util_pygame import load_pygame
map = load_pygame('my.tmx')

the error:
...in _cast_and_set_attributes_from_node_items
casted_value = types[key](value)
ValueError: invalid literal for int() with base 10: '0.0151515'

google is not helping in any way, i await your response

Ответить
@taunhawk9888
@taunhawk9888 - 26.05.2023 23:15

Great tutorial! Thanks for taking the time to share your experience

Ответить
@SlowPersuit
@SlowPersuit - 15.05.2023 20:14

sorry for a sad question, but you state you have used CSV import (yep done that) but also the other method (pytmx) & have an example of using this. I can only find the CSV used & don't quite understand the pytmx thingy- can someone point me at this please? Cheers!

Ответить
@littleredrose
@littleredrose - 05.05.2023 17:48

how can I get the tileset to show up on the side on the same window as the game map? I accidentally crossed it and I don't know how to get it back. the tile sets keep opening in a new window so I cant use them

Ответить
@cbmeeks
@cbmeeks - 05.05.2023 16:52

I sponsored the Tiled project for about two years. Finally starting to use it. LOL. Great tutorial.

Ответить
@darwishtnt3031
@darwishtnt3031 - 09.04.2023 13:38

please make a video on how to scroll tmx file maps

Ответить
@darwishtnt3031
@darwishtnt3031 - 08.04.2023 02:56

how to scroll through the thing

Ответить
@windgod9442
@windgod9442 - 04.04.2023 16:24

how to check collision in Tiled?

Ответить
@jstro-hobbytech
@jstro-hobbytech - 01.04.2023 15:01

I will never afford a keysight dishclothe but I don't let that get me down or have gear envy haha

Ответить
@greenin5537
@greenin5537 - 13.03.2023 02:02

anyone knows how to get the terrain to work with a platformer/sidescroller tileset?

Ответить
@RinGoGuntheR
@RinGoGuntheR - 09.03.2023 10:29

And how do you tackle the terrain problem? Nothing was said about that :(

Ответить
@albertsun8725
@albertsun8725 - 26.02.2023 02:47

this video is amazing

Ответить
@lsf3og
@lsf3og - 14.02.2023 11:49

Thanks very much.

Ответить
@AlesdairProductions
@AlesdairProductions - 02.02.2023 00:23

Other than making the graphics myself, where can I find the graphics for tiled?

Ответить
@SWE-from-Sweden
@SWE-from-Sweden - 21.01.2023 20:52

beautiful video, thank you for your time

Ответить
@raiseyoureyes70
@raiseyoureyes70 - 29.12.2022 21:26

Very detailed video🔥, but I still got the problem. I can't draw. Just a transparent blue square running after the cursor even though the Tileset has loaded. Please tell me what could be the problem?

Ответить
@basicallybrand
@basicallybrand - 24.12.2022 06:04

what is load pygame?

Ответить
@theonlydhruv7888
@theonlydhruv7888 - 22.12.2022 00:14

Question, can you make fake tiles? when I say fake tiles I mean tiles that are like in the background(behind he terrain tiles), are slightly dimmed and you cant collide with them?

Ответить
@dragon._.9646
@dragon._.9646 - 08.12.2022 10:28

Everything's amazing except that when i load my 2d tile map, its small. I have no idea how to make it bigger so it could be full screen. Is there a way to make the map bigger using the pygame or pytmx modules???

Ответить
@walkercitodt
@walkercitodt - 27.10.2022 19:13

Hello! I'm having an error with the PyTMX module, when I install it (with pip ir even pip3) and wanna call it in the code I get an error: NoModuleName 'pytmx'

Heelp :/

Ответить
@bonsaipropaganda
@bonsaipropaganda - 20.10.2022 19:42

thank you so much for your free and super high quality tutorials as always. you are helping me learn to program. I'm having trouble finishing this video. when I tryto get the object's type rather than showing the type (for example: 'shape') python is just prints it out as 'None'. I assume this is something I did wrong inside of Tiled. thanks for your videos again and thanks in advance to anyone who might help

Ответить
@jafarrafiq444
@jafarrafiq444 - 12.10.2022 02:54

Nice man ty

Ответить
@E_lec
@E_lec - 10.10.2022 17:19

I realized that the object layers did not export, when you used the .csv option? Anyway to fix that so you can export the object layers as a .csv file?

Ответить
@Hiramale
@Hiramale - 07.10.2022 01:54

Hi! I have a problem, when using the TMX file on python, I cant get the object type, on tiled it says class insted of type, so python returns None :(

Ответить
@mohammedmahairy9235
@mohammedmahairy9235 - 04.10.2022 03:39

Great video, the menu works great

Ответить
@Impexiya
@Impexiya - 04.10.2022 01:10

THANKS FOR THIS IV BEEN SEARCHING FO SOOO LONG

Ответить
@user-fc8cq5vx8m
@user-fc8cq5vx8m - 25.09.2022 07:14

soft... isn't it much harder to hear everytNice tutorialng as you go tNice tutorials way?

Ответить
@rajivjha47
@rajivjha47 - 24.09.2022 07:27

Frrrrr tNice tutorials man just straight forward !

Ответить
@ayoub6418
@ayoub6418 - 19.09.2022 09:47

, during the second wave..

Ответить
@rannoely8757
@rannoely8757 - 19.09.2022 07:37

Take ti, enjoy it most of all and results will follow

Ответить
@paulpaul1613
@paulpaul1613 - 17.09.2022 18:43

wow

Ответить
@acabtitano4631
@acabtitano4631 - 15.09.2022 21:17

(Lo-Fi, Trapsoul, CNice tutorialllstep, Trip Hop, Rap, Trap, Nice tutorialp Hop)

Ответить