Automation Tasks for a game in iphone - iphone

I was wondering if it's possible to create a script for automatization of tasks, especially
in iphone games.
Games like Tiny Tower, Hay day, Enchant U, etc.
This is some of the game that I found on iphone that would be a good test for automation task.
If it's possible, can someone tell me where I can find a tutorial to do this? or even what
program I should use to do it?
I'm curious if its possible to build up things like gold
points, etc.

Take a look at UIAutomation:
http://blog.manbolo.com/2012/04/08/ios-automated-tests-with-uiautomation
http://www.cocoacontrols.com/posts/2012/11/13/introduction-to-uiautomation-testing-on-ios-video-slides
http://blog.ideveloper.tv/automated-ui-testing-for-ios/

Nowadays there's iOS Switch Control that you can use to automate some movements, scan parts of the screen and things like that.
Here's Apple's documentation for it. There's also plenty of videos and tutorials on the web teaching how to use it in some games.

Related

Is there an iOS SDK for creating crossword puzzle games?

We are looking to create a crossword puzzle game and I'd like to see how we can help our client reduce development time by using an iOS SDK. We are looking for the game interaction (loading words, dragging letters to board, word validation, etc)
Look into Cocoas2D or there is Unity3D to assist you in creating games for iOS.
I believe you are looking for a 'Library' if what I understand is that you want an automated way of creating crossword puzzles. Unfortunately I do not believe there is any that would fit your needs.
If you are like me, create your own paper crossword puzzles and then make them on iOS.
A great book to get on how to make games for iOS would be 'Learning iOS Game Programming" by Michael Daley.
I bet with the resources on that book and good logical planning you will have your game made in no time.

How to make good looking custom ui in mobile and tablet devices?

I'm looking for an intro into designing and making a custom and dynamic UI on mobile specific platforms. As I understand Nokia(Qt), Android, and iOS all use OpenGL ES (2.0?). I haven't looked into Windows phone 7 yet so not sure what that uses. So I think OpenGL would be a pretty good place to start. While OpenGL is mostly about 3D, I'm also open to 2d ways of creating dynamic UI.
I've never really been big on designing interfaces or coming up with cool concepts but now I have an idea for a mobile app that really needs a good looking user-interface. It's sort of a half app, half game type of thing. It really targets people in the gaming community who I think are used to a bit more polish and advanced UI. I could still probably get away with a simple UI(simple not being a bad thing) but I think I at least should learn some design techniques for future reference.
Of course I realise that excessive eye candy which hurts usability, like bloated graphics that slow down the mobile, are of no use at all. I'm trying to make a sleek UI that while looking good allows the user to interact well with the app effectively.
Any suggestions, resources, experience you can share would be most helpful.
EDIT: While I'm looking for ways to use 3D graphics, I'm more concerned with how to come up with a sleek UI in a mobile. I come from a mostly web developer background, with some experience in Photoshop(CSS is the furthest I've gone in designing). I have never really had to design a dynamic interface that reacted to touch and moved all around the screen with some laws of physics attached. There are lots of such effects, such as the carousal effect, which gives the user an enhanced experience. I have no idea how to incorporate these effects into a mobile device. For example, one of the things I need this app to do is take a glassy circular object(a button) that moves around, then turn it into a sort of convex glass lens so it's sort of zooming in on the image underneath to make it look like its actually a magnifying glass. I looked around and this effect is created by a "grid warp" or a "mesh warp". Suffice it to say I have no idea how to do it.
This will help you not only with Windows Phone 7. WP7 uses DirectX 9, but not directly, you must pick XNA or Silverlight(no other options). Also these blog posts I find quite usefull.
For game, game related app I would stick to one design, and as you said start with OpenGL.
I have been searching since yesterday and thought I'd add some links for anyone interested.
Although I'm dividing them up by the platform the articles refer to, with some elbow grease the ideas should be cross-platform compatible.
Qt
Carousal animation in Qt
Shadow effect Qt
Qt Kinetic Scrolling describes kinetic scrolling algorithm in Qt(self descriptive really)
Qt OpenGL Nehe tutorials converted to the Qt environment
Iphone
OpenGL from the ground up - expansive list
Flow Cover tutorial.
Android
Android 3d Tutorial
Another Android OpenGL tutorial
Yet another Android OpenGl ES tutorial, seems people have gone open-source mad.
Custom UI on Android
One finger zoom tutorial at Sony Ericsson Developer World
3D list at Sony Ericsson Developer World
OpenGl/ES
OpenGl tutorials at NeHe, there are tons, I read through the first one (on light) and it was really informative.
TheRedBook intro to OpenGl
Books
Books list at Design4Mobile, these do not cover the technical side rather covers the things to keep in mind when designing mobiles, I think the O'Rielly one should be pretty good.
Inspiration
10 beautifully designed Iphone Apps - for a touch of inspiration
All rounder
Mobile TutsPlus sort of a gathering of tutorials for android and iPhone
That's I found in the last four or five hours, as I find more I'll add it on. I've also made this a community Wiki so others can correct any mistakes I've made here, or to add anything they feel relevant.

Making games in iPhone

Can anyone tell me what should i use to make games for iPhone...
Actually i am a simple application programmer ...but never made complicated high graphics games...
i have made some games but only simple one...
Which tool is good for me to start....
i am aware of OPenGL...is it good to start with this ??
I'd say if you're reasonably competent with iOS & Objective-C, then it might be worth taking a peek at the likes of Cocos2D. There's also the iOS port of Flixel (which you can grab with the source to Canabalt which is sitting on Github), but compared to Cocos2D - it's a little less polished due to it only being recently out there.
Unity's great if you're familiar with C# or JavaScript and interested in wanting to do 3D games - and if you're not as interested in going the full-hog with learning OpenGL ES.
Corona is the best thing for you start looking into.
I'd suggest a trip to the bookstore, to find a book which speaks to you, regarding iPhone Game Dev. A quick look at Amazon reveals quite a number.
There's a lot to consider when making games, it's a huge topic.
You should check out Unity 3D.
For someone new to iPhone development and game dev in general, I'd say start with Cocoa Touch as it is simpler than OpenGL and you can create simple games (for example words games) with it. And even if you decide to develop an OpenGL app for the iOs you still need to work with Cocoa so there is no escape from learning it.
Once you get your head around objective-c/cocoa/xcode and iphone development in general, then start looking at OpenGL.

Game engines for iPhone vs. native iPhone sdk development

What are people's opinions and/or experiences with game engines such as Unity or Torque Engine? If one were new to iPhone game dev is it worth it to learn one of the engines? What is the performance difference between apps generated by those engines vs a natively built App using the sdk?
Both will equal the performance of what most people could write themselves (i.e. if you're not an experienced game engine developer).
Whether it's worth learning (and buying since both Unity and Torque cost for iPhone development) you'll have to ask yourself two questions:
Is my game idea suited the engine?
Is my passion for programming or game design?
Looking at the range of games made with Unity, it seems very flexible because although it is a 3d engine, lots of 2d games have been made with it. The downside of using Unity for something very simple (say, a match-3 tile game) is that it's a bit over the top in terms of download size.
On the passion issue, some people like programming a lot and will always feel it's better to write the engine themselves. And that's OK. But if you have a great idea for a game and just want to 'bring it to market' as soon as possible, and it requires 3d rendering, character animation, that sort of thing, using Torque or Unity is going to get you there a lot faster.
If you want to do 2d development you should have a look at cocos2d iphone it is implemented in cocoa free open source and very easy to pick up
I think time to market is important to consider - if your going to burn out after a short time and of the engines mentioned above will allow you to build and launch a game quickly compared to writing the engine & game from scratch.
Like U62 said, where is your passion?
Currently I'm building a framework/engine and a game. Its a great learning experience, but we had to understand that it would take a long time (we have day jobs) and that we have to just keep chipping away at it. So far, the experience has been an eye opener and I've learned a great deal ... however, would I do it again? Probably not - I think I prefer designing the game and coding game specific logic - not engine specific.
I've done a lot of research on the platforms and I personally really like Unity. You can email them and request the iphone trial license.
Anyways, good luck!

iPhone game GUI

I think some of you have seen the "cartoon wars" game. does anybody know how to create GUI like that? Does it need OpenGL? or it can be done with iPhone sdk's libs?
thanx in advance
I believe Cartoon Wars was written using the Cocos2d game library.
Yes. The trick with the iPhone is, the more you program, the more cool GUI tricks you can come up with to make your app more exciting. I suggest you write a couple of apps to do simple things, using as many API's as you can cram in. Start with Apple's samples. Maybe combine a few of the samples into one, as a learning experience.