TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Stencyl feature (?) idea: Change Tiles by another Tiles in a huge map (auto)
Pages:
1
Stencyl feature (?) idea: Change Tiles by another Tiles in a huge map (auto)
2DIndie
Posts: 51
August 22, 2020, 06:16:03 am
Hello,
i saw a function to change tiles in a huge map easly.
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
JeffreyDriver
Posts: 2262
August 22, 2020, 07:57:03 am
You can do that by looping through tile.
Current Projects:
The Grand Grimoire Chronicles Episode 3
Twitter@JeffreyDriver
apps.jeffreydriver.co.uk
2DIndie
Posts: 51
August 22, 2020, 08:12:39 am
And how can i do that?
Luyren
Posts: 2812
August 22, 2020, 08:19:38 am
Read this:
http://www.stencyl.com/help/view/tile-api
My Stencyl resources are available here:
https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
2DIndie
Posts: 51
August 22, 2020, 09:04:37 am
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 »
2DIndie
Posts: 51
September 08, 2020, 03:29:18 am
*push*
yoplalala
Posts: 1632
September 10, 2020, 09:01:58 am
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: 51
September 10, 2020, 10:26:45 am
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: 1632
September 10, 2020, 11:55:32 am
I'm not sure
you want to be able to change an existing tile with another tile when you release the mouse on the tile ?
2DIndie
Posts: 51
September 11, 2020, 12:02:26 am
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.
Pages:
1