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

Underscore not displayed as symbol for objects #256

Open
Harirarn opened this issue May 19, 2014 · 2 comments
Open

Underscore not displayed as symbol for objects #256

Harirarn opened this issue May 19, 2014 · 2 comments
Labels

Comments

@Harirarn
Copy link

If I use map.defineObject and set the symbol as underscore, then it doesn't get displayed on the screen. However the object is there and performs its functions. I used

    map.defineObject('shield', {
        'symbol': '_',
        'color': '#888',
        'impassable': true,
    });

Replacing the underscore with something else works properly. I am using Chrome.

However I found that when the screen scrolls at the beginning of an execution, the underscores are visible.

@AlexNisnevich
Copy link
Owner

This seems to be a browser-specific issue - in some browsers, the bottommost pixel of each tile seems to be overlapped by the tile below it and thus not shown.

What browser are you on?

@Harirarn
Copy link
Author

My browser is chrome. I just saw that bottom-left corner pixel is visible. So Underscores are looking like tiny dots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants