Sunil's Blog

I make games! Mostly weird ones.

Month: December 2012

Code Refactoring

It’s really important. Although many programmers say how important it is, you don’t really realize it until you are in a situation that demands it.

I am working on the introduction state, which requires multiple sprites to be loaded onto the screen at once. Naturally, I embedded all the images into the class, and started to use them. Everything worked well, but a thought occurred to me: I’m definitely going to have to reuse some of these sprites in the future.

I then decided to erase about 50 lines of code, and made each sprite have its own class. I searched online to see if other game developers use the same process, and lo and behold, they do. So each sprite has it’s own class, with its own properties (animations, position, etc.) This will make accessing each sprite and changing each sprite’s values a hell of a lot easier.

Current project: Inner Vision

So this is the game I’ve been working on since my winter break has begun. It’s called “Inner Vision” , and I would describe it as a choice driven narrative game.

The main goal of the game is to convince three people not to commit suicide. Each person has a personality, set of problems, and issues that are specific to their character. You, as the player, get to interact with each person, and need to extract information about the character through conversation. Here’s the catch: These people are on theĀ vergeĀ of suicide. If you say the wrong things to them while talking, they will kill themselves right there on the spot.

It’s a very dark game, and I hope it will stand out in the crowd due to its taboo nature of suicide. It is a flash game, which means it’s written in ActionScript 3, and I’m also using the game library known as “Flixel”. These tools are actually petty nifty, and are probably the best route to go to create medium-scaled 2D games in flash.

Here’s some concept art for the character you meet who introduces the game to the player. I was inspirited by Van Gogh’s Smoking Skull. The character’s name is “Yama” which is the name given to the Hindu god of death.

Yama Sketch 1

First post

Hello.

This blog. It seems like there’s a website, that’s just about me. Guys, we messed up.

Jokes aside, I’m excited to have a blog. I’ve had a tumblr for a while now, and my main goal was to use it as a blog to post my findings on game development, and post about the current projects I’ve been working on. Well, it didn’t work out that way. It turned into a social gathering full of people who have common interests, and a majority of them post pictures of things they like.

This will be different. I hope to post some things about the game soon. Until then, so long.

© 2017 Sunil's Blog

Theme by Anders NorenUp ↑