Ray Wenderlich's A* path finding tutorial - tiles

I am a huge fan of Ray Wenderlich's tutorials and if you haven't seen them check them out. I am developing a game using his A* pathfinding game. I love the way you interact however I do not know how to make this multi-level. I have developed more levels and saved them in the correct .TMX format however I can not understand how to link this into Xcode.
Thank you in advanced.

Related

How to make an isometric room in XCode

I was wondering if it was possible to make a room, like a home design app, using tile maps.
It would require 3 grids:
An isometric base (10x20)
Two walls (6x20) & (10x6)
I have attempted to use the Scene Editor to layout everything, but that isn't working.
There isn't much online that I could find to solve it, but I have a feeling its just simple math.
I'm still quite new to this, so any advice would be greatly appreciated.

VR 3D Drawing Game From Scratch

I'm currently doing a personal project to make a VR drawing game in which you can draw a 3D image in your surrounding. I have very little experience with visual studio and unity which i am using currently. Does anyone have suggestions on what i can do to get going in the right direction?
I've currently been looking online for tutorials and making a 'Frankenstein' code using what i have found. I can only do 2D drawing currently and have yet to implement VR. I can send out my current code if it would be helpful.
There was an easy to start demo in the internet like 1 or 2 years ago, but I can't find it right now. But I'd suggest you look out for it. Perhaps it even was the official unity demo. That demo already had the motion input covered and some basic functions. Good Luck on your project.
You find a good tutorial here:
https://unity3d.com/de/learn/tutorials/topics/xr/getting-started-vr-development
And some resources here:
https://unity3d.com/de/learn/tutorials/topics/virtual-reality/resources-getting-started-vr
That is maybe a pretty complicated project to start with. But I think you should be able to draw lines in 3D with generating meshes at runtime, that are rotated to the viewer, or the hand. So you generate or spawn some Sprites at your controller/digital-hand position, rotate them so they face to the viewer and scale them accordingly.

quick selection tool algorithm

I was using adobe photoshop and I was amazed by the "quick selection tool" they have. By just clicking on the object and moving the mouse a little I was able to select an object inside the image very quickly. I was wondering how they have achieved that ? (Doesn't look like artificial neural network. Maybe some edge detection algorithm) I have search over net over the possibilities of the algorithms that could have been used and came around Intelligent Scissors for Image Composition but it have already been implemented in GIMP and this tool is no where close to adobes. Maybe they are using combination of Interactive Segmentation Algorithms and Intelligent scissor.
Maybe someone here could point me to some important thread or research paper pointing to this area.

Is it possible to detect there is a motion happening from only an image(no referening is given)

I have searched around the internet, only seen motion detection can be done in video or two consecutive images. I wonder is that possible to detect a motion from an image(like jumping running swimming).The motion is referring any significant body movement. If it can be done, please tell me the algorithm and ways to learn it. thank you
As others have commented, for the general case, you probably can't. But, there are still avenues to explore, if you have control over some of the parameters.
One idea that comes to mind is detecting motion blur for some fast movement. You can accent that if you have control over the camera type/exposure.
You can find academic papers on the subject, and can start with:
https://www.google.com/search?q=detecting+motion+blur+in+one+image
A technique that can be helpful to you is called scene understanding. Basically you train a deep neural net with images and labels that describe that image. In that way you can know that a person is running, swimming or doing any other activity.
There is a good presentation about the subject by Prof. LeCun.
What yu are implying is an implicit comparison with an image of a person standng in a "stable/not moving directed way. So there is a two image comparison there non-withstanding.

Is there Aforge.NET algorithm for human activity recognition?

I was wondering if there is Aforge.NET algorithm that is intended for human activity recognition?
For example, I would like to recognizing drowning while capturing frames from surveillance camera on the beach.
I saw there are algorithms for motion detection, but what I need is motion detection plus logic to process that motion so that computer can conclude does that motion fit into drowning category or any other category I tell him.
Comments would be appreciated.
you might need to develop your own algorythms, i do that too with Aforge
Aforge basicly allows me for simple video aquisition, while my math does the interesting stuff.
In your case..
Detect spots with people
Zoom in to them ??
then it becommes tricky how to distinguish someone who dives from someone who sinks ?..
Also there are waves who can get in front of the person your trying to follow..
usually this recognition comes down to simple observations, like someone pulling his hands up is not like a circle of a swimming head..
you got to think how a beach guard can see the difference, what are the main visual clues and how can you convert them to bitmap math.
Consider using Accord.NET - it's a library based on AForge.NET that contains many machine learning algorithms. However you must write all the logic, as you call it, by yourself.
Another possibility is to use Emgu CV which has some motion detection algorithms.

Resources