All posts by admin

HTML5 Plat-former Engine Update 1

I have now added in some gravity and velocity to the game. I still need to tweek a few things to make it a little more enjoyable and give it a better transition of movement. At the moment everything tends to happen rather quickly and it looks really blocky and buggy.

At the start of the round the player drops from the top left and lands on the floor. This is the first proof of concept that the dropping of the character is working.

picture!

The next thing on the list is to go through the blocks that the character can land on. This is going to involve creating an array of platforms and checking to see if the character should have landed on it based on where it came from, where the platform is and where it is going.

Yay math! Yay branching statements!

HTML5 Plat-former Engine

Currently working on a little plat-former game engine that is currently being built rather slowly but I am happy with the current rounds of performance and how well everything has been coming together. I now have colliding objects and an integration of tweening motion between points with movement levels. An example of this is the sun moving right, down, left and up again by 50 blocks per 50 or so cycles.


 

The next step in the project is to built a proper gravity engine that will allow for player velocity through the x and y co-ordinates along with object collision with all blocks that will act as ground blocks meaning that if the player hits them they will then be registered on that level and will be able to be moved with the keyboard again.

Hack Day

Recently I have been working on indexing everything. I built a scraper a week ago and currently have accumulated over half a million domains along with content such as title, paragraphs, tags etc.

Today’s job is to better parse this information and create a better structure system to track changes in content with revisions. I plan on storing a revision number, a url_nid and an md5 of the page’s content.

 

This image should give you a quick understanding of what the server load was a week ago and what it has been doing for the past week. It is pretty obvious when the scraper has been turned on and off…

This method should give me a decent understanding of the changes that are going to be taking place and will give me a better look at the information once plugged into a search engine that I built a few years ago.

 

Project: Tower Defence – Day 6

Just recently started to work on the mobile application again and this is going to be the sixth day of development. The main focus on this post is what I am planning on adding to the application. So far I have a few extra zombies that will be added to the application and a few new extra turrets that need to be added.
I know what you are thinking and I’ve said it before. I am not a graphic designer but I am the farthest thing from it. In fact I am primarily a server side developer and thus the graphics were whipped up on the fly. I do need to change a few features of the build menu. One of the things that I need to do is move it so it cannot be moved off of the screen.

 

Project: Tower Defence – Day 5

Unlike the previous posts for this project this one is not a consecutive day since I picked up another side project that has taken a bit of time. It doesn’t help that the Minecraft server that I play on was reset…

Features

Tonight the Tower defence game has gotten a little bit of an overhaul as far as functionality goes. I have finally started up again and implemented build and upgrade menus. These menus are not completed because there are some game features that need to by tied into them but it will come and it will most likely come soon since I am rather excited about the current state of the project.

I know you like images.

Right now you are probably thinking something along the lines of “Caleb, why the heck would make it that ugly.” And my response is something along the lines of “I don’t do graphics very well.” On the bright side each of those tiles displays at a different size once on the actual phone. They are about 50% of their current size on the screen because of the pixel density.

Final notes

I am happy to have written high concept document and a low concept document that covers all of the features of the application. Creation of the application happened rather spur of the moment but I have to many ideas that have been stored in doc files over the years. This game was fully written up about 2 years ago now when I originally wanted to create it for IOS but instead I chose to build it on Android.

Back to writing full documentation… This is the most important thing that you can possibly do. Write out everything and be clear about it for future reference. I had two pages of font 11 type that just went through what happens in game when there is a click event and I am so great-ful that it was part of the design and already thought of prior to implementation.

There are a few things in the game that I would like to change. First and foremost is drawing out the graphics. Things like grass and concrete paths don’t change and thus they can be drawn out once rather than cycled through on each pass of the game. This is my largest fault of lag that causes my SGSII to have CPU spikes around 40%; which isn’t a lot but it is a little more than I would like for a game that is this far into development.

This episode was brought to you by Season 5 of Lost. (I didn’t die of boredom.)

Samsung Galaxy SII Unable to install apk

Tonight I had a little problem that I was able to figure out. I was running into a problem where the application I was working on was unable to sync up to the phone and I received the following error.

[2011-09-07 23:20:22 - name] Failed to install 
name.apk on device 'devicenumber': Unable to open 
sync connection!

[2011-09-07 23:20:22 - name] java.io.IOException: 
Unable to open sync connection!

[2011-09-07 23:20:22 - name] Launch canceled!

This isn’t the first time that I had run into this problem and the normal solution was to unplug the phone, refresh the project and try again.
This solution did not work. Through trial and error I found that if you unplug your device, go to settings -> applications -> development mode and turn this off and then back on again your problems will go away. It has popped up once or twice through testing but it isn’t that big of a deal. If you have a solution or know why it is doing this please let me know.

Project: Tower Defense – day 4

It is day 3 day 4 of the tower defence game project and thus far there are a few features that I have implemented and a few features that are still outstanding. In the projects current state there is one type of creature and one type of turret. The path that the creeps go down is a single line as there is no path finding programmed into the game yet and in the end I intend for this game to be running on a pre built path.

No forcing of creature’s paths in this game.

While I write this article I am monitoring the games ability to handle speed and I am constantly working on attributes behind each item such as creature speed, and health along with the turrets damage, speed, range, and cost.

I have built in a rather unique way of purchasing turrets but I don’t want to get into that kind of detail in this post so I am going to leave it out.

These images are a few hours old and the application looks a lot different now then it did at this stage of development.

Hello World

Welcome to the site. This is a simple blog that I will be posting to for all sorts of project updates. The updates may be a daily thing or they may be a once a month kind of deal. If you know me you will probably assume that the site will consist of code related topics and you are partially correct; however, I will be updating other projects on here as well such as photo shoots, records of fitness and weight records, statistics that I find interesting and basically anything else.

Hopefully you enjoy what you read here and if you don’t there are other places that could use your attention.

If you do not know me you will find this site interesting if you are a developer, photographer or anything else along those lines.

Designers keep oot.