Skip to content

Instantly share code, notes, and snippets.

@ajweeks
Last active January 31, 2016 15:54
Show Gist options
  • Save ajweeks/26384683ef27bddf01b5 to your computer and use it in GitHub Desktop.
Save ajweeks/26384683ef27bddf01b5 to your computer and use it in GitHub Desktop.
Nineteenth of Devember

Devember Day 19

I got a bit more work done on TM495 today, including adding a ground plane texture, bounds checking at the edges of the level, and extremely basic collision detection with trees. The latter needs a lot of work before I'd say I'm happy with it. It's currently just about the simplest thing you can do, where if the player attempts to walk into a tree, their position gets set to its previous value. This results in a very rough movement system, causing the player to stop when strafing near trees, and feel like they're getting stuck in trees. But for now, it'll do. I all too often fall into the trap of trying to polish a specific feature and inevitably end up losing motivation to finish the project.

I then added the ability to cut trees down, by pressing the 'c' key when inside a certain radius around a tree. Chopping down a tree is currently instant, and the trunk doesn't render correctly. Plus it does care what direction you're facing. However, all of those issues will be fixed soon enough.

Latest TM495 screenshot

I also added a new title image for the game, just a quick thing I threw together in Photoshop in a few minutes.

TM495 title

I'm not sure what art style I want to go for with this game. I started off using pixel art, mainly because it's the easiest to create for me. I'm not a great artist, but if I put some time into it I think I can come up with some decent assets. I'm leaning towards something not high resolution, but not pixel art. It is quite doable to load 3D models into the game using three.js, and it's something I'm considering doing. It would greatly improve the graphical quality of the game I believe.

Anyways, I pushed the latest TM495 code to my website, so you can play it here. I'm pretty happy with what I got done today, and I plan on getting an equal amount done tomorrow.

You can see my latest commit here.

Previous Entry | All Entries | Next Entry

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment