Side-scrolling "map" or "level" game for ios [closed] - ios

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to make a simple game with a sidescrolling map.An object is supposed to move through this "map" and it should include walls and other objects which my moving object can collide with. I have been looking some at spritekit and that seems like the thing I want to use.
My question is how do i make that kind of side-scrolling map which includes walls and other objects?

The sample "Adventure" project from Apple (and the accompanying documentation) provides scrolling maps, walls, and the rest of what you're looking for. It's top-down, not side-scrolling, but all the principals are the same. The only thing you'd need to make it properly side-scrolling is new art and gravity (which the SpriteKit tutorial does a reasonable job of explaining).

Related

Create realistic clouds in Xcode [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to dynamically create realistic clouds including their movement and multiplication (density). I found this link which seem to explain more than I can understand. I cannot find a way to replicate the clouds and there is practically no other tutorial online. Does anyone know how can I achieve this result? Thank you in advance!
use scene kit you can make a dynamic particle effect:
https://developer.apple.com/library/prerelease/ios/samplecode/SceneKitVehicle/Introduction/Intro.html
in this example you can find, after the vehicles code, the smoke animation. You can gat all the stuff you need from there, like smoke.scnp, smoke.png.
You need to change some row of code like the smoke color, the light color and the camera position.
But with that i guess you can have one of the best result possible, as real time cloud simulation, in iOS.
(other solution would be using openGL but trust me this is a ton easier)
maybe this guide can also be useful to understand the basis (you just need them to achieve your clouds) :
http://www.raywenderlich.com/83748/beginning-scene-kit-tutorial

How can i meassure short distance inside buildings [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm new here im learning xcode and swift by myself and things are going well.
I wanted to ask what will be the best way (and most exact way) to measure short distances let's say up to 10 meters inside of a building so I cant use GPS
I want to get results in millimeters or centimeters.
Thank you for your time guys
Calculating distances based on device movement and using gyroscope, accelerometer, and other internal sensors is impossible.
There are a few reason why but see this link for an explanation...
https://www.youtube.com/watch?v=_q_8d0E3tDk&list=UUj_UmpoD8Ph_EcyN_xEXrUQ&spfreload=10
Use iBeacon and CoreLocation framework. Here is a video from last WWDC that touches this subject
Taking CoreLocation Indoors

iOS text-based adventure game / eBook: Should I use SpriteKit or UIKit? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I want to create a text-based iOS Game, resp. interactive ebook. I will create chapters that get gradually unlocked after the player/reader has decided which path to take next. He/She cannot undo this decision. Music and little animations are involved as well.
From what I've learned so far, I think using Storyboards would make sense to stay organized with the different parts, but I am insecure whether to use Apple's own game framework SpriteKit or standard UIKit since little pixel art animations and music will be involved? Would it even make sense to mix them?
What would you use? Thanks a lot in advance!
it depends on but basically it should be totally fine to go with UIKit. The great thing about it is you can integrate parts as you wish and can mix it as well. So in case that you need some more fancy effects you can move over and embeeded an view based on Spritekit but you can handle simple animations and effects easily with CoreGraphics/ CoreAnimation which are also part of UIKit
https://developer.apple.com/library/IOS/referencelibrary/GettingStarted/GS_Graphics_iPhone/index.html
best regards
Schreda

iOS and Basic offline app [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I know about mapxbox/routeme and routeme but I need something basic. I need a basic map with all the countries and the only details it would be the name of the countries and the borders.
Can I do that with mapbox? Is there any easier way to do that?
The app should be offline and preload the maps.
iOS 7 support offline maps.
You just need to add tiles for specific area.
Tile contains overlay of map so we just need to add that overlay on the map.
For tiles you need to calculate area for which you need offline map and then get that area from OpenStreetMaps.
That's it.
Here is detailed Link tutorial for this.
After getting idea from tutorial you can easily understand the map structure and move ahead.
Cheers.

objective-c what graphics to use for simple 2d game [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have a task of building 2d game (packman style) and I need to use open gl(any version) for drawing image (task says so). It means I should build "open gl application" in Xcode, or it is enough to use Core Graphics or UIViews?
I had a very positive experience in my experiments at writing a 2D "packman-style" game using Core Graphics: if you do it right, CALayer animation proves sufficiently reliable and simple to implement.
Here is a link to a great article that explains how you can implement animated sprites in Cocoa. The trick is to use image atlases to avoid managing multiple images at runtime.

Resources