tag:blogger.com,1999:blog-2037107846963035846.post5568823140547843971..comments2024-03-29T03:54:23.665-07:00Comments on Michal Budzynski: Tutorial: Simple game with HTML5 Canvas - part 4MichalBehttp://www.blogger.com/profile/08931175956259148276noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-2037107846963035846.post-14077728432464791702021-11-24T10:14:06.825-08:002021-11-24T10:14:06.825-08:00BEST WORLD NOOB GAMES OF 2022<br /><a href="https://sourceguruji.com/best-world-noob-games/" rel="nofollow">BEST WORLD NOOB GAMES OF 2022</a>Apurbahttps://www.blogger.com/profile/17446906512259307683noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-17542176089649046812021-03-17T19:03:40.018-07:002021-03-17T19:03:40.018-07:00It's an awesome blog to know about translation...It's an awesome blog to know about <a href="https://sandvox.io/" rel="nofollow">translation proofreading</a>. I was searching for this type of article so that I can get so knowledge on translation proofreading. I am a professional gamer and for few days i am facing some issues with playing local games.<br />Alia parkerhttps://www.blogger.com/profile/02326303770549335930noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-12965264355025216872021-03-17T18:38:08.598-07:002021-03-17T18:38:08.598-07:00This comment has been removed by the author.Alia parkerhttps://www.blogger.com/profile/02326303770549335930noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-86748649892030887912019-08-01T05:29:22.397-07:002019-08-01T05:29:22.397-07:00Great blog . I really liked it thank you
Thanks
C...Great blog . I really liked it thank you<br /><br />Thanks<br /><a href="https://www.mindtechaffiliates.com" rel="nofollow">Cpa offers</a>MindtechAffiliateshttps://www.blogger.com/profile/10089740445774896310noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-2370402658220524912019-07-09T02:27:00.274-07:002019-07-09T02:27:00.274-07:00nice tutorial ,I totally love your website and fin...nice tutorial ,I totally love your website and find many of the posts to be just what I am interested in. Do you offer guest writers to post content material for you? I would not mind creating a piece of text regarding websites to watch movies or on a few of the things you’re posting about on this site. Great site!<br /><a href="https://www.2basetechnologies.com" rel="nofollow">web and mobile app development company </a><br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-66964631946776381132018-10-04T02:31:04.299-07:002018-10-04T02:31:04.299-07:0018 inches weave hair
16 inches weave hair
14 inche...<a href="http://apohair.com/products/18-inches-weave-hair/" rel="nofollow">18 inches weave hair</a><br /><a href="http://apohair.com/products/16-inches-weave-hair/" rel="nofollow">16 inches weave hair</a><br /><a href="http://apohair.com/products/14-inches-weave-hair/" rel="nofollow">14 inches weave hair</a><br /><a href="http://apohair.com/products/12-inches-weave-hair/" rel="nofollow">12 inches weave hair</a><br />Người đưa tinhttps://www.blogger.com/profile/09989165691704675857noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-74430251691228836752015-12-09T02:25:56.886-08:002015-12-09T02:25:56.886-08:00Good and interesting article..
JavaScript Trainin...Good and interesting article..<br /><br /><a href="http://wisentechnologies.com/it-courses/html-css-javascript-jquery-training.aspx" title="JavaScript Training" rel="nofollow">JavaScript Training</a><br /><a href="http://wisentechnologies.com/it-courses/html-css-javascript-jquery-training.aspx" title="JavaScript Training in Chennai" rel="nofollow">JavaScript Training in Chennai</a><br /><a href="http://javascript360.co.in" title="javascript tutorial for beginners" rel="nofollow">javascript tutorial for beginners</a><br /><a href="http://wisentechnologies.com/it-courses/html-css-javascript-jquery-training.aspx" title="Online JavaScript Training" rel="nofollow">Online JavaScript Training</a><br />Sankarhttps://www.blogger.com/profile/15190208567205518324noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-25638993754972917902015-09-02T01:02:44.423-07:002015-09-02T01:02:44.423-07:00Here reader can easily learn different functions o...Here reader can easily learn different functions of HTML5 game development.Online HTML5 Games Developmenthttp://www.cygnismedia.com/web-application/html5-game-development.htmlnoreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-88284579767281152542013-02-07T02:39:39.798-08:002013-02-07T02:39:39.798-08:00really great tutorial. The procedure is very good ...really great tutorial. The procedure is very good explained. It helped me a lot to set up my template for some experiments for FB games. I'd like however to suggest a few optimizations that save the processor from performing unnecessary calculations: <br /><br />1st) add a "break" in the first collision detection inside the loop ( I've replaced the 'foreach' with for (i=...). It doesn't need to proceed in this case with the other platforms.<br /><br />2nd) The collision condition itself is too expensive. It performs every time 5 (1+4) compare-operations, every one of them has an 'add' operation. There is a much more cheaper condition:<br /> if ( player.isFalling &&<br /> //only when player is falling<br /> !(player.x + player.width < platforms[i].x || <br /> player.x > platforms[i].x + platformWidth || <br /> player.y + player.height < platforms[i].y || <br /> player.y > platforms[i].y + platformHeight )<br /><br />where only the worst case needs all operations to be performed by the processors. <br />Please find more details about it in my post:<br />http://theodosis-gameprogramming.blogspot.gr/2011/07/collision-detection-by-detecting-no.html<br /><br />Otherwise, it is a top tutorial. Thank you very much for sharing it with us.<br />Theodosiοs Ekizoglouhttps://www.blogger.com/profile/09965963637480862598noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-75862858464930632112013-01-08T05:19:50.697-08:002013-01-08T05:19:50.697-08:00Hi,
It really is a helpful piece of code but,
when...Hi,<br />It really is a helpful piece of code but,<br />when I am using Linear Gradient for platforms, the platforms appear for sometime and then they disappear, I guess after 20-30 jumps.<br /><br />var gradient = ctx.createLinearGradient(0, that.y, 0, that.y + platformHeight);<br /> gradient.addColorStop(0, that.secondColor); <br /> gradient.addColorStop(0.5, that.firstColor); <br /> gradient.addColorStop(1, that.secondColor);<br /><br />colorStops also works fine with Radial Gradient.<br />Please dont mind if I have code something wrong :)<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-79143726838464452562012-09-22T22:36:51.875-07:002012-09-22T22:36:51.875-07:00i have question....what is the difference between ...i have question....what is the difference between the e.pageX versus e.x...i'm new to this 'event'. Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-49598491108948017422012-04-12T12:58:53.262-07:002012-04-12T12:58:53.262-07:00i am working on a similar project. I am trying to ...i am working on a similar project. I am trying to move/draw the "player" with mouse click. Can you help me?asnhttps://www.blogger.com/profile/00183385814680669010noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-33926098066684605122012-02-25T13:53:20.558-08:002012-02-25T13:53:20.558-08:00once*once*MichalBehttps://www.blogger.com/profile/08931175956259148276noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-60057122479963483372012-02-25T07:59:33.859-08:002012-02-25T07:59:33.859-08:00I call it in line 20, one, just after defining it....I call it in line 20, one, just after defining it.MichalBehttps://www.blogger.com/profile/08931175956259148276noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-10046636241580281042012-02-25T06:53:35.700-08:002012-02-25T06:53:35.700-08:00In your example although you call draw on the plat...In your example although you call draw on the platforms, you never call generatePlatforms so they never appear?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-64700059838301177392011-11-18T21:07:38.435-08:002011-11-18T21:07:38.435-08:00use the same way in which you draw the player - ct...use the same way in which you draw the player - ctx.drawImage().MichalBehttps://www.blogger.com/profile/08931175956259148276noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-90857851174668541292011-11-17T15:25:59.486-08:002011-11-17T15:25:59.486-08:00how can i place images instead of gradient colors ...how can i place images instead of gradient colors for the plattforms? i tried with im.src but i always get errors no matter what i do :(Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-29182994931333708872011-06-05T18:48:54.462-07:002011-06-05T18:48:54.462-07:00great tutorial Michal, i will create a new game wi...great tutorial Michal, i will create a new game with similar gameplay base on this, and I'll try to do in a good object-oriented way.<br /><br />GreetingsJavier Leandrohttps://www.blogger.com/profile/07764990586521258927noreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-61184746232306885122011-06-04T22:21:32.021-07:002011-06-04T22:21:32.021-07:00Excellent one, but you draw() method you write her...Excellent one, but you draw() method you write here is different than in your full .js file. It's missing something :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2037107846963035846.post-77998429332669491792010-11-08T02:45:37.091-08:002010-11-08T02:45:37.091-08:00Thanks, following your tutorial it took me only an...Thanks, following your tutorial it took me only an hour to create this http://pdfcv.com/game :)medwezyshttp://pdfcv.com/gamenoreply@blogger.com