Max Did It
Audio
,Wed
4 Comments
Tagged ,

Satellite Title Theme

This is the title theme to my upcoming Flash game, Satellite.

Satellite Screenshot 01

Find it after the break.

It's been a long time since the last time I wrote a full song, and I was very happy I had the opportunity to do so once again. This also marks the first post in the audio category after most posts on this blog have been about coding so far.

Read more...

Coding
,Mon
5 Comments
Tagged , ,

Asymmetric Encryption with Flash and PHP

I have recently delved into the topic of encryption, since I wanted to send encrypted data from a Flash application to a PHP script. I had to implement this manually since I didn't have the option of using HTTPS on my web space.

In this article, I describe

  • how to generate an asymmetric encryption key in PHP,
  • decode the public key in Actionscript 3 and
  • use it to encrypt data which is then sent and decrypted on the server side.

Asymmetric encryption works by generating two keys, the public and the private key. The public key is used to encrypt data, while the private key is used to decrypt data.

In my case, I generate the key pair on the server, sending the public key to the Actionscript client, while the server keeps the private key. This way, the client is able to encrypt data with the public key, but only the server can read the encrypted data with the private key.

Intercepting the public key doesn't enable you to read the data sent by the client. This method is still vulnerable to man-in-the-middle attacks, since it still enables others to send their own encrypted data with the public key if they manage to intercept the communication between server and client. This means that there should be further authentication between server and client.

I am using the as3crypto library to encrypt the data on the Actionscript 3 side. Some missing features in the library still make it necessary to implement your own key decoding functionality. This is needed to actually use the public key sent by the server.

Read more...

Miscellaneous
,Wed
Post the First Comment
This Post has not been Tagged

Scott Kurtz On Publishers

Scott Kurtz on PublishersThese are some thoughts on what to expect of publishers by cartoonist Scott Kurtz posted on the page of his web comic PvP.

Scott has been running PvP since 1998 with a daily update schedule, which is an impressive thing to pull off for almost 15 years. He is also involved in other projects like The Trenches.

Of course, since he is a cartoonist, the publishers he is talking about in his post are classic print publishers. However, his statements are true for the relationship between game developers and software publishers as well, in my opinion.

In my opinion, the title of the article, "Know Your Creator Rights", is a bit misleading, since he is not going into much detail about legal issues. Basically, he is giving some rules of thumb for what to expect of publishers and how you should approach making deals with them.

These are my thoughts on this:
Read more...