-
Notifications
You must be signed in to change notification settings - Fork 83
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
Added some unicorn horn textures for the pipes. #23
Conversation
Maybe they are a little to wide but that should be scaleable in javascript |
Can you include a screenshot or link to your demo running via github pages? That would be helpful for reviewing the design changes! |
They are not yet implemented into the game |
Is there a reason why this image is 500:400px in the first console.log and 1:1px in the second one? All I've done with the images is load them like this
|
Could it be that the images are loaded asynchronously? |
you need to load images in preload() {} function do you mind if I write that code for ya? |
sorry I havent worked with p5 much, i just read it in the documentation. Is it ok if I do it in setup like the background image? |
first you need to load all images in preload, only this way you can be sure then we setup is being executed images are loaded. Otherwise, they 90% will not |
ok I have it now, sorry for noobieness :D |
no worries, I'm with ya |
the background image is loaded in setup, should it be moved? |
check the new code from original master branch. It's already in preload :) 753ebbc this commit |
#25 screenshot for ya great work #25 (comment) |
The textures should line up at the top and bottom. In the paitDotNet folder there are the original files if you want to edit them.
I'll try to implement them later, maybe someone else will be faster