I have been hard at work (in my spare time at least harr) working on updating 5 or more to get it into a much more playable state. I think I am down to 2 more bugs. One is a big pain in the ass and the other isnt too bad. Sometimes if you are able to fill the whole board and you get a 5 in a row RIGHT at the last second, it will go to gameover. I know what is wrong, I just havent fixed it yet.
The reason I haven’t is that I decided to get my mind off of it by making another Pre game. This one is much more recognizable, which is Simon. Yep, that game that you played with you were like 8, with the 4 buttons and you have to repeat the pattern. Anyways, it is in version 0.5.04 at the moment. I still have some things to work on it though. The pre does not seem to handle audio very well though. Almost as if it is a delicate flower.
Anyways, if you want to check out the updated game and simon, here you go!
Five or More v.0.7.25
Also, I do plan on doing some WebOs tutorials in a bit, so stay turned!
Palm Pre, Random Notes
Ive got an update to the game. Not too many visual changes. There was a bug where the buttons werent showing the text that was fixed. I have fixed PART of a path finding bug, only to find out there were two issues with it. I may have to just rewrite the path finding function. oh well.
I also fixed an ‘undo exploit’ where you could keep undoing and waiting for the right piece to drop in the right spot.
Anyways, feel free get the updated version
So I have gotten my first Palm Pre game in a playable state, sans one bug that I am currently working on. The game is called 5 or more and I have included the rules and how to play with the game (under the help menu). You will need to have your pre in developer mode in order to install it (note this is different from having to root your pre) and use this application to get the game onto your phone:
And here is the game:
Some screen shots:
Things on the todo list:
- fix bug that doesnt let you move a piece to a certain spot
- Sound (sound from moving. maybe ambient music while playing?
- Add a background
- Add “special pieces”
- Add achievements
- Change the scoring around a little bit
Although I am sure many of you have heard, Palm made the SDK publicly available. So feel free to check it out.
Any regular readers of this blog probably took not that I went from posting one of two things here a week to posting nothing for about two months. Maybe I cursed myself by writing the article Why do our time estimates suck, because I am finally wrapping up a project where the estimations just went down the crapper. I did learn another lesson though about why estimations suck, and that is being on a project that its entire life cycle (IE, planning, development, testing, regression testing, etc) is a massive discovery phase.
This basically boiled down to those who were in charge of pulling the data down were not aware that what the client was asking was either a)something different or b) next to impossible given the dataset. No one knew it at the time, so everyone just found out as the project progressed. Luckily the blame of that was not on our plate, but it did affect our ability to get the job done in a sane manner. However, the project is “done”, so hopefully my schedule will go back to something more reasonable and I will be able to contribute more.
In the mean time, I did end up picking up a palm pre and actually got invited into their pre SDK development program. I have been messing with that and I have started working on a game called 5 or more. The gray pieces are “open spots” where you can move the colored pieces to. You have to have a clear path of open pieces when you move a piece from one place to another. Each time you move a piece, 3 more pieces will drop. Once you line up 5 or more of the same color, they will change into open (gray) pieces. Here are some pics of it so far:
5 or more picture 1
5 or more picture 2
Its pretty close to being completed. Once it is completed, I will be submitting it to the app catalog, so hopefully I will be able to be part of the initial wave of new apps .
In the future, I would like to start posting articles about developing for the pre, but I would like to get some more experience with it first.
java, Random Notes
One of the things I love about Flex is how extensible it can be. You are able to make composite components to do almost anything you want using out of the box components. However, if you really want to take advantage of its power, it helps to have a good or in depth knowing of the interfaces that come with it. The reason to proclaim the importance is that using these interfaces, you will be able to create extremely light weight components, but you will be able to make them do whatever you want (in a programming sense of the phrase).
There are, of course, quite a few different interfaces. I have looked through them and picked out five interfaces that I consider to be the more important ones. For each, I will give a brief explanation of why they are important and where you would normally use them.
Best Practices, Flex, Learn This