Posts

Showing posts from January, 2010

[Android] Change of Scenery

After working on NetHak (both client and server) for most of the day I need a little distraction now. It is a lot of fun to work on the game, but I noticed that the text-based nature of the game seems to be the main reason for people logging out. I can not really blame them, as this niche area of gaming is hard to get in to.

Luckily for me the game pretty much runs on its own now and while I still intend to enhance the client and server over the next months I will also work on another little project of mine: iFarm.

iFarm will be a framework for web-based strategy games, realised with PHP and mySQL. I will see if I can convince one of my co-workers to create some graphics for me.

I'll be using my old webview template for the Android client, I think. I will have to improve it, but the default Android browser does not display my project page correctly (it is zoomed out and I have to zoom twice to get it to display as intended).

I'll keep this blog up-to-date with my progress on this …

Top of the Morning to Ya!

Image
After a good night's sleep (or better said morning) there's now over 1200 downloads and a diabolical number of active installs. :P

Time to work on the server changes for tonight's server patch!

NetHak Android MMO Client Development

Today's client update pushed the game to the top of the "Just In" list in the Android Market since it's original launch on Saturday of last week. It has been downloaded over 1000 times now and 45% still have it installed.

The revamp of the tutorial area and the new client layout (thanks for the help, Steven) seems to work, as more players have made it out of the tutorial and into the game.

I'll be releasing a server update tomorrow to make it easier for players to get credits to build their own systems.

NetHak 1.2.0 Live on Market

I have just released a new version of the NetHak MMO client on the Android Market. This update offers a more comfortable user interface and some bug fixes.

Join the text-based science fiction MMORPG and start hacking away!

[Android] Show notification in status bar

import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.content.Intent;
import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class StatusbarNotificator extends Activity {

private NotificationManager mNotificationManager;
private int YOURAPP_NOTIFICATION_ID;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.main);

// Get the notification manager service.
mNotificationManager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);

/* Show a sample notification when the first button was clicked. */
findViewById(R.id.btn_showsample).setOnClickListener(new OnClickListener(){
@Override
public void onClick(View v) {
StatusbarNotificator.this.showNotification…

[Android] Setting screen orientation programmatically

import android.app.Activity;
import android.content.pm.ActivityInfo;
import android.os.Bundle;

public class Orientation extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

//---change to landscape mode---
setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
}
}

TotalMadOwnage now on Blogger!

Since I have decided to merge all of my web presences into my Google account I also forward the www.totalmadownage.net address to this blog now. I really do like Wordpress, but I do not like my current host too much (site has been slow for months), so I though why not go for the free and more stable version on Blogger.
Everything else will stay the same, though - so no worries, you'll still find your Android and MMO news on here! Feel free to leave comments and have fun.
You can still reach the old site here. I might be moving some of the more interesting entries from the old blog into this one, but it will mostly be new entries here.