cstoquer / pixelbox

A sandbox framework to fast-prototype tile-based games in HTML5 and JavaScript
MIT License
469 stars 36 forks source link

print not working #27

Closed AsuraZenko closed 2 years ago

AsuraZenko commented 2 years ago

print(text, [x, y]) is not working, even when i provide x and y it still prints at 0, 0 image

cstoquer commented 2 years ago

Sorry, the documentation is a bit confusing. The braces in the documentation means the parameters are optional.

To print at a specific location, just write: print('New Game', 10, 100) without the braces.