Posted by Scott McDonald

Welcome to the LiveCode Game Developer blog. So what is this site about? It's about making games with LiveCode. But first some background. Well, I write software for a living, but as interesting as it can be, much of the time the programs are not what I would call exciting or fun. In fact, less excitement is better for my customers.

They want software to do a tedious task, so they can spend time doing more interesting things. I am lucky to program for my job, but sometimes I want to program just for fun. Making games is great way to do that. It is creative, challenging, and you finish with something you can play and share. That covers the game and development part of this blog, but why LiveCode?

Why not blog about Unity, pygame, Game Maker, Corona or another game development environment that is popular today? I could, but they already have blogs which would make another one, well, less exciting. But the real reason for concentrating on LiveCode, (other than the way LiveCode skills can be used to develop not just games) is this:

With LiveCode you can make a game with a fraction of the effort of other languages. I love writing code, but programmers know that less code, means you have something that works sooner.

In this blog you will see how a complete game works, often with less than 500 lines of code. If you are new to programming this may sound like a lot of typing, but it is not. You can finish a game in an afternoon and still have energy left to enjoy your creation. A few hundred lines of code may result in a relatively simple game, but that is intentional. To be blunt, it is too easy for aspiring game makers to start with an idea that is too ambitious. With smaller attainable goals you get the basics sorted before tackling that big project. No apologies for the uncomplicated nature of some of the games you find here. Instead let's call them Classic and Retro!

Having said that, not every game here will be short or simple. 3D raycasting anyone? Just for the fun of it, I will be showing a 3D engine based on the technique of raycasting. Okay, I admit right now that you won't be able to make a full featured first person shooter with it, but it will be coded in LiveCode only. No other language like C++ required, or reliance on special externals, just 100% LiveCode script. My goal is to get it working at 30 frames per second. Don't believe it can be done? Then stick around here and find out.

If you are not interested in Arcade re-creations and fake 3D, you can expect games from other genres. I plan to cover Adventure, Educational, Puzzle, Platform Scrollers and Simulations to name a few. For a full list of the tags that will appear at LiveCode Game Developer click here for the list. If you think I have left out an important game style, please let me know!

Some important information. All code and scripts posted here are put into the public domain. This means you can use them in any way you like. You can modify the code and you use it in your own game with no need for credit, or to tell me. But this applies only to code and scripts. My words in each article on this site are copyright. That means you cannot re-post or distribute an article in any way without permission. Send me an email asking if you want to redistribute an article. I may say yes, or maybe no.

One last thing to remember, each article is not a tutorial. If you don't know the difference between a command and function, how to use local variables, or what a parameter is then still hang around, read and play with the code. But to properly understand how these games are put together, expect to do some learning with other resources. Beginner or expert, you can learn a lot by pulling apart and studying working code. You may even find something to use in your next game.

Happy LiveCoding.

Tagged: advanced beginner intermediate

Tuesday, November 12, 2013

1 Response


Scott McDonald Says:
Wednesday, November 13, 2013 at 4:40 AM

Dave, please don't get your hopes too high with the 3D engine. It is a work in a progress, but I don't expect it be of sufficient sophistication for real games. For example, it will *never* do textures on the walls or floors. (Unless the LiveCode language/engine gets some truly amazing improvements in the graphics department.)
Parallax and Isometric games are much better suited to LiveCode, if you are looking for some form of 3D.
About contributions, I have decided to make this a blog charting my personal ideas about game making with LiveCode. But stay tuned, for www.livecodegamedev.net which will be a community oriented site which will be positively seeking out contributions.
To everyone who has commented, thank you.



Legal Stuff

All blog posts are copyright and cannot be re-used without permission. But all the code and scripts are dedicated to the public domain. Use such code and scripts in any way you want, but I am not responsible if they don't work for you.


Further comments or feedback? You can contact me by email at: