Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8445245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T09:36:37+00:00 2026-06-10T09:36:37+00:00

So with Tiled , I can set Tile Properties directly on a tile before

  • 0

So with Tiled, I can set Tile Properties directly on a tile before placing it on a map like so:

Setting Tile Properties

This is how I have done collision checking, by setting the collision property to ‘true’ and then checking the tile properties when moving a sprite.

However, I would like to add a ‘teleport’ tile. When the player walks on a specific tile, it takes them to a separate location.

The problem I am running into, is that when you set a property on a tile, you only get to set it once, and not on the tile instance. Meaning every tile would have the same teleport location.

Am I overlooking something? Is there a better way to go about doing this in Cocos2d in general?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T09:36:38+00:00Added an answer on June 10, 2026 at 9:36 am

    You can use the object layer for this. Add an “object” (that’s just a rectangle or point in Tiled) to the teleporter tile and use the object’s properties to connect two locations together.

    When you load the map you could walk over all objects to find the connecting objects. Then you know the two tile locations of the teleporter end points which you could store in a teleportation array. Every time your player moves to a new tile, check the teleportation array to see if the player is on one of the teleportation fields, and if he is, move him to the other teleportation tile.

    Of course you could also check intersection with the object (rectangle) but since there’s a chance that you might accidentally create an object (rectangle) that spans multiple tiles it seems more reliable to check these objects before the game starts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a grid of images, like a 2D tile set. This method is
I am trying to compile a tile map editor so I can use it
I have a tiled bitmap that I'm using as the View background. This View
Hello and thank you for checking out this question. I, for a basic tile
I have a secondary tile which uses ShellTileSchedule to update itself. The user can
Sorry, I'm sure this is simple but I'm tired and can't figure it out.
How can I regulate a speed of rotation tile icon? Is it possible?
Can anyone recommend a good Java game engine for developing simple tile-based games? I'm
In Winforms you can have two controls tied to the same datasource in a
As titled, how can I do that? I have been reading some Silverlight/WPF animation

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.