Archive for the ‘Projects’ Category

Project: Creator Spiritus Forums

Thursday, June 11th, 2009

I know I haven’t posted for a while, but I’ve been kind of busy. I’ve been practicing of course, and starting up a new forum.

I will be posting about my piano lesson the other day, later, but first would like to announce my new forum. It is called the Creator Spiritus Forums.

I don’t like to write about religion here, because I’ve mostly written about programming and music, and don’t want to alienate any audience I might have. However, I am a very religious person, and enjoy writing about and discussing it.

For that reason, I started up CSF to have a place to discuss my religious journey, and attempts to live a Christ-centered life. Also to be a place to have engaging discussion with others, regardless if they have the same beliefs or not. I also want to write articles there, which will be featured on the front page.

It still needs some work, such as a logo, but I’m pretty happy with it as it is already. It was started last Friday, and already it has over 100 posts.

So that’s where I’ve been for the last week, trying to get this thing going. But now hopefully I can find some more time to write over here, too, on top of practice and everything else.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Fight Controller Weekly Report: Week #1

Monday, May 4th, 2009

I decided to start posting a weekly report of my progress on the game, so that those who are interested can see how it is going, and to try to provide some accountability for myself and incentive to work on it more.

I just started it last week, and it was primarily time for planning. I’ve also been doing a lot of reading about the science behind airplanes, but that isn’t reflected here. I may start reporting it though.

Right now, I just have a basic XNA foundation for the game itself. I do have some sounds loaded into it, and some code that manipulates the sound, but nothing very significant. I want to download NBehave soon. That is, assuming that I can figure out how to use it despite its severe lack of documentation. Otherwise, I will just be using NUnit with naming conventions to make it more similar to BDD.

Fight Controller Web Site

Set up RSpec and Cucumber

Time: 00:17:28
Days:

  • Friday, May 1: 0:17:28

The first thing I did, of course, was to set up the Rails project, and also install RSpec and Cucumber. That was relatively simple.

Sprint Planning

Time: 01:04:34
Days:

  • Saturday, May 2: 00:31:55
  • Sunday, May 3: 00:32:38

Primarily, I worked on planning and discovery. I spent the time in sprint planning for the upcoming iteration.

So far, my list of features looks like this:

As a first-time visitor
I want to view the front page
So that I can learn what the game is about.
 
As an interested user
I want to subscribe to the mailing list
So that I can keep up-to-date about the game.
 
As an interested user
I want to visit the forums
So that I can check on the game's progress.
 
As an interested user
I want to apply to be a tester
So I can try out the game for free.
 
As a tester
I want to view the front page
So that I can login.
 
As a tester
I want to download the game
So that I can test it.
 
As a tester
I want to visit the forums
So that I can give feedback about the game.

I’ve been trying to group them by role, which has been very useful for me.

Plans for This Week

Today, I need to do some actual planning for the game itself. I also need to check out NBehave to see if it’ll be good enough for testing.

The rest of the week, I really want to get started coding the game, and also make some progress on the web site, so at least I can get the front page up.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Researching for the Game

Monday, April 27th, 2009

I reported on Saturday that I am creating a game involving airplanes.

All weekend, I have been reading and trying to learn some of the math behind it. I want to make it as realistic as possible, but also it is tough because I obviously can’t make every little thing accurate. It is a game, not a simulator, but I think it’ll be a challenge if the player has to control the airplane similarly to how actual airplanes are operated, whilst trying to shoot down enemy airplanes, or execute whatever mission they are sent on.

So, I started reading a free book online called See How It Flies by John S. Denker. It is a book clearly written for pilots, but with enough mathematics to keep me interested, as well as detail on how the controls work, and actually affect the plane. On the first night I started reading it, I only got through the first chapter and a few sections of the second. The second night, I got through part of the second, but then got sucked in by Wikipedia, where their articles have much more math and science explained.

Often, I had to look up a term that I did not know, such as angle of attack. For a while, I did not know the difference between angle of attack, pitch attitude, and angle of climb.

Of course, one article led to another, and soon I found I had been reading articles on Wikipedia for several hours. Kind of scary. :P

The thing is, I read much of chapter 2 without knowing exactly what angle of attack was, so probably missed a lot of what it was talking about. I am planning to re-read those sections of the chapter.

I still don’t understand everything, obviously, but I feel like I have a much better grasp on certain things. I even had a few breakthroughs, where I realized how to calculate certain things.

One thing that confuses me a bit is whether airspeed can be sounded strictly as your horizontal speed, or if it is counted as your speed relative to the wind. I guess Wikipedia says it is relative to the air, which is not always horizontal relative to the ground.

The reason is that I figured out how to calculate the rate of climb if you are climbing at a given angle and airspeed. It is a simple trigonometric problem. The thing is that if airspeed is horizontal, then you take the tangent of the angle, but if it is relative to the air, then you take the sine. I believe it is the latter.

On the other hand, if the plane is taking off, and it is at a given pitch and going at a certain speed, that speed must be horizontal, since it is on the ground, so I believe in that case, the tangent would be the correct answer.

As I have been reading both the book and Wikipedia, I have been writing down all equations I could, that I thought I could use. I have a file of equations that is 174 lines long now.

So, I will be continuing to read this book, and trying to understand these concepts better. I was not very strong in physics last year, as anyone who has been reading this blog knows (though that was probably partly because of all of the pictures and the failure of the department to help), but I am good at math, and really enjoy this subject. I think it is fascinating, so it is very worthwhile for me to research it like this.

I do want to get started on the game soon, though. After a while, purely theoretical study gets frustrating, and I just want to see something tangible.

On that front, I’ve been researching for BDD frameworks for .NET. That is an entirely different pursuit, though, deserving of its own blog post, especially once I come to a decision.

Until then, I would like to ask those who are reading, do you have any names in mind for such a game? As mentioned the other day, I just entered Flight Shooter on a whim, just to have a project name for Visual Studio. I even registered the domain before posting about it, in case I ever wanted to actually use that name.

So do you like that name, or do you recommend something else? Do you have any other suggestions for this game? Please let me know in the comments.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Creating a Game

Saturday, April 25th, 2009

I have been really wanting to make a game for a while now, but wasn’t sure if I would be able to.

Several years ago, I made a simple game in C++ that allowed you to fly an airplane. It wasn’t very accurate as far as physics is concerned, but I enjoyed it. The challenge of it was mostly in landing, and doing so before the fuel ran out.

It was fairly rudimentary. To indicate speed and altitude, I used the system beep function, since you can set the pitch and duration of it. Of course that wasn’t very realistic, but it was still fun.

Well, I’ve been wanting to do something like that again, but more realistic this time, and with more features. I want to make it as realistic as possible, though with a limit since I can’t learn everything there is to know about aerodynamics. I want to have more realistic sounds as well.

I’m thinking of eventually making it potentially a multi-player game, with players playing against each other, or a player against a computer, to shoot down enemy planes. That’ll be after I get the actual flying down, though.

I’m making this mostly for blind people, because there is nothing like it out there. In addition, I’m not very good with graphics (understatement), for obvious reasons. The tough part is getting good enough audio to make it realistic.

The thing that’s confusing me is how to make the sound respond to user control. For instance, if the plane is taking off, there is a sound associated with that. However, if the player suddenly descends somehow, well the takeoff sound isn’t applicable anymore. I have found several sounds, but putting them together would be the hard part.

Either way, I’m very excited about this. I’ve been reading about how airplanes work to try to make it as realistic as possible, and it is very interesting. It’ll take some work, but it should be fun.

I have no idea what to call it yet, but for now am calling it Flight Shooter. It’s kind of unoriginal though.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Downtime for Moving to a New Server

Wednesday, March 4th, 2009

I currently have this site on a VPS with ServerGrove. However, I have a web site in planning for allowing musicians to keep a practice journal, just like I have on this blog right now, and it’s going to require some resources, especially disk space for all of the media files (the recordings). As I mentioned before, I’ve moved all recordings from Amazon S3 to my own VPS, and soon to the server. Just by myself, I upload at least 100 MB per day, and expect that to at least double or triple. Other users will be able to do the same thing once I have the web site developed.

So I have ordered a server, which includes an AMD Opteron 1218 processor, 2 GB RAM, a 750 GB SATA II HD, and 2500 GB of monthly transfer.

My VPS will need to be transferred to the server once it is ready, so there will probably be hopefully at most a few hours of downtime while DNS propagate. I will post about it when it is transferred.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Budgix – Budgeting Web Site

Wednesday, September 10th, 2008

I’m very meticulous about budgeting. I’ve been using a program called You Need a Budget, which does work pretty well.

However, I thought that I could probably make something better that used similar rules, but added a lot of additional things, too. I had also been checking out GnuCash, and thought that a mix of many of the features from both of these programs would be perfect.

I excel at making web sites, so thought I’d make a budgeting web site, with the features I’ve mentioned, as well as some articles about budgeting. If it was on a web site, too, people could add transactions and execute other actions via SMS, which seems rather convenient.

So, that is what I am working on now. Well, I’m trying to work on it. I made some progress before school started, but now my free time has significantly diminished. However, I’m going to try to work on it at least on weekends, and any free time I can manage throughout the week.

The project is called Budgix. It’s nice and short, and a bit catchy, too.

I’m really excited about the project, so I do want to get working on it. Hopefully I can at least get some basic features finished soon. I’ll try to post updates on my blog every once in a while about it.

If you enjoyed this post, make sure you subscribe to my RSS feed!

Elemental Quiz Is in Progress

Saturday, June 21st, 2008

I have continued planning out the periodic table program, which I now officially call Elemental Quiz.

Instead of using XML, I decided to use a database, specifically MS SQL. It is probably faster, and easier to retrieve data.

The schema was something that continuously bothered me though. However, with the help of a friend, I think I have most of it finally. There are still some minor details to work out, but I will work out those when I get to them.

For now, I created the first three tables that I need, and have started on the administrative section, in order to add new elements and their data.

My major problem right now is regarding the element data. I am calling these data fields, and the fields may have many types, including text, integer, number, and multiple answers, where multiple answers obviously requires one to choose multiple answers instead of just one. I am pretty sure that some elements have several classifications, so that is why I have introduced this type.

The problem is that once I create a new field, I want to be able to enter the possible answers right away if “multiple answers” is selected. I don’t’ want to have it on the same page, though, as that’d get messy when editing. The only thing I can think of right now is to have a separate page to which the user is redirected after adding the new field, where he/she may enter the number of answers the element can possibly have. That is, the number of options there are. On the next page, then, there would be enough fields to enter each of these answers.

The other option is to enter one answer per page, and have two buttons: add another answer, or finish. I actually think that this method sounds decent, so I might do it that way.

After I do this, and start to add the data, I will have to work on creating the actual quiz functionality. That will be quite interesting indeed, but hopefully I can make it work very well.

Unfortunately, this web site probably won’t have anything resembling a design at first, since I simply can’t afford one right now. However, I am going to save up for a couple of months and so hopefully then can hire someone to make one for me. Until then, I have plenty of time to implement these features, and perhaps find people who don’t mind the lack of design.

If you have any suggestions about this program, please let me know.

Currently, I have many features in mind. There will be many types of quizzes, including quizzes that allow you to choose your level, or that adapt to your knowledge level, and increase or decrease in difficulty as you get better or worse. It should vary widely from the easiest of questions, to the unimaginably difficult. You may even be able to select what kind of questions you would like to be asked, and about which data of the elements.

If you enjoyed this post, make sure you subscribe to my RSS feed!