How to make sprite kit object not affected by gravity? [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 8 years ago.
Improve this question
I have a sprite which I want to react to every part of the physics simulation except for gravity. I can't make it's dynamic property false otherwise it won't react to impulses and forces, but I still need gravity for the rest of the scene. How do I turn off gravity for one sprite?

spriteName.physicsBody.affectedByGravity = NO;

Related

Detect hand using CIDetector [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 6 years ago.
Improve this question
Is there any way to detect hand or palm using CIDetector? I have googled but only face detection is found, is there any way to do it? please help.
In iOS 8 you can detect QR codes and rectangles too, but alas, not hands or palms.

How to implement the Glasses-Broken particle effective With Spritekit? [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 want to implement the Glassed-Broken particle effective with spritekit, for example
http://www.ps123.net/design/UploadFiles_design/200902/20090225090558921.jpg
How to?

Direct2D and custom shaped window [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
Does Direct2D support custom shaped windows? Say, drawing a circle over all other windows. If yes, could anyone give a link to an article or sample of such technique? Thanks.
Yep, it does.
Here is an article with examples, unfortunately, it goes in Russian, so use an online translator:
http://teran.karelia.pro/articles/item_5710.html

Side-scrolling "map" or "level" game for ios [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 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).

How to load already existing texture in OpenGL [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have loaded an image in OpenGL by using texture. Now I want to draw same image after some time in future. So I keep texture for that image in my texture array. Now how can I load that image directly from that stored texture.
glBindTexture(GL_TEXTURE_…, textureID);

Resources