Archive Page 2

Hamster Climb 0.21

Woohoo! Hamster Climb just got a Global High Scores list! 😀 Now live on the market. 🙂

Hamster Climb

Android Market link

Yay! Finally my first Android game is up on the Android Market! 😀

Hamster Climb is a game where you control a hamster and your task is to jump on falling mail cargo to get as high up as possible.

The game starts out with only crates coming down. They are pretty big and easy to jump on. After that smaller packages start appearing and the vertical spacing between cargo start to increase. Now the birds start coming. When you jump on them your current score is doubled! Higher up letters start coming down. They fall like letters do, swaying back and forth which obviously makes them harder to jump on. All the while the number of crates dwindle and the letters start to behave more and more erratic, the vertical spacing between the cargo is still increasing and your finger is getting tired.

Will you beat my high scores? 😉

Game making

This is a weird post on a blog I really haven’t updated much since I created it. The post is mostly to kind of silently announce to the world I exist and like programming. Also partly to rub it in the face of the mmo nay sayers that even noobs can learn and have fun and maybe actually succeed creating their very own mmos.

I’m really interested in coding. Really. I always thought it was cool to be able to code when I was a kid and really wanted to learn. I started with some hello worlds and random fooling around with code, not really knowing nothing. I started to learn some more but I didn’t really have anything to code. I needed something more specific, something to learn programming while doing. So I got into programming games. It started with python and pygame. GREAT tools, especially for beginners since it’s so simple and comes with zero hassle. 🙂

I coded some stuff. One actually kind of complete game, heh, in which a ball spawns at the center of the screen and you have to catch it before it reaches the edge of the window. When you do or it does score points are increased/decreased and the ball respawns in the middle of the screen. This goes on for 30 seconds. Was pretty fun actually. 🙂

Anyways, I always liked mmos… Mostly for the fun of multiplayer gaming with my friends. But also the design of the whole thing. Anything from client-server interaction to combat mechanics. So I started, trying to atleast, code something of the sort. I did it in python/pygame ofc, that’s what I knew. I learned networking, more about game making, protocols, message handling etc. The code sucked. xD I rewrote everything over and over. I even started on other things such as my own graphics engines, both in python and c++. I’m not really that experience tho, and creating my OWN engine for anything but fun is just crazy. A graphics engine by itself takes years to make for a TEAM of EXPERIENCED coders. I just wanted to create games and I ran out of fun. xD

Back to the mmo stuff I went. I had some fun with python/pygame doing stuff, mostly learning about game making. Threw away the code over and over heh. Finally, I got tired of 2D graphics and wanted 3D instead. I found Panda3D, a open source graphics engine created by Disney. It’s written in C++ but meant to be used from python. PERFECT. 🙂 I played around with it and found it really easy to use. There’s even an exporter for Blender. 🙂

Now my mmo efforts are concentrated on a python server and python/Panda3D client. It’s actually working out quite well this time around. Mostly because I’m A LOT more experienced now. Before this I had never used databases. Had to learn, it’s the thing you know. For the server I’m using sqlite which is a simple no server, one file database library that’s actually included with the standard python release, how convenient. 🙂 I read up on how to handle entities, objects in the game world, and found something called entity systems. Wonderful thing. Got me thinking on how to use the database to it’s potential.

Anyway. Now I have a server written in python, using an sqlite database and communicating with the clients over TCP. The server supports handling connections, logins, the clients entering the world, chat messages, client movement. It also handles “static” or “cacheable” entities such as trees, stones, road signs and the like. These are later meant to be cached client-side by the means of regular server updates. This means they can still be just as dynamic as any other entity in the game world. All entities are equals pretty much. Some are just expected to be more static than others and therefore cacheable. The server also support zones and there are currently two of them. 🙂 One ice and one grassy with trees, stones and road signs. There’s also a magic stone in the ice zone I want to teleport you to the grass zone, more on that later.

The client can connect to the server, be used to login, create characters, enter the world, walk around in 3D on  a height map and see the entities around like trees, stones, other characters. You can send chat messages that get’s picked up by other players if they can see you and also see others messages. I think this is a good start but I’m mostly concentrating on the server at this moment, that code is most importantly CLEANER heh. xD

I have no delusions tho. This game wont ever be the M in Mmo. At this stage I think it might some day support combat. 😉 That’s the level of expectations I have. But that’s what’s fun and make this possible. I just look at the next thing. Currently it is, as always, cleaning up the code and all but other than that, an actual new thing/feature, is adding support for scripting things. I want scripting now because I want to implement a teleporter stone between the zones and thought it might be nicely done using some kind of more generic scriping. In python of course. 🙂

Just an update from big bang to now. 🙂 Cya, when my new ocarina arrives I’ll post more on that. 😀

New ocarina :D

I ordered a Mountain Ocarina Polycarbonate G a couple of days ago. 😀 I hope I get it before the weekend but that probably wont happen. 😦 Been playing a lot on my Focalink Double Alto C and I love it but I wanted to try something new too and the low end mountain ocs come at a really good price. 🙂

Forsränningen

I uploaded loads of photos from Forsränningen in Uppsala to my Picasa web account today. More will be coming up in a couple of days. 🙂

http://picasaweb.google.se/baskus/Forsranningen

New Ocarinas! :D

I just got my new Double Alto C and Raindrop Pendant from Focalink today! 😀 They’re both awesomesauce tho I can’t really play pendants yet, but I tried a few tabs and it sounds really nice. 🙂 The Double on the other hand… 🙂 I had a 10 hole before so I can play many songs on it I already knew. Let me tell you, this ocarina is kick ass compared to the sound quality of my Schwarz. I haven’t really figured out the switching between the chambers yet. I often don’t find the holes on the second fast enough and accurately enough but I’ll get there. 🙂 Also the sound “quality” as in type of sound seem to be different between the chambers, but this is because I haven’t learnd how to play properly yet. I kinda have to relearn how to play now that I have a proper ocarina. 🙂

First Ocarina Video on Youtube

I just posted my first ocarina video on Youtube! I play one of the Star Wars melodies on my Schwarz Tenor C ocarina.

Here it is:

I will probably post another one tomorrow. And on monday I’ll get my new Focalink ocarinas! I might post something more then! 😀


I am a student of Engineering Physics at Uppsala University and am currently working on my master's thesis. On this website I mostly write about my own programming projects.