ColorCodes website

Uploaded a small project today that I have been working on for a while.

The site is called ColorCodes, and it makes it a bit easier to choose colors for your next web project. The site shows you about 300 different colors and shades of colors. It also gives you the name for all the colors.

With just a quick click with your mouse, you can copy the colors hex codes to your clipboard for easy pasting into your code.

Go check it out at : http://peterahlgren.com/colorcodes

You can also fork the site on github: https://github.com/ahlgren1234/colorcodes

New book about ios8 game development

There is a new book over at Packt Publishing, about iOS 8 game development with Swift. I was involved in that project as an expert reviewer, and I can guarantee you that this book is very good if you want to learn how to program games in Swift.

Siddharth Shekar, who has written the book, is very good and professional in learning the writers in both SpriteKit, SceneKit and some Metal.

So head over to packtpub.com and order your copy today!

Skärmavbild 2015-06-02 kl. 14.50.22

 

tutorial about making iOS games in Swift

I’m thinking about start making a tutorial serie about game programming in Swift with SpriteKit. It will be a quite basic serie about making a small game (some Flappy Bird’ish game) with SpriteKit. I’m not sure if I will make it in written format here in the blog or in video format on YouTube. What’s you thoughts about that?

My new game is soon going live

Not so many new posts here in the blog, but working hard on several projects at the moment. In a few days I will go live with a new iOS game, named Hectic.

Its a small game that is quick to play, but surprisingly addictive once you start playing it. I have had the game out for bets testing a few days, and the response have been great.

You can see a short video of it below. I have changed some things in the game since recorded the video, but you can at lest get a little glimpse of it.

Enchant.js, perfect for aspiring HTML5 game developers

 

During the last year or so, I have tested the most HTML5 game frameworks out there. There is quite a few quality frameworks out there on the internet, and many of them are pretty good. Some of them are a bit more targeted for more advanced users. But if you are a novice HTML game developer, I can suggest that you should look at Enchant.js. Enchant.js is very easy to start developing smaller games, and a good start for the aspiring game developer. You can download and read a bit more about it here. There even is an online code editor at http://code.9leap.net/.

This is how easy it is to make a small “Hello World”-application in enchant.js:

Type this code in index.html:

<!doctype html>
<script src="enchant.js"></script><script>// <!&#91;CDATA&#91;
enchant();
    var game;

    window.onload = function() {
        game = new Core(320, 320);

        game.onload = {

            sign = new Label();
            sign.text = "Hello World!";
            game.rootScene.addChild(sign);
        };
        game.start();
    };
// &#93;&#93;></script>

Edit: I forgot to tell you about a good book about Enchant.js.
The books name is: “HTML5 Game Programming with enchant.js“, and its a really nice book about the framework. A really good investment if you want to start coding some HTML5 games.

cover-253x320

Tardy Plane

The last few days I have been playing around with making some Android apps. I know the app shops is filled with copies of the game we all love to hate, Tappy Bird. But I have made a new copy of it. Its called Tardy Plane, and hopefully it will be uploaded to Google Play in a few days now. Here is a picture of it:

Untitled-1 
I’m also thinking about making a HTML5 version of it, so you can play it in your browser too.