Morretes em imagem panorâmica

Sobre mim...

Rodrigo Gonçalves de Oliveira (aka MDK), nascido em 1985 na cidade de Curitiba, sendo que atualmente moro em Manaus.

Formado em Ciência da Computação, pela Universidade Federal do Paraná, onde curso o Mestrado em Informática na área de Robótica e Sistemas Operacionais de Tempo Real.

Atualmente trabalhando no INdT (Instituto Nokia de Tecnologia), atuando desenvolvedor de software C/C++.

Meu curriículo (CV) pt|en. Contato pelo IRC (freenode): rodrigo_golive. Algumas outras formas de me contactar:

E-Mail Picasa LinkedIn Facebook YouTube Google+ SoundCloud

Últimos comentários



Program your own robot with Python and fight against others robots!

A KDE/QT4 game



KWarBots - Colors, Collision Detection and More
0 Trackbacks
Projects - KWarBots
Escrito por MDK   
Ter, 17 de Agosto de 2010 15:31
Avatar

This is a new video for my KDE game project, KWarBots. Here you can see some game objects/items with colors (the color can be changed on the map file, so it's customizable when creating the map).

There the robot collides on this simple maze and always choose the left path to follow. It's sufficient to demonstrate it for now.

If you are curious about the code to control the robot, it's time to see this small piece of the robot code, used on this video:

#!/usr/bin/env kross

import sys
import Robot

def main():
 if (Robot.isMoving() == False):
 Robot.moveForward();

 if (Robot.collided() == True):
 Robot.turnLeft();

Yes, it's just it! And finally, the video:


 
KWarBots: Work-in-Progress
0 Trackbacks
Projects - KWarBots
Escrito por MDK   
Qui, 04 de Março de 2010 00:54
Avatar

Yeah, KWarBots still alive, and I'm here with some news (although the game is not playable yet). I developed some objects to use on the game, that you can see a few examples below. Soon I'll put here a new video of the game, after finishing some tasks, like loading the game objects from a Map object...

KWarBots: some image examples

1- BlockObject: a material that cannot be destroyed. This object accepts color variations on your declaration (according the Map file);The robot thumbnail

2- TerrainObject: general terrain (that can be used as a "background" on the BattleArea), like dirty, sand, grass... This object doesn't accepts color variation;

3- TileObject: general tile, used as a background too, but it accepts color variations;

4- WallObject: a destructible wall. Your resistance varies according the Map file and accepts color variations too;

5- WaterObject: an animated object, that doesn't accepts color variations;

6- RobotObject: the animated robot object.

All of these images (and another ones, that I'll keep in secret by now ;)) were made using kolourpaint, with a non-isometric pixel art visual (I love it, but as you can see, I don't know how to draw water :p) and packaged on svgz files with inkscape. I made a class that load the images from the svgz files and change your default color values, acccording to your behavior. As some of them can be loaded multiple times and used on another positions, I have added a simple caching scheme on the ImageLoader class.

So, now I must to improve the Map loading structure and create some colliding mechanism to create a new experience with KWarBots... Wait for the video soon :D


 
KWarBots on KDE svn XD
0 Trackbacks
Projects - KWarBots
Escrito por Administrator   
Ter, 09 de Fevereiro de 2010 00:31
Avatar
Yeah, finally I commited KWarBots on playground/games on KDE SVN! (trully merged my internal git repository onto). It still not playable; it's on heavy development, but now you can follow how things are going on the project...

Websvn: http://websvn.kde.org/trunk/playground/games/KWarBots/
svn: svn co svn://anonsvn.kde.org/home/kde/trunk/playground/games/KWarBots KWarBots

:)

 
Texture example
0 Trackbacks
Projects - KWarBots
Escrito por Administrator   
Ter, 09 de Fevereiro de 2010 00:28
Avatar
Simple test using SVG files as textures for the Map. Now, we have BattleAreaObjects and RobotObjects, but no collision detection yet. Also, you can see a new look for the robot, but it's not the definitive.
Texture test

Finally, the map area now has a 600x600 pixels, with a virtual matrix of 20x20 positions.

 
KWarBots First View
0 Trackbacks
Projects - KWarBots
Escrito por Administrator   
Ter, 09 de Fevereiro de 2010 00:25
Avatar
This is the first view of my new game: KWarBots. What's KWarBots? It's a game where you can program a robot using Python Programming Language. The main goal of this game is for your fun, but for you education too, introducing the basics about some programming language. Initially, for the language, I would use the Turtle Scripting Language, but I saw that it was not a good idea... So, using Kross, I can run a script writted on Python to control the robot.

Oh, yes, the game uses KDE4 and QT4 as your base... You can now watch a simple movie showing the basic moving system programmed via a python script; prefer to watch in HQ mode to read the commands on the video.


Now I'm working on a Map class and a Image handling class to load maps and images from files... Soon you'll can view more images/videos about the game, and with better graphics, of course...

And finally, as it was to be my GSoC 2009 proposal, you can read the original paper about the game, downloading it here.