@aceriou not an otter thing. You could use some windows api methods on init to force focus I believe. (Today)

@aceriou yeah sorry that's something in windows I think. When you run without debug console it should just focus the game window (Today)

@TyrusPeace I hear guilty gear is pretty good. The new KoF looks... weird. I liked KoF13 a lot though. (Today)

@RakurinHD Yeah they look... alright? But dang between the UI, survival mode, and the excessive DLC I'm amazed it has players (Today)

I like the core system and fighting part of street fighter v but wow everything else surrounding it stinky poop garbage (Today)

@aceriou There was a Flashpunk "port" to C++, and Otter is based off Flashpunk: t.co/PBf41S4KRh Hasn't been touched in awhile though (Yesterday)

@aceriou Not sure, but if you're using C++ I would look into just using SFML directly, or look into C++ built frameworks rather than Otter. (Yesterday)

@StoryFort yaye yaaaaaaye (Yesterday)

@dejobaan I'M FIRED (Yesterday)

Working solo is cool and all but it also means that when I'm in a huge funk I don't have anyone else on the project to snap me out of it x_x (Yesterday)

RT @x01010111: If YOU help make @HaxeFlixel better, I can make better games for YOU to play!!! t.co/glJDPr5Oiw #indiedev t.… (Yesterday)

RT @gabetelepak: I'm looking for freelance design work to pay the bills! Plz RT 🙏 I have a wife + two fat pugs to feed t.co/TPdeMq… (Yesterday)

@SteveSwink hello yes my cat is ascending to godhood in my dining room please advise (Yesterday)

photoshop: you have to merge all layers before you do this!!1 *click "dont merge"* *everything works just fine* ok (Yesterday)

@Sosowski yeah please dont blow yourself up touching stuff inside one of those x_x (2 days ago)

@fell_martins @theBanov even with the sticker rules PAX has been my favorite thing to exhibit at~ (2 days ago)

@theBanov few years back we were heavily advised against stickers. if they find them on walls, and can be traced back to you, you pay for it (2 days ago)

@Lumin0via it ok dont be cry (3 days ago)

RT @ChevyRay: Last 4 hours to back my game about a magic school gone awry! t.co/9NgGzy9pjK t.co/06UBiPjEni (4 days ago)

@TommyRefenes I'M ON MY WAY (5 days ago)

follow
search

2014 - 3 - 11 / 5:03 pm / general

Dev Log: Slow and Steady

Dev Log: Slow and Steady

I've been tinkering with a lot of systems over the past couple of days. Mostly stuff involving enemies, and some other things involving building islands and structures on the islands.

At some point last week I sat down and tried to figure out path finding with moderate success. I have something working, but it's pretty dang laggy when it has to figure out a path. As far as I know I'm just doing straight up A* path finding and I copied the psuedocode from Wikipedia right into the game. I started looking into using different data structures for storing things to hopefully speed it up, but honestly I still have no idea what I'm doing and I don't know how to use some of these fancy things that people suggest (priority heaps, or something?)

I took a break from that to tinker with placing structures on islands, and trying to figure out how I want to animate the building process for building a structure on an island. This is also a tough one to solve, and I'm not sure if frame by frame stuff in Flash would be good, or if structures should be animated with skeletons similar to the enemies using Spine.

Image

Back in the world of enemies I've started experimenting with behavior trees for how they should interact with the world. It seems like a good way to do things, but part of me feels like it's over-engineering. Setting up a whole series of classes for the system to run the behaviors, and then every simple little task then has to be a behavior command... I kind of like systems like this, but I wonder if it will be worth it in the end working on a system that takes a lot of up-front work to get running.

It's definitely a very different way of doing things outside of the game jam environment. I've made a lot of cool stuff in game jams, but it's all been on top of really odd code that doesn't leave a lot of room for expansion. I'm trying not to design or code myself into a corner when it comes to working on this new game, so things are going a little slower than they did for Offspring Fling, but it's also probably due to the fact that I'm in pretty unfamiliar territory. Working on something that's not a platformer can be pretty tough!

3 Comments
Avatar

2014 - 3 - 11 11:18 PM

A333

Maybe this could be useful for you
http://theory.stanford.edu/~amitp/GameProgramming/index.html
I haven't had a thorough reading of this yet, but it seems solid.

Avatar

2014 - 3 - 12 12:54 AM

Kyle

Ah yeah! This has been a great resource for me so far, but it takes me awhile to really digest most of the stuff he talks about. It's really hard for me to understand a concept of programming and then write code that applies the concept without seeing like a concrete example. The hardest part of the A* stuff is that I had no idea what was going on with the heuristic and the g h and f values.

Avatar

2014 - 3 - 13 11:11 PM

A333

I have an exact same feeling about shaders (glances at the next post). Can't really stomach the fact that such complex effects could be achieved with a few code lines. As you say, it takes awhile to grasp a concept.

Avatar

Post your comment!

POST COMMENT

about

About

Hi! My name's Kyle, and I make video games most of the time in Denver, Colorado. Here you will find my thoughts, games, websites, doodles, and other stuff like that. I worked on Snapshot, Offspring Fling, and a whole bunch of other games. I also created and maintain Otter, a 2d game making framework. If you want to get a hold of me use the form on the bottom of the page, leave a comment, or just tweet at me. I try to post three times a week. Thanks for stoppin' by! You're the coolest.

blog stuff

categories

tags

archives

facebook

videos

Do you want to make a Let's Play of one of my games, or a just a video featuring footage of my games? You have my full permission to do so! Even if you are monetizing your videos, you still have my full permission to use any footage from any of my games. Go for it!

contact

Your message has been sent! Thanks :)
SEND MESSAGE