Stencyl feature (?) idea: Change Tiles by another Tiles in a huge map (auto)

2DIndie

  • Posts: 50
Hello,

i saw a function to change tiles in a huge map easly. :D
So you can make your map ideas faster...

Think it would nice to have it in stencyl too. ;)



Source: https://learn.adafruit.com/makecode-arcade-platform-level?view=all#level-design-example-3027791-18


2DIndie

  • Posts: 50
And how can i do that? ::)

Luyren

  • *
  • Posts: 2336
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

2DIndie

  • Posts: 50
Ok, but isn't it more complicated than the one I suggested? ???
Did you look at my postet link above?

The graphic looks more like deleting a tile in the game, e.g. if the player smashes something than I thought. :-[


« Last Edit: August 22, 2020, 09:10:53 am by 2DIndie »


yoplalala

  • *
  • Posts: 1609
Hmm what do you want to do ?

Replace all tiles of  certain type A with tilles of type B ?

( I thought it was this, but now that I see the code you're posting, I'm doubting)

2DIndie

  • Posts: 50
Visit the url in the first posting and read. ;) The first screenshot is showing what i want to do. If you read it you will understand it (i hope so). :-[

yoplalala

  • *
  • Posts: 1609
I'm not sure :P

you want to be able to change an existing tile with another tile  when you release the mouse on the tile ?

2DIndie

  • Posts: 50
No! ::) I don't know why it is not understandable. :-\

Build a level with tiles (see link above).
It could look like this:
https://cdn-learn.adafruit.com/assets/assets/000/075/531/original/gaming_tile_map_full.png?1557512426
After that change each tiles with another one - how to do it see screenhot in first posting.
This option allows you to change tiles quickly.