TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
The Thinker
NA
1
2.8k
Moving Platforms in XNA using a Tiled Map
Feb 21 2012 6:45 PM
Hi, I am trying to create a platformer which uses maps created in Tiled. In order to create moving platforms, I am replacing the tiles with sprites. Each tile representing the moving platforms has a data value between 100 and 107. When the game loads the map, any tile with that value will spawn a sprite in its place, and should remove/prevent the tile itself from being loaded.. However, I can't seem to find any way to remove the original tile, which leaves a copy of each platform sitting behind the platform as it moves - can anyone help me to remove the tile?
The second problem is that, while the tiles move, my character does not move with them, which could work if I wanted them to be "ice" platforms, but I'd like the player to move with the platform. I tried adding friction to the platform sprite but it didn't work.
Thanks all!
Reply
Answers (
1
)
How to draw 3d cube
[XNA 4.0] Loading files during run time