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

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.

Related

Image Object Detection with SwiftUI using image picker [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 days ago.
Improve this question
I am new to Swift and Xcode. Currently I have imagepicker working on my app and I am trying to detect multiple objects in the image that is uploaded from the image library, but I cannot find any tutorials where it depicts still image object detection with bounding boxes from image picker.
I know that I need to start off with VNImageRequestHandler in SwiftUI, but from there how do you input your machine learning model and create the bounding boxes. I have already tried piecing the code together from the Still images tutorial on Apple developer and the Vision object detection on Apple Documentation.
Any tips or information would be extremely helpful!

GPU Image Framework X-ray Effect [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 am making a application that you can apply different effects to photos using GPU Image Framework by Brad Larson.I want to add X-ray Effect filter in GPU image app.Any pointers will be appreciated
You want something like the GPUImageColorInvertFilter:
If that doesn't produce the exact effect you want, you could create a custom filter based on it and have your fragment shader first convert to luminance, and then apply a greenish tint based on the inverse of the pixel's luminance. That would provide the exact effect you show above.
I'll leave the coding of such a shader as an exercise for the reader.

Any Suggestions for designing Memory Game in Objective c [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 9 years ago.
Improve this question
I am a beginner to Objective c and I am designing a memory game in objective c where I have 5x5 button grid.
I am unable to decide on how to design the application.
If I use OpenGL I need to program a lot.
Should I use OpenGL to design the game or do you have any suggestions of using a UIView or any existing controls?
I have a limit of displaying 3 x 3 buttons on a view and when the user scrolls/swipes I have to display next/previous buttons in the grid with animation.
Any Help would be appreciated.
You can develop it in native iOS using gestures with views. I had made a demo game with the same idea. Tiles puzzle and combining parts of an object to complete shape (i.e. car shape from parts). You can take help from here.

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 can you draw candlestick charts on 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 7 years ago.
Improve this question
I am new to Quartz, and I would like to draw a candlestick chart in iOS, but I don't know how.
How can I draw charts like this? Are there any good examples for iOS?
Core Plot may be able to do it. If not, it's probably a pretty easy thing to add to the Core Plot library.
http://code.google.com/p/core-plot/
You can do it with SwiftCharts, there are 2 candle sticks examples ready to use - one interactive and other not-interactive (with less overhead, in case you don't need interactivity)
(Disclosure: I'm the author)

Resources