Skip to content

Instantly share code, notes, and snippets.

@ajweeks
Last active January 31, 2016 16:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ajweeks/46440a3597499ac863a4 to your computer and use it in GitHub Desktop.
Save ajweeks/46440a3597499ac863a4 to your computer and use it in GitHub Desktop.
Twenty-Seventh of Devember

Devember Day 27

I added a walking animation for the player, so there are now three states: idling, walking, and running. I think it turned out quite well actually. I still haven't added any animations for when the player is walking straight up or down, so it looks quite strange at the moment. I also still haven't found a way to mirror the animations when the player moves to the left, but the animations look great when he walks to the right.

I also improved the way axe types are handled, by adding an AXE enumeration. I'm not sure what I'm going to require the player to do to upgrade their axe, I think there needs to be more than just "chop down 134 trees to get a gold axe". It would be quite cool to be able to purchase slaves (or robots maybe, to be more politically correct) which chop down trees for you. Then as you progress through the game, you go from being a humble, lonesome lumberjack to a CEO of a large logging corporation which you see over. These are just random ideas popping into my head as I write this though, so don't expect everything I say here to be added. But some form of automation would add a lot to the game I think.

After that, I improved the way log entities spawn, so that now they can't be placed within a certain distance from the trunk (1.5 units right now). That makes picking them up much easier.

I really wish there was an easier way to record little gifs. There probably are several ways easier than what I usually do - record my window with OBS then upload that video to a conversion website. I'll look into that in January.

I then spent the last 45 minutes or so going through the past handful of Devember entries, editing them. That is something I usually do when uploading, and so I hadn't done it for those yet. It actually takes a considerable amount of time when you let several days worth build up like that. But that's done thankfully, so when I get some free WiFi I'll be able to upload everything much quicker.

By the way, in case you were wondering what it looks like when 1000 trees are generated and then automatically chopped down into log entities:

Entity Chaos

Previous Entry | All Entries | Next Entry

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