Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TileMapObject : Condition to test collision with a tile ID #44

Closed
victorlevasseur opened this issue Oct 16, 2014 · 4 comments
Closed

TileMapObject : Condition to test collision with a tile ID #44

victorlevasseur opened this issue Oct 16, 2014 · 4 comments
Labels
✨ enhancement GDevelop 4 This issue is only happening on GDevelop 4

Comments

@victorlevasseur
Copy link
Contributor

victorlevasseur commented Oct 16, 2014

This function will test if an object collides with a tile with a specific tile ID.
For example : test if a player hits a coin tile (without testing all tiles having a coin tile).

http://forum.compilgames.net/viewtopic.php?f=22&t=5713


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@4ian 4ian added the GDevelop 4 This issue is only happening on GDevelop 4 label May 26, 2018
@blurymind
Copy link
Contributor

The tilemap object is non-existent in gdevelop5.
Perhaps we should think about porting it over or coming up with another one?

Mozilla devs have shared a great example
https://developer.mozilla.org/en-US/docs/Games/Techniques/Tilemaps
https://github.com/mozdevs/gamedev-js-tiles

@4ian
Copy link
Owner

4ian commented May 26, 2018

Thanks for the links! We would need an implementation that works at least with Pixi.js and which is efficient for large maps (including rendering and collisions). This is the tricky part :)

I've added a card there: https://trello.com/c/vJacNvXq/65-support-for-tilemaps-objects-gdevelop-5-html5-games

@blurymind
Copy link
Contributor

@4ian thank you! :D

It would be cool if we could add support to use tiled files. There is an implementation of that here
https://github.com/riebel/pixi-tiledmap

Btw I opened a new issue here on this
#503

@4ian
Copy link
Owner

4ian commented Jul 17, 2018

Hey 👋 I've put this issue on the roadmap (so that anyone can vote for it!) there: https://trello.com/c/vJacNvXq/65-support-for-tilemaps-objects-tilesets-and-tiled-files-gdevelop-5-html5-games

I'm closing this issue as open issues on Github is now be dedicated to bugs only :) (But it's still possible to continue the discussion on this issue even if it's closed)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement GDevelop 4 This issue is only happening on GDevelop 4
Projects
None yet
Development

No branches or pull requests

3 participants