su -c ‘rm -rf /mnt/proprietary’

August 23, 2008

Back to pygame…

Filed under: Gaming — krish @ 9:17 am
Tags: ,

I had to pause my KDragons project for sometime to get busy with mukt.in tasks. It is high time I get back to it now.

Here’s something that was done today morning, kinda stupid – that dragon is from google search. Oh, the cloud also is from google image search :)

Doesn’t it look super stupid :(

I should really take some time to do art :P

July 13, 2008

KDragons screensaver

Filed under: Gaming, Programming — krish @ 1:12 am
Tags: , ,

Just wrote a simple scrolling marquee screensaver with pygame. Bad thing, it runs in 640 x 480 display mode.

Image:
KDragons Screensaver
Konqi taken from Wormux.

Source:

#!/usr/bin/env python

bkg_image_filename = 'images/wormuxkonqi.png'

# Running in windowed mode
SCREEN_SIZE = (640, 480)
message = "    KDragons coming soon...   "

# Get functions needed
from random import randrange
import pygame
from pygame.locals import *
from sys import exit

pygame.init()
screen = pygame.display.set_mode(SCREEN_SIZE)

font = pygame.font.SysFont("freemono", 30);
text_surface = font.render(message, True, (0,255,0))

x = 0
y = ( SCREEN_SIZE[1] - text_surface.get_height() ) / 2

bkg = pygame.image.load(bkg_image_filename).convert()

while True:
	for event in pygame.event.get():
		if event.type == QUIT:
			exit()

	# set speed for scroll and change of y axis position
	x-=5
	if x < -text_surface.get_width():
		x = SCREEN_SIZE[0]
		y = randrange(100,450,20)

	# konqi scrolls opposite direction to text
	screen.blit(bkg, (-x,y/2))
	screen.blit(text_surface, (x,y))
	pygame.display.update()
	screen.fill((0,0,0))

April 22, 2008

GSoC 2008 results are up!

Filed under: GSoC, Gaming — krish @ 4:38 am
Tags: , , , ,

Rejoice all students, finally an end to the long wait for GSoC results.

This time google is funding 1125 students; they received over 7,000 applications for this year.
Post announcing results open by Leslie Hawthorn.
All students should be thankful to LH and whole team as well as the participating organizations for this program. It is a real effort demanding task to carry out such an enormous scale program.

As for KDE, this year’s accepted projects are listed here.
I should thank the whole KDE team for their effort on this. :)
My application ‘KDragons’ didn’t make it to the selected list; may be it was too stupid. :P

So, that’s the end of my GSoC road for this year. Now to finish my leftover builds on KDE4 and I should be ready enough to write some patches. I should try to get my SVN account on KDE in another month or so.
KDragons needs hosting somewhere now, may be on kde-playground or if not, my choice would be launchpad.net

Hmm, its 04:35, I am not yet feeling sleepy. Guess results scared the sandman away! ;)

KDE 4.0.x to KDE 4.1

Filed under: Gaming — krish @ 12:55 am
Tags: , , ,

KDE 4.0.x build with kdegames from trunk has managed to take lot of space on my /home. I could have tried building from trunk on /home with different directory. It would have been fun to have both builds together.
I was sure this will end up somewhere before the build and fill up space again. So, I decided to repartition my whole disk for a new start.

My data backup was not much, all my deb packages from apt archives, some documents, wallpapers and few Dragon Ball- Z episodes. Thats it and my blackbeauty was ready for a new installation.
kubuntu 7.10 32-bit found its new home sweet home on my PC.
Current partitions include /boot = 156MB, /home = ~46GB, /var = 5GB, swap = 1.3GB, / = ~25GB

I started building qt-copy again and this time from trunk. Internet was damn slow that night, and as usual slow things make me sleepy and I dozed off again. :P
Next morning, I completed qt-copy build.
The PC is still in the same state; I had to get back to some unfinished web work for mukt.in 2008

April 10, 2008

Yay! Back home.

Filed under: GSoC, Gaming, mukt.in — krish @ 8:58 am
Tags: , , , ,

Phew, I am back home after a long and tiring stay at Chennai again. I say tiring because, there was not much to do in the extra 3days of my stay due to missing the train.

Luckily I didn’t miss the KDEGames meeting. It was decided that there will be a student’s meet for all GSoC participants of this year. That’s really sweet of the kdegames team. :)
My GSoC application (KDragons) to KDE has moved from status ‘Available for review’ to ‘Ranking in progress’.

I am back to building KDE4 on my desktop.

At mukt.in, the website theme has been updated with something that looks and feels like open source software atleast. The theme is still under development, so please do not get mad with the colors yet.
The blog and ToDo links have been removed.
Blogs will be updated under volunteers section and ToDo goes in the discussion forum. We’ve decided to leave the wiki as a playground/sandbox for everyone. Selected Ideas from wiki will make it to the website.
Our chat still runs mibbit ajax based web irc client; one of the drupal modules. I wonder if it supports connecting to any other irc server. We may have to configure this to auto-join irc.devnode.org; thanks to devnode for enabling us on their webchat server.

mukt.in welcomes suggestions/comments anytime. :)

March 29, 2008

Development Environment

Filed under: GSoC, Gaming — krish @ 12:19 pm
Tags: ,

I’ve submitted my application for KDragons on my dashboard at Google SoC.

Its time now to prepare my box for KDragons.
What do I need?

    Use 1 dedicated distro
    KDE4
    Python, PyKDE, Qt, pygame, Gimp/Krita, audacity.

I start by removing multiple Operating Systems on my box. It has been running ubuntu and windows for some testing. So, missed KDE for some time now. Now gearing up for a re-union.

Kubuntu Gutsy Gibbon finds its new home on my box now.
It is running KDE 3.5.8 and I just finished installing firefox3 beta4. Flash plugin has been found broken during add-on install. Need to report it. I am online at IRC using Konversation.
Next task is to get KDE 4 (after breakfast) :)

KDE 4 Logo

March 26, 2008

KDragons

Filed under: GSoC, Gaming — krish @ 4:47 pm
Tags: , , ,

My email to kde-games-devel about `KDragons` game has earned some good responses. Thanks to them, my nervousness level has come down.
I ended up adding the idea to techbase ideas page, which was probably not the right thing to do and so removed it. :)

KDragons Just finished this simple sketch of a probable screen for KDragons.
Sorry for the bad quality image; used a VGA Cellphone cam.
Here is the Enlarged image

I should try mailing this to KDE Games mailing list for some suggestions.

Aaron’s email said “there’s no problem with hosting PyKDE/Qt apps in kde’s svn. it’s actually a
stated goal for the KDE4 timeframe to host non-C++ apps.” has given me some relief.
Thanks Aaron. :)

Will keep updating my blog on my GSoC progress. Expecting to apply for KDragons using Google’s Webapp by tomorrow.
Till then I am found having fun at #gsoc, #kde-devel, #kdegames, #kde-soc, #python, #pygame and #mukt.in at irc.freenode.net

Ciao for now ;)

Blog at WordPress.com.