-
Notifications
You must be signed in to change notification settings - Fork 28
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
Something is wrong with default base path #116
Comments
Sorry it's my fault for not adding I have taken the liberty of refactoring the code a little to make it clearer. IMHO the current approach with a single Class that contains everything is much more difficult to maintain. What I have done is:
The "index" module is handled by the It seems clearer to me like that, but it's just my opinion. If you don't think it's correct, tell me the errors, please, to correct them. This is my fork: https://github.com/bySabi/first-pixi |
Sorry for the slow response. For sure your fork is a lot more cleaner what I wanted the boilerplate to have is everything which I consider as important in one place to be easier for someone new to break it down. Not sure if it's right tho |
@jkanchelov In the end I have created my own template. Aside from the changes I mentioned above:
This is the repo: https://github.com/bySabi/pixijs-typescript-template |
Hi @jkanchelov I am testing this template with some simple examples to learn and I have not managed to create a Sprite from a local image.
There seems to be some path problem.
You can test it yourself by replacing "index.ts" with:
The text was updated successfully, but these errors were encountered: