BorisTheBrave wrote:
It's a good tutorial, it's a very good approach to start writing a minimal program, it's much less daunting than the size of the TestBed. It's so fool proof I am worried it'll result in a flood of idiots to these boards who wouldn't be capable of unzipping a file without your help
😀 .
There were a few mistakes / misleading parts though:
- SetAsBox takes half height and half width, so the size of your box is actually double what you say it is.
- You do all the pixel calculations in your head, when it might be easier just to multiply everything by an appropriate scale factors.
- You set a userData sprite for your box, and do nothing with it. This is just going to make people think that it is actually doing something important, and miss the point of userData.
- It's the "bitwise or" operator, not the "bitwise" operator.
Sorry to be so blunt, but tutorials do need to be pretty accurate.
Hey that's no problem, I was looking for feedback! I spread out the
video tutorial into smaller section just in case I needed to change something.As far as the userData sprite, I do plan on using it on another tutorial that will build on top of that one, by linking items to the library. I probably should have waited till that point.
I don't quite understand what you mean by the scaling factor point.
Edit: I think I know what you mean, instead of putting something like 5,6, I should just do 150* (1/30), 300*(1/30).