ابحث بين معلمي الإنجليزية المتعددين...
المنشورات
Dirty-check for HTML5 Canvas render performance
The way you don't want to redraw entire canvas every frame, it only can be the "Dirty-Check" or "Dirty Matrix" algorithms.
Dirty-check seems more efficient than entire redraw. but I think it depends on your render implementation.
it is not necessary to use it if you are using canvas2D to render. Nearly every game has complex sprites and animation. if you use dirty-check, when a part of sprite or background map need to update, you have to figure out what is overlapping this part. and then clearRect this small area of canvas, and then redraw every sprite or map. etc, what is overlapping.
It means your had to run canvas render api more times than normal render implementation because of the overlapping part. And Canvas2d render performance usually does't sounds efficient.
But if you use WebGL, that maybe quite difference. even though I am not family with WebGL, I do knew that maybe more efficient. Dirty-Check should be a good Choice to match your propose.
0
0
Depressed day
Another depressed day, I made a common mistake again that make my wife angry. So what did I done today? I wrote the signature on my wife's passport because of some stupid reason.
Why did I do this? I really don't know the exactly reason myself. we supposed to transfer the stuff to ShangHai, and then submit to ambassador. but she was at home, and at that moment, I just want to accelerate submit process, so wrote the her signature. what a stupid mind is, that would make her visa to be failed if ambassador found the fake signature.
what a stupid idea!!
3
0
Tmall 11.11 Bonus Activity Project Daily note
Since 11.1 Tmall Bonus Activity started,today is the 3rd night for our project member. FrontEnd、Server developer, Tester and PD are all sitting in the project room. this our night for this great activity. The first 11.11 activity since Alibaba IPO.
there are still a few Developer left here, including me. to avoid sudden system accident happing. System is running in control, no exception occur, so I think this night should be a comfortable one. and this is our last busy day. when tomorrow come, our bonus interact team should be ideal, and finally have a break time for relax.
my game develop skill was improved during this project. and after 11.11, I must build a game framework project, base on basic render Engine, and add some advanced feature such as physics, particle, camera. that is so fantasy! I wish it would help my New Zealand immgration to be more successfull
2
0
