@ADAMATOMIC @nealen y yes I'll have this burger... *wipes tears* With two patties (Today)

@ADAMATOMIC @nealen help t.co/Yz9wHJq2St (Today)

RT @ishisoft: The beach is Leilani's territory! New Leilani's Island devlog update t.co/t7Pj7xSzeh 🌺🌴🍍 t.co/OyhOEsDGbM (Yesterday)

looking forward to hanging out with fellow introvert devs at gdc. lets all sit in the same room together with laptops in comfortable silence (Yesterday)

@ChrisBellDesign oh whoops I also read that as expo pass. I think that's supposed to be ONLY expo hall, but you can be sneaky sometimes. (2 days ago)

@ChrisBellDesign only gets you into the talks that are marked open to everyone and expo hall things (2 days ago)

@ZackBellGames @Bandygrass going back to super metroid now, the controls aren't exactly the friendliest. speed runners make it look E Z (2 days ago)

@katanadash oh yeah it's in my head at least once a day for sure (2 days ago)

last night I had a dream where I was just talking about how much I liked the chrono cross soundtrack. truly my imagination knows no bounds. (2 days ago)

@SaltyPepperG we paid 40 million dollars for this live feed of the current social status of the poop emoji (3 days ago)

marketing talks in 2017: "hmm yes this title sounds good but do we have an emoji that we can strongly associate with it" (3 days ago)

RT @dicey: I think this little friend has come a long way. πŸ’• 🦊 t.co/SZUtGcQymG 🦊 t.co/3NLLcoYl5c (3 days ago)

RT @StoryFort: Excited to reveal my new game DUNK LORDS! Over-the-top 2v2 arcade basketball w/ uppercuts, lasers, and strawberries: https:/… (3 days ago)

man why aren't my projects finished?? *spends 5 hours debating what to put as 'job title' on my gdc badge* it is truly a mystery.... (4 days ago)

@ianwexl0rz t.co/WOV25xzeIC (4 days ago)

@ianwexl0rz right. I feel "old man" about it because I do miss the days when games were self contained time capsules on cartridges haha (4 days ago)

@ChevyRay hahah I just imagined this scene of a movie pausing in the theatre and viewers use their phones to buy the ending they want to see (4 days ago)

@ianwexl0rz probably hard to explain my full thoughts and feels on the matter over twittersphere~ (4 days ago)

@ianwexl0rz I don't like how games change over time now cause of DLC. Getting a different experience based on your funds also feels weird. (4 days ago)

I've reached cranky old man status because seeing pre-launch DLC announcements for the new Zelda game makes me profoundly sad (4 days ago)

posts tagged with: flashpunk

2013 - 3 - 11 / 2:27 pm / tools

Flashpunk NineSlice Class (Updated!)

Flashpunk NineSlice Class (Updated!)

Last week I posted a quick NineSlice class that I wrote to work in Flashpunk. It was a little clunky, so this past week I cleaned it up and integrated it with Flashpunk's graphic system. The new version now extends Image, so you get all the awesome Image effects like color tinting, rotation, scaling, and more. Check out the new version!


As a quick example, here's how I'm using it in my current project. Check out this screenshot of a menu:

Thanks to the handy dandy nine slice object, most of this menu is just drawn with a couple of simple source images. I scaled them up 4x so you could see them a little better.

Just using these images as sources means I don't have to make a new image every time I want to change the size of one of the widgets. I can also do some cool animations with tweening the width and heights of the panels over time.

Feel free to use the NineSlice.as class however you want. If you use it or improve it in anyway, let me know!


2013 - 3 - 6 / 2:14 pm / general

A Flashpunk 9-Slice Object

A Flashpunk 9-Slice Object

As I've been working on this Global Game Jam game remake, I've been trying to come up with solutions for problems that I can hopefully reuse for more projects in the future. One of the things I've been thinking a lot about is managing and drawing the various user interfaces for the game. Even though I'm not quite sure how much UI stuff this game will need, I wanted to have some sort of solid base to start with so that I could get stuff up and running quickly.

One of the most basic core structures of drawing a cool UI (in my opinion!) is a 9-slice graphic object. What's a 9-slice graphic object?! Well, here's a quick example of one that I have working in Flashpunk right now.

The box that is being drawn above the red player rectangle is a working example of my NineSlice class. It's being drawn from a source image of nine tiles. The source file has four tiles for the corners, four tiles for the sides, and one tile for the center. Here's what the source looks like (blown up 4x because it is tiny.)

This is incredibly useful because it's now possible for me to draw stylized boxes for potential UI components at any size without having to draw each one individually. One thing that I wish that I had spent more time on in Offspring Fling is the UI for the menus, so in the future I want to make my menus and interfaces as awesome as they can be, and having some functions do a lot of the fancy work for me is a big step in that direction. Here's what it looks like right now: NineSlice.as

Here are some snippets of code from the example shown above:

//initial set up
private var nineSliceTest:NineSlice = new NineSlice(Assets.IMG_NINE_SLICE_TEST, 3, 3, 3, 3);
//in the entity's constructor
nineSliceTest.scrollX = nineSliceTest.scrollY = 0;
nineSliceTest.width = 40;
nineSliceTest.height = 40;
nineSliceTest.x = 50;
nineSliceTest.y = 50;
//in the entity's render function

Right now this is a very rough first pass on this kind of thing. Ideally it would be some sort of Flashpunk graphic extension that would plug directly into the Flashpunk rendering system. For now it makes use of the Flashpunk Draw class, and some utility functions that I've written for myself. Feel free to use it or improve it, and if you end up improving it then let me know!


2013 - 2 - 25 / 2:13 pm / games

Dev Log: Platforming Camera

Dev Log: Platforming Camera

Chipping away at things in my remake of my Global Game Jam game. Now that I have more than 48 hours to make the game, I've been taking some time to figure out some things that I've been neglecting for the past couple years of making short form game jam games.

In Offspring Fling, there is very little scrolling. I think only one level actually scrolls both horizontally, and vertically. On top of that there are still only a few levels that scroll at all. This means that I didn't really have to worry about a complex camera, I just have the camera follow the player with a little bit of a drag and it works out mostly fine.

For this new game I'm working on, there's a bit more platforming, and almost every level will have scrolling in it, and there will be some big and open rooms... so I want to have a better camera system in general to handle platforming.

What do I mean by this? Take a look at this breakdown of the camera system from Mario World.

This kind of camera system is pretty crazy. There's a lot going on behind the scenes to make sure that the camera is showing the player exactly what they need to see. This is definitely one of those things where if you do it right, nobody will notice you're doing anything at all, but it is incredibly difficult to get this kind of stuff right. read more


2013 - 2 - 20 / 10:49 am / tutorials

Colliding with Slopes?!

Colliding with Slopes?!

In my last blog post I talked a little bit about how I've implemented slopes in my latest project, but I only talked about how I was actually importing them from Ogmo Editor into Flashpunk and not about how I'm actually using them for platforming. In this post I'll attempt to explain how I actually use slopes in my movement system, which means my platformer characters can walk up and down them without any problems.

The first thing to keep in mind is that all of my slope code only really works with slopes that increase or decrease by 1 pixel. I could rework some of it to make it work with a step of any size that the programmer could define, but for now 1 step is all I really need.

Pixel Sweepin'
The first thing to know is how I actually go about moving my platformer characters, and other moving objects around my game world. I use a method that I refer to as pixel sweeping. Basically whenever an object moves in my games, I move it one pixel at a time and check for collisions at each step! This might sound a little crazy to some folk, but this is the most reliable way I've been able to do stuff like platforming and other moving objects and still collide with even the tiniest pixel of a floor or wall. I've been using this technique since the very beginning of Bonesaw: The Game. read more

1 Comment

2013 - 2 - 18 / 12:42 pm / games

Dev Log: Slopes and Slopes

Dev Log: Slopes and Slopes

Still working on the re-make of my Global Game Jam game! The most recent development I can talk about is this:



Look at those beautiful SLOPES! I haven't actually done any platforming with slopes since all the way back in 2009 when I first made Jottobots (and before that, Verge.) This is my first time doing slopes of any sort in Flashpunk. There were a couple of hurdles to get over to get them working smoothly though. read more


2013 - 2 - 13 / 11:00 am / tools

Game Making Tools

Game Making Tools

Since I posted the time lapse video of me making a game for Global Game Jam 2013, I got a couple of questions regarding the exact tools I'm using for my game making needs. This is a pretty long post, so I'm going to put it all behind the jump tag. If you want to know my secrets, then click read more! read more




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






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!


Your message has been sent! Thanks :)