Open this post for an index of most of the posts on this blog, organised by subject.
I suggest you start at post number 1, because the early posts try to explain important Codea concepts, and because they are way simpler than the latest posts. (This blog has followed my learning process with Codea, so it starts off very basic, and grows with my knowledge).
I recently built a little app to show the movement of families across an English county over a period of 80 years. Codea is good at this kind of animation, and you could do all sorts of mapping with it.
A video of what I did is below, but in this post I’ll talk more generally about how you might build an app like this.
(The red icons are births, the pairs of figures are marriages, and crosses are deaths).
I was looking for a new project, and then I wondered – “how hard is it to program something being cut in half, like in Fruit Ninja?”. Something like this
It turned out harder than I expected, but that’s good. I learned something from doing it, and I hope you will find it interesting, especially if you haven’t used Codea for very long, because there are some useful techniques.
It’s usually about now in a large project, that I stop. It may seem crazy, but it’s all because I don’t program to make finished apps – I program to have fun, to challenge myself and learn, and to share what I learn. Read more…
Having figured out how I want tanks to see each other, it’s time to see if I can build the system. I didn’t look forward to this, because there’s a lot of testing, and usually some difficult bugs, in something this complicated. Read more…
Codea is amazingly fast. For example, it can run the tan function (which is not simple) between 100,000 and 600,000 times per second, depending on your iPad.
This means you rarely have to worry about speed, in most projects. But if you push Codea so hard that performance falls below 60 frames per second, you may need to improve it. And because some things run faster than others, there are some tricks you can use, as shown below.
This post is about how not to be seen.
Suppose I have two teams of tanks, with maybe 3-5 tanks in each team, and only one is a human player, all the rest being bots. So I have 5-7 bot tanks running around trying to see and shoot each other.
How do bot tanks see enemy tanks? It’s not easy. But this challenge is the main reason I took on this project, and it hasn’t disappointed me. It’s really interesting.