javascript library for converting SWFs to HTML/CSS3

When HTML and CSS3 are really catching up, its the animations which need a way to go to the web without flash plugin. Fortunately we have some very promising javascript libraries out there which does this. The two must mention libraries are
Gordon : http://github.com/tobeytailor/gordon/wiki
Smoke Screen : http://smokescreen.us/

While Adobe showed a tool on this years MAX, 2 days back, which converts FLA animations to HTML5/CSS3, its time to wait and watch, when people will have access to the tool.

My first iphone game goes opensource

I have recently finished an iphone game. This is written in Sparrow framework. I have decided to make it opensource and so put it up on github at this link. The game is very simple and is licensed under Unlicense. So there is no restriction as to how to use the code. You can use it to make money or what so ever as this licensing does not force you to do anything you do not need to do.
About the game, its a simple game of Mathematics for small kids. There are options for addition, subtraction, multiplication and division. Choose your type to play and go ahead playing it. There is no score, no time limit. The responses are immediate. So one will know whether correct or incorrect answer.
While I am developing on it too. Will love to see what others can do with it. This can be seen as code example for the Sparrow framework as well.

Making a default icon and a splash screen for your iphone app?

This is a real surprise to me, when I was trying to search as to how to make an icon for my game on the iphone screen. Along with this came in the simplicity to create a splash screen for the same game. First thought there would be some procedure involved in it. Then it seemed the procedure is to name two files as per the naming convention (yes, its not configuration but convention, the principle of convention over configuration) and then rest is just taken care of.
So if we put 2 images inside our project resources folder and name them as “Icon.png” and “Default.png” we are done with the making of our icon and splash screen.
Well, the sizes also take some importance, in my case “Icon.png” is of “57×57″ and “Default.png” is of “320×480″ px. If after naming appropriately the icon and the splash screen do not show, up make sure that their dimensions match exactly as mentioned now.

Hope that helps someone out there.

NSLog options

I always have a problem understanding the log syntax of objectiveC. So putting down it here. I have taken this from the original link, which is at CocoaDev website.

%@     Object
%d, %i signed int
%u     unsigned int
%f     float/double

%x, %X hexadecimal int
%o     octal int
%zu    size_t
%p     pointer
%e     float/double (in scientific notation)
%g     float/double (as %f or %e, depending on value)
%s     C string (bytes)
%S     C string (unichar)
%.*s   Pascal string (requires two arguments, 
           pass pstr[0] as the first, pstr+1 as the second)
%c     character
%C     unichar

%lld   long long
%llu   unsigned long long
%Lf    long double

Happy Logging

Such a gift to know a person.

If you can say that I know someone, its just a false statement, unless the person also agrees.  And everyone has got that gift to really know people around. But in the midst of the crowd, and in our busy schedule, we generally forget to look at it. Then we know that we do not know even the next person who sits by your side in the office, but publicly we have to say that we know each and everyone very well. That increases our chance to be a social animal. But then, that increases the insecurity. Once you are in a false path, it leads to another and the process continues. And in the end, its regret inside and all happy outside. Do you want to die a life of regret?! Do not answer to anyone, but just ask yourself.

All of us are blessed with precious gifts such as love, faith, believe, friends, relations and what not. But we tend to focus on bad and ugly part of life. Why ?! For it comes to us and we think we do not have to do anything, it just happened to us.  In the contrary, the truth is, even if you want to be normal, you have to fight against the odd. Its like standing in a flowing river. If you just have to stand still, you have to make an effort for that. Else, you know, you will be flowing in the direction the water is flowing. The same holds good for the life as well. There are wrong and toxic forces all around. If you just be yourself, then without your knowledge, you will be flowing in the wrong direction. So to be your own self, you have to make an effort. Forget about getting better, that even requires more effort.

Well, I was talking about knowing a person. It is a beautiful feeling to know people from inside, what they are thinking, how they are leading life. And that comes when you listen to them. It takes time but when you make it, its a pleasant feeling that only those can understand who ever have believed in a stranger and made that relation for the life. Sometimes the experience hurts, but at-least you know you are exposed to truth. For people around you see are not the same from inside. There are so many examples I have seen in my life till date, who from a distance looks well and good, but when you see inside they are in complete pain, struggling with their own fight with life. But still they never convey negative energy to anyone. They got hurt by the people who are evil and insecure but still they are by themselves challenged the life to remain truthful to themselves.

Its only possible know them if you nurture your gift of knowing people. and its not hard, its just that you must have will to do it. Some people I know were in jail for quite sometime in life and now leading a happy family. You never got to know them by face or profession. But they fought back with life and back in it again.

There are persons, who were suffering so much in life that they just want to break free and go somewhere else. But its not that they do not have courage to do that. Its the opposite. They have more courage than they have, so they are fighting the situation out from the place they are, rather leaving it halfway.

On the other hand, there are people who just do not seem to be active in any situation. But when you get into the inside of them they are more colourful and lively than you ever have thought of.

Knowing people is a gift to given to everyone, and if you really like to know a person then just spend sometime with them with your heart open to experience the life. Life has so much more than it just looks to our eyes.

Happy living

Whatever goes out, comes back.

This was just in the books until now, but I began to realise its not books only. Its the universe, and its awesome, beautiful power. This is not about wealth but peace and happiness. Some people just do it for money in the shake of logic ( That also their own made ). I was always tried to understand them and always thought they may be have a point. But the truth is beginning to unfold in front of me. Its the power, the thought and how we use it. There is really nothing which is impossible but you must see it all the time. Day dreaming is bad, but dreaming is the first step towards doing something. So dream, whatever you think you should be doing. And the world will help you make your believe come true. And yes, intentions must be kept clear, for The God is not upto your logics and the same goes for this beautiful universe.
The thoughts of yours go into the world, if they are evil, it will come back to you only. Sooner or later, the truth always wins.
Never ever try to build up a relationship, any relationship with false hood. Whether its hobby, job or personal, be true to yourself and everything will fall in place. If you are thinking positive, those thoughts also will comeback to you. So keep dreaming and dream positive and infinite. The key to get there is actually within, one just need to believe.
Until now, I was never able to say all this. For I was all the time have doubts for me. But at-least I can say, today I am feeling I am moving in right direction and feeling much confident about me. So sharing my thoughts, just be yourself and listen to your heart. I know, there are toxic people around, try and avoid them at all possible circumstances, for they are the evil to the core and just 5 mins of your time with them may require your 5 days to get back to your own self. They are toxic than poisonous snakes and evil creatures. But sometimes you need to be there, for without them you might not appreciate the real good of life. So the point is, their poison destroys them, and thats bound to happen. For everything that goes out comes back. These people are never happy, always worried and insecure. They will play all the evil games, but never concentrate or loose your focus. For what they are, they will be like that and die like that. Just think, do you really want to be like that? You are born free and infinite, concentrate and move on. Life is waiting for you. Do not die every minute, but live now.
And most importantly, think positive, infinite and abundance. That will comeback to you. Share love and affection and friendliness and genuine. That will comeback to you. If you think, you can make it, then go try for it. I am sure you can make it. If you fail, then you learn. Try again, if you fail again, you learn something more, try again and never give up.

Continue reading

Are you still thinking what HTML5 can do!

The less I say about Joshua Davis, the better. All his works speak or himself. The recent release project of his called “the endless mural” , is the technological and artistic extremes again. This is kind of a wakeup call for people who think, HTML5 is just a good topic to talk about. Go straight away to http://www.endlessmural.com/ for an experience of the project. The excitement is just not on the technological or artistic part, its the company involved in it too. Watch out the video for the details.

Selector without any parameter

Well, let me face it. It took me sometime to write a simple selector, which does not take any parameter and then to successfully call it. The solution is overly simplified. If at all one need to define a selector, which does not take any parameter, it should be as below

- (void) myMethod
{
//Do Something
}

The call to this selector is also the simplest of all forms

[myObj myMethod]

Now, that may be confusing at some point as it confused me. The reason being, it is a general convention to see selectors with a “:” at the end. So in general terms a selector is known as with a “:” as

myMethod: , onUserCall:

etc. So the point is, if its defined not to take any parameters or does not take any arguements in its definition, then the method call will be just the selector name else it would always be with a “:”.