Ozzyla: (Short) Post Mortem

(Play Ozzyla)

ozyllaLD

 

This time i forgot to make a timelapse, so no timelapse will be placed here!

 

This was my second LD, 4th game, and first JavaScript experience.

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!

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!)

I got the idea from my cat (‘Ozzy’, from ‘Ozelot’) 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.

Then, i made some folders, and a ‘index.html’ file, containing Phaser boilerplate code.

My  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.

Overall, found JS a simple language, with a really weird approach to objects! (From a ‘C++’ / ‘C#’ background)

 

I developed the game in Atom, hosted it using Python integrated webserver, and displayed it using Firefox (Only Firefox, that caused problems with Chrome)

As i displayed the game using Firefox, Chrome had some issues (Firefox JS engine allows some stuff Chrome’s does not, for example, default variables ‘function a(x = 0, y = 0)’)

 

I also had some problems with 404 errors on filenames with spaces.

 

Also, it seems a lot of people sees the dog sprite as a cat. That’s my fault, as i basically copy-pasted the cat sprite, and modified it to look like a dog…

 

Thanks for reading! Cheers! :)

Comments

AlgorithmicsAnonymous
27. Aug 2015 · 13:57 UTC
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.

i can’t imagine doing that without internet though :0