Phil Hassey - game dev blog
Phil Hassey as Wolverine
"What kind of
arrogant jerk
has a website like this?"

Archive for the 'galcon2' Category

Galcon 2: Classic mod demo with zooming and scrolling

Friday, January 25th, 2013

I spent a ton of time this week polishing the modding system for Galcon 2. I’m really looking forward to letting everyone dive in and try out the game and give modding a whirl very soon :) One of the most useful features I added was a console to the game, so that while you are building a mod, you can get error reports back from Lua, as well as manually type in Lua code from a prompt for quick tweaks. The modding system also auto-reloads mods, so if you are editing the file on the side, you can see your updates instantly. (This was really exciting when I was working on the bot AI, the AI was all doing the wrong thing, so I edited the file, saved it, and instantly the bots started doing the new behavior! It’s really fun!)

A big part of the game, and the mods, is the ability to have menus for users to pick options. Doing GUI code is a real pain so I decided to work to avoid all that by creating a very simple HTML parser that would work with my GUI system. This way modders can plunk in some simple HTML code and give the users options to pick ranks, numbers of planets, or whatever. This is also going to really help me with rapid development of the rest of the game. The HTML capability is very minimal, but covers the basics.

I spent about 15 minutes goofing off this week, seeing how the game play would look behind the menus. I think this *could* work really nicely in the future once I’ve got sweet rendered planets and effects and stuff. I’ve taken this out of the game for now, because I found it made reading the menus pretty difficult!

Here’s a brief demo of me playing with the Classic mod. You’ll notice that I’ve got scrolling and zooming built into the game right now. I’m not quite sure if I’m going to keep that as part of the game or not, but it will be in the first beta so you can try it out and tell me what you think. At the very least, having Galcon 2 work properly with all size galaxies is really going to help me with supporting different device sizes.

Thanks!
-Phil

P.S. You can get many of these updates in “realtime” by following me on twitter.

Galcon 2: Lua bot wars

Saturday, January 19th, 2013

Hey, it’s been a good week working on Galcon 2 :) I started out this week by adding ships into the whole swarmy mess!

Next up I got the swarms “doing” something a bit more productive, and added planet ship count numbers. I also did a ton of analytics on idea parameters for the code to make swarming most efficient. It seems pretty fast now.

Then I cleaned things up a bit, added the user interface for selecting planets and deploying ships and added in a really simple bot so I could play against it!

Lastly, a lot of people were asking for the ability to help out with the single player game by doing mods, I build a large part of the modding system. Below is a movie of me running a Lua based mod with two bots fighting over the galaxy :) The mod has set the game to run at 16x speed so the outcome happens sooner.

I decided on Lua because out of my three main options (C, python, Lua), C is basically impossible to sandbox and I want people to be able to download and try out mods without too much concern. python is my favorite language, but embedding it is non-trivial. Lua won out, because it simple to embed, and doing basic sandboxing on it is pretty straightforward. This is the first time I’ve coded anything in Lua, and I found it was pretty straight-forward.

-Phil

Galcon 2: Now with 4000 planets!

Saturday, January 12th, 2013

Ahoy there! Thanks again for supporting the Galcon 2 Kickstarter! I’ll be sending out progress updates as the development progresses, and here’s the first!

Day 1: First I got the basic “black screen” up and running. I’m using C++ and Xcode as the primary development tools of Galcon 2. I developed iPhone Galcon and Galcon Fusion with C++ as well as Dynamite Jack.

Day 2: I decided black screens were boring and I added a handful of planets.

Since there were overlapping planets, I worked on the collision code in Galcon to fix the overlaps automatically.

This was looking good, no planets were overlapping. So I decided to take it up a notch and try out 4000 planets!

This worked on the first try, but it took forever for the layout of the planets to stabilize. I spent the rest of the day improving the collision code so that it could handle this amount of collisions at high speed. By being able to support this many items, at any scale, I’m already designing Galcon 2 to work smoothly on any screen size, and possibly with games that are larger than a single screen.

Here’s video of the collision code in action, actual speed:

I plan on sending these updates out pretty frequently, but if you want even faster news on the development of Galcon 2, please follow me on twitter. My name there is philhassey. Also, there’s lots of fun Galcon 2 discussion in the forums too.

Thanks!
-Phil

Galcon 2: Last chance to back it, and the GALCONATHON!!

Sunday, January 6th, 2013

Howdy everyone! We’ve got less than 24 hours to go in the Galcon 2 Kickstarter! We’re getting close, but we really need your help to make it to the goal! If it’s at all possible, please pledge something!

The GALCONATHON

For the last six hours of the Kickstarter, we’re going to be holding the one and only GALCONATHON! It’s going to be a live stream available on YouTube (check the Kickstarter page for the link.) But it’s also going to be something you can participate in! Here’s the rough schedule (in MST):

1pm: Phil and Nan chat about Galcon 2

2pm: The Galconathon Tournament begins (Galcon Fusion – sign up here!)

3pm: Phil and some guests play the 1995 version of Galactic Conquest

4pm: Phil and Tim entertain us with some fiddle + banjo tunes

5pm: The final round of the Galconathon Tournament

6pm: The final hour! We hangout in the chat and ring in Galcon 2!

It’s gonna be a ton of fun, anything could happen. Just stop in for a bit and hangout with everyone! It’ll be a blast! Let’s make Galcon 2 happen!!

-Phil, Nan, and the goats

Galcon 2: Not much time left, we need your support!

Saturday, January 5th, 2013

Hey,

There’s not much time left in the campaign, and we need your support for Galcon 2 to happen! Check the Kickstarter page for the final countdown. If you’re still wondering what’s great about Galcon 2, here are two videos to convince you.

Here’s a video of me talking about what I’m excited about in Galcon 2.

Here’s a concept art video of the sweet Galaxy Map in Galcon 2.

I really want Galcon 2 to happen, and with your support it will! Please back this project and tell your friends!

-Phil

Galcon 2: Nine days to go, we need your support!

Saturday, December 29th, 2012

Okay, folks! We’re getting down to the line here. We’ve only got 9 days to go, so we’re nearing the final push! Nanno, our community manager, just made a video to tell you why she’s excited about Galcon 2. You can watch it here.

If you’ve got any questions for Nan or Phil about Galcon 2, please post them in the comments of the video. Also, start telling your friends to back the Galcon 2 Kickstarter. It isn’t going to happen if we don’t reach our goal, and we’ve got a ways to go yet!

-Phil

Galcon 2: Kickstarter Update

Friday, December 21st, 2012

Howdy,

It’s been an exciting first couple of weeks of the Galcon 2 Kickstarter campaign! There have been a ton of questions about what the game is going to be like and about the beta process, so I did a few updates I’d like to share.

The Galaxy Map – this update explains what the larger Galaxy Map is going to be like. It’s going to add a whole new dimension of long-term competition to the game!

Community Q&A – this update answers some of the questions the community has had about how the beta experience is going to work with community involvement.

The Classes – this update is about my favorite new feature of Galcon 2 – competition between classes. This will add tons of variety to the gameplay options!

Anyway, thanks for checking out Galcon 2. Have a happy holiday!

-Phil

Galcon 2 Kickstarter Launched!

Friday, December 7th, 2012

The Galcon 2 Kickstarter has launched! I’m really excited about this. If funded, everyone who supports it gets awesome Galcon goodies and we get Galcon 2!

This will fund the development of Galcon 2 for iPhone / iPad / Android / Windows / Mac / Linux. So anyone who is into Galcon should support it! The more people who support it, the better the game will be :)

Have fun!
-Phil

P.S. Also be sure to tell your friends! Spread the word so Galcon 2 can be the best!

Galcon 2: Galconicorn Teaser

Thursday, November 8th, 2012

What’s this? The Galconicorn has been spotted!

Watch the video!

In about one month I’m going to be launching a Kickstarter campaign to get people involved in the development of Galcon 2! Want to help out sooner? Here’s some things you can do:

– Hang out in the Galcon 2 forums!
– Create a video telling why you are excited about Galcon 2!
– Start saving your bucks – I’ve got some really exciting rewards planned that will only be available through the Kickstarter!

Have fun!
-Phil

P.S. A special thanks to ipcress for envisioning the Galconicorn :)