{"author_name":"TajamSoft","cat":"LD #33","comments":[{"author_name":"AlgorithmicsAnonymous","time":"August 27, 2015 8:57 am","epoch":1440683820,"text":"Interestingly we also used phaser.js, but kept with it. Also we had never touched it, and although we had some js experience, it was extremely limited.<br \/>\n i can&#8217;t imagine doing that without internet though :0","spam":"N"}],"epoch":1440682020,"likes":0,"metadata":{"p_key":"13311","p_author":"TajamSoft","p_authorkey":"49546","p_urlkey":"48566","p_title":"Ozzyla: (Short) Post Mortem","p_cat":"LD #33","p_event":"LD33","p_time":"1440682020","p_likes":"0","p_comments":"1","p_status":"UPD5","us_key":"49546","us_name":"TajamSoft","us_username":"\/author\/tajamsoft\/","event_start":"1440115200","event_key":"29","event_name":"LD33"},"text":"<p>(Play <a href=\"http:\/\/ludumdare.com\/compo\/ludum-dare-33\/?action=preview&amp;uid=49546\">Ozzyla)<\/a><\/p>\n <p><a href=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/ozyllaLD.png\"><img class=\"alignnone size-medium wp-image-496387\" src=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/ozyllaLD-300x167.png\" alt=\"ozyllaLD\" width=\"300\" height=\"167\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/ozyllaLD-300x167.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/ozyllaLD-550x306.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2015\/08\/ozyllaLD.png 900w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n <p>&nbsp;<\/p>\n <p>This time i forgot to make a timelapse, so no timelapse will be placed here!<\/p>\n <p>&nbsp;<\/p>\n <p>This was my second LD, 4th game, and first JavaScript experience.<\/p>\n <p>This time i decided to use Phaser.js, using JavaScript as the language, something I should have not done, especially because i had no idea of JavaScript before making this game!<\/p>\n <p>Another problem i had was the lack of internet connection, which i would have really used to get some info about Object Oriented JS, and other stuff. (I expent 4 hours fixing a bug about phaser tilemaps not colliding, apparently, phaser only allows collisions on the last layer of the tilemap!)<\/p>\n <p>I got the idea from my cat (&#8216;Ozzy&#8217;, from &#8216;Ozelot&#8217;) after seeing him catch a bird, the idea is that cats are real monsters for birds and mice! I quickly started making the cat sprites (Instead of prototyping, bad idea!), and other graphics.<\/p>\n <p>Then, i made some folders, and a &#8216;index.html&#8217; file, containing Phaser boilerplate code.<\/p>\n <p>My\u00a0 personal challenge for this LD was to make the game in Object Oriented JS, without any kind of internet connection. All the learning material I had was a web page i downloaded once, that for some reason contained object oriented JS.<\/p>\n <p>Overall, found JS a simple language, with a really weird approach to objects! (From a &#8216;C++&#8217; \/ &#8216;C#&#8217; background)<\/p>\n <p>&nbsp;<\/p>\n <p>I developed the game in Atom, hosted it using Python integrated webserver, and displayed it using Firefox (Only Firefox, that caused problems with Chrome)<\/p>\n <p>As i displayed the game using Firefox, Chrome had some issues (Firefox JS engine allows some stuff Chrome&#8217;s does not, for example, default variables &#8216;function a(x = 0, y = 0)&#8217;)<\/p>\n <p>&nbsp;<\/p>\n <p>I also had some problems with 404 errors on filenames with spaces.<\/p>\n <p>&nbsp;<\/p>\n <p>Also, it seems a lot of people sees the dog sprite as a cat. That&#8217;s my fault, as i basically copy-pasted the cat sprite, and modified it to look like a dog&#8230;<\/p>\n <p>&nbsp;<\/p>\n <p>Thanks for reading! Cheers! <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/><\/p>","time":"August 27th, 2015 8:27 am","title":"Ozzyla: (Short) Post Mortem"}