Löke Masters

It has been about 5 months, again I gave up on finishing another thing. I’m not sad about it. I made this one on new years eve, alone at home, with a good wine. For my long time friends, with whom I shared the same passion. Game is about discovering the secrets of Löke (I wont tell you what it is) , and while doing that you live some of my good fun childhood memories. I thought now is a good time to share this game. Certainly decided not to add something on it. Have some new game in mind, I hope to finish it this time. I used flixel, it’s a framework which turns flash into a great fun indie game development toy. Sound effects handmade are on SFXR, sprites, graphics handwoven on Photoshop.


(Click the screenshots to play it on another page)

This is the first game I made for telling a story, and also this is the first piece of code I wrote while getting drunk.

Thanks again my friends; Eren Özel, Barış Bayrak, Cenk Boran, Emre Büyüközkan and Gökhan Derala.

Posted in Projects, games | Tagged | 2 Comments

Pixelface

Some time ago, like a week or more, I pixel-art’ed myself:

Just wanted to say, thats all. I love to do pixel art, It’s like meditation in some way, maybe a new for of knitwork, digital knitwork. I love that you can make amazing stuff with small 40×40 sprites, using them on games. If you like this bearded guy pixelart, use it any way you like, if you reference I would be very happy. As long as it looks like me, wherever you put it still its me so.. : )

Posted in Projects | Tagged , , | 2 Comments

Goblin Fight

I’ve seen this, 4kb’s flash game contest. 2nd winner of 2009: dungeon-romp reminded me a game I have made 2 years ago:

GOBLIN FIGHT !

I thought it would be good to put this, somewhere reachable on internet. This is my first game project back in 2008. Coded on c++, very simple command line game. You duel your goblins, why goblins? I don’t have any idea. I had just passed advanced programing class with BB, and started learning more c++, but eventually gave up and, I became a actionscript/flash programmer. This one was a test, like “what I had just learned, and how can I put this into real life”. Don’t under estimate, game is tough. Download and take a look.

download windows .exe and source.

Posted in Projects, games | Tagged , , | Leave a comment

Random Wandering AI Test

I’ve developed a quick, randomly wandering artificial intelligence algortighm. This is for a personal game project. I think it feels kind of natural. What do you think?

[SWF]http://godstroke.com/lokeMasters/wandering_ai.swf, 300, 300[/SWF]

Posted in Projects, games | Tagged , , , , | Leave a comment

Force Adobe Air to open urls in default browser on gnome-linux

I noticed that Twhril and Tweetdeck are opening links in firefox, however my default browser is set to Chromium.
This is because, Air runtime (Twhirl and Tweetdeck run in Adobe Air ) does something wrong when looking to Gnome environment variables, you can read more from here: here

So as explained, we have to set environment variable again as Air likes, to make it see the default browser. I’d like to do this more ‘globally’ so any air app could do so.

go to Terminal, type:

[CC lang="bash"]cd Scripts
gedit setDefaultBrowserForAdobeAirAndLaunch[/CC]

copy and paste following:

[CC lang="bash"]#!/bin/sh
export GNOME_DESKTOP_SESSION_ID=Default
$1[/CC]

Save it, than back to terminal and make script executable[CC lang="bash"]sudo chmod a+x setDefaultBrowserForAdobeAirAndLaunch[/CC]

next we configure twhirl and tweetdeck launchers, find them in gnome Main menu configuration window (under ‘Applications>Accesories’ by default).
click properties and edit the commands  to:

for Tweetdeck.
[CC lang="bash"]/home/[your username here]/scripts/setDefaultBrowserForAdobeAirAndLaunch ‘/opt/TweetDeck/bin/TweetDeck’[/CC]

for Twhirl ( check path! i use custom path to twhirl )
[CC lang="bash"]//home/[your username here]/scripts/setDefaultBrowserForAdobeAirAndLaunch ‘/opt/twhirl/twhirl/bin/twhirl’[/CC]

Done! when you launch by lunchers we just configured, these two will open any link in your default browser. You can use  same sript to launch all your air apllications to make them work with the browser you want.

    Note: I use a /Scripts folder in my home folder, you can place script wherever you like.

    Posted in Linux | Tagged , , , , , | 1 Comment

    Tweeting on linux terminal with Twidge

    I checked if there is any twitter client for linux, found 2 at a first glance. Twidge a CLI client and gtwitter a gnome GTK one. I’d like to show you how to use twidge and to worship to goddess of geekness.

    Things you need:

    1. A computer running a linux distribution with apt-get  (such as ubuntu)
    2. A twitter account

    Preparation:

    1. open up terminal and type: sudo apt-get install twidge to install twidge
    2. than type: twidge setup
    3. enter your twitter username and password as directed.
    4. (optional) type: twidge lscommands to see all commands available, also you can type: twidge <the command you want to get help about> –help
    5. type: twidge update “Yay! This is my first tweet on command line, im so geek!”
    6. enjoy.

    Preferably:

    • You can make your computer to auto tweet something at some event using sh.
    Posted in Linux | Tagged , , , , , | Leave a comment

    Jdownloader crashes compiz

    Jdownloader is great for its ability to break caphta, and batch hosted downloads, i use it with love.. but.

    After the latest update of Jdownloader, on linux ubuntu 9.04 64bit, when you run, it breaks compiz, you can solve this by, as expected, there is no problem on windows-vista, bravo!

    1. terminal : “gksu metacity –replace”
    2. run Jdownloader
    3. terminal : “gksu compiz –replace”. (optional)

    You should do this everytime you want to start Jdownloader on linux. I suggest switching to Tucan downloader until this resolves, Tucan is not better but GTK native, i think the only minus is that it does’t have auto extracting. I guess this happens becouse Jdownloader conflicts with compiz-emerald when it tries to draw its own chrome.


    UPDATE: 5 JUL 2009

    New updates came, but none solved the problem.


    UPDATE: 19 JUL 2009

    YES! problem was caused by me forcing JDownloader to work on 32 bit Java on a 64bit system. So i modified the run command in the JDownloader launcher on my desktop and Voilà!

    [YOUR JAVA PATH] home/JDownloader.jar

    You can also install open jdk and run JDowloader with the path to that as Michi suggested in comments.

    Posted in Linux | Tagged , | 13 Comments