Cocos2d side scrolling game best way to implement it? - ios

I was wondering if its better to add sprite by sprite(spritesheets) for the each level of the game? or is it better to add segment by segment for the levels in the game?
The thing is that i want to be able to have animated objects in my game.. like moving platforms, falling platforms, part of the wall that can smash your player, but the thing is the level has an end. its not an endless game like jetpack joyride... it has end per level like Badland
example:
Badland Side-Scrolling Action Adventure Game

Hello I would use SpriteHelper and LevelHelper. I have learned that they are very helpful in making game with levels. With these applications, you can plan out your level sprite by sprite. They are cheap. I know on the Mac App Store, LevelHelper is $24.99 and SpriteHelper is $16.99. SpriteHelper is a sprite packer and LevelHelper allows you to lay out your game world/level. Here are the websites for both.
LevelHelper- http://www.gamedevhelper.com/levelhelper/
SpriteHelper- http://www.gamedevhelper.com/spritehelper/
Ray Wenderlich has great tutorials on those two apps.
Here is the link: http://www.raywenderlich.com/28713/how-to-make-a-game-like-jetpack-joyride-using-latest-levelhelper-spritehelper-cocos2d-edition-part-1
This tutorial uses the example of "a game like Jetpack Joyride." I know that this is not the game you want to learn how to make but it gives you great insight about how to use LevelHelper and SpriteHelper. The links for the apps also have guides on how to use the two apps.
Hope this helped and Good Luck!

Related

SpriteKit: Should I pan the camera or move the background?

When building a game with SpriteKit, with a platformer game (like Doodle Jump for example), is it preferable to move the camera up, or the background nodes down ?
What is the standard practice in other frameworks ?
MOVE THE CAMERA!!!
One of the weirdest things about 2D game engines is that it often takes them a series of versions to get a camera.
They should be born with them.
SpriteKit was no different, it took forever to get a camera.
Now that it has one, never ever think of not using it.
Will make your life a million times simpler.
I can think of no exceptions, but look forward to being proven wrong.
move background was HOTFIX until proper cam support added.
use the cam. its easy and fun. no reason to not imo.

How to draw lines on the screen for an iOS game

I am working on a game where I need to draw a bunch of lines to create a wireframe sort of object, I can do this in sprite kit using nodes but adding a bunch of nodes to the screen will drop the frame rate down a lot. I don't know how to use OpenGL Es at all so that's not an option for me. Is there anything that would just allow me to draw lines on the screen in Sprite kit without adding nodes or is there another framework that will allow me to do that?
If you want a 3D wireframe then your choices are sprite kit (which is built on top of OpenGL), OpenGL, or Metal. Or I guess you could use somebody's 3rd party framework that is also built on top of OpenGL or Metal.
I tend to agree with nhgrif's comment that you're "I don't know xyz so I can't do that" is needlessly limiting. If you can't do anything that involves learning new APIs then you're never going to get very far as a developer.

Cocos2D + Box2D Editor?

I want to develop an Angry Birds style game (more for learning purpose), so I am digging into Cocos2D + Box2D and after having done a few test all by code I am wondering which tool can I use to design level easier ?
A bit of google pointed me out Tiled or R.U.B.E. but I am not really sure if it's what I need. Tiled seem to be more designed for tiled game like a plat-former and I don't really know about R.U.B.E.
What I'd like to do is being able to place my body manually in a scene, set their physic property and so...
Which tool would you recommend for this kind of level design ?
Thank in advance.
I advise you to download/buy LevelHelper/SpriteHelper, they have helped me a lot when I was a novice with box2d. I think it's just what you need, once you learn the basics then you can go forward freely without them. In addition now there's also one or more tutorials on the Ray Wenderlich site that will help you even more like this (The softwares are not free, but in my opinion they worth their price)

Using Cocos2D vs UIKit to create an app which incorporates puzzle games

I searched SO a bit but was not able to find an answer. I am going to be working on an app which incorporates different type of games in it. I am not sure if i should dive in to learn cocos2d or just keep learning UIKit. The games are going to be 2D puzzle like games. In the game a user will need to move pieces around, color them in and they will have some kind of animation when the level is finished, for example stars flying or fireworks. Can this be done with UIKit alone? Are there specific books/tutorials on UIKit on how to create such puzzle games?
Thank you!
It depends only on your design and creative features, if there will be lots of animation tricks You should try to use cocos2D (for it has some useful components for memory regulations), if the engine is pretty simple - UIKit will be enough for your game.

Isometric tilemap platformer in cocos2d - player jumps?

I've read a lot about building isometric-tile-map based games for iOS using cocos2d (tutorials, examples, etc.). Unfortunately, can't find a proper example of making a classic platformer game with isometric tile map. The main thing is - how to make player able to jump, and how to build platforms that can be placed on different level above the ground. I know that this definitely can be achieved with cocos2d, the best example of what I have on my mind is game called "Alone" - http://www.itlgames.com/alone - there are videos and screenshots on the app website, that demonstrates player's ability to jump like in classic platformer game, but the world is presented using isometric tilemap. Author of that game claims that it was made with a help of cocos2d (source: http://www.cocos2d-iphone.org/games/game/alone-free/374215545). Anyone had seen good open-source example of jumping and platforms on isometric tilemap?
There is an cocos2d/box2d platformer kit available:
http://www.commander-cool.com/ios-2d-platformer-starter-kit.html
Maybe this helps?

Resources