Skip to content

Comment on Show HN: my 4-y-o son drew a video game. He drew then we hacked together.

Comments

Very nice!

A little tip: preload all your images so that they don't get downloaded as you perform the different moves, that caused the characters to disappear briefly for me. Doing so is as simple as creating an Image object and setting its src:

    var preload = new Image();
    preload.src = "/path/to/image.png"

Top tip! Thank you - will add this and some easter eggs when I get home tonight.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.