I want to construct a 3D Maze tha will appear on the iPhone screen but not in the typical above-the maze view but in a Wolfenstein walking inside-around the maze fashion.. Excuse my terminology but I'm quite new to this :)
My questions are the following:
What tools should I use to build my 3d maze? XCode's OpenGl or Quartz Composer?
Given that I want a fairly simple design is there some even simpler tool I can use to design the maze and then import it in my Objective-C project to integrate user/iphone interaction to this?
More importantly though: Regarding the user's movement around the maze, it will involve some elaborate motion event handling and not your typical click left/front/back/right arrow to move around.. Does that affect in any way the tool I will be using to construct my maze or is this irrelevant?
Thanks in advance for any help!
You could (and probably should) do it with Unity 3D. In fact, somebody already has.
Related
What is the best software to create a 3d model of the earth, in which the user can rotate and zoom in. When the tap on a location, it creates a pinpoint to mark it. How would I go about this? I am new to 3d models, so any help is greatly appreciated. I want to place this model into an iOS app (Xcode).
You are asking a lot and I think you should try doing it yourself first. If this seems hard, try searching for a tutorial.
Here is briefly what you should do and a link to a tutorial, post or thread to all of the steps:
1. Create a model of earth and apply a texture on top of it.
If you want to create your own model, I suggest you use blender, which is what I personally like the most of all 3D editing softwares currently available. Blender Guru has an awesome beginner course about blender.
If don't want to create your model all by yourself, TurboSquid has a ton of free models for you.
(Even nasa has made a 3D model of the earth!)
2. Implement a camera orbit feature
This can be hard for beginners like you and me, but luckily Emma Prats has an amazing tutorial about it!
3. Implement code to instantiate objects on top of earth
This thread should help.
If you need help on something, make sure to post it here and we (the community) will try to help!
I'm searching for a method to implement an app with swift 3. I would like to insert a window where I can view a 3D object and move it (like zoom, rotation etc).
Is it possible? How can I do it?
Thank you so much.
Lorenzo
The Apple technology that you need to look into is called SceneKit. SceneKit is a toolbox for creating and viewing 3D objects and... well... scenes. It is high level and easy to work with, but makes effective use of much lower level, performant technologies. The developer documentation can be found here:
https://developer.apple.com/documentation/scenekit
Is there any program that allows custom gestures recording and exporting?
Of course custom gestures for Leap Motion.
The pre-made gestures are not enough for me to make the app.
I tried this old system:
LeapTrainer
However, I have a problem on importing and exporting, and the data exported seems not useful out of LeapTrainer.
Update 1: I tried to find gadgets from Unity Asset Store, but to no avail. Can anyone suggest some tools/SDKs? My main purpose is to use gestures as dynamic slashing(vertically/horizontally/diagonally).
Please anyone can help me?
I started the same way as you did, but i end up building my own gestures base on the API outputs.
Its not that hard you just need to think it a bit.
For example working with fingers, isExtended and Angle between them helps alot.
For the palm you can use the GetPosition and where is pointing at.
So you can do if palm pointing to my face and the hand is open(base on fingers) you will mimic the ARM HMD menu that you see on the LM samples out there.
Or if IndexFinger is extended and the thumb draw a gun on your hand, if the thumb angle is < 10 make the gun shoot.
I truly recommend you to go that way, it will help to expand your knowledge on the device API. 3rd party tools might work but you need to learn how to use them, so better spend that time learning the LM API.
I have developed some how 5 iphone application, but now there is one game, and still I haven't any idea except word open GL ES, I read it a bit but I need some explanation and guidance for developing it.
The theme of game is like "there are many objects are moving from down to upside and i have to pick them and drag in boxes according to their color"
can anyone help me for showing proper way how to achieve, the study sources and other material,,
Thanks in Advance,,,
Not a direct answer but why don't you use an objective-c wrapper like cocos2d. That would speed up the things.
Not a real answer either, but are you sure you need OpenGL ES for that?
If your game is simple enough, you can use only custom UIViews. That would be much easier, especially to handle touch interactions.
When you drag an iphone GUI element like a list, it scrolls in a physics correct way, and also has a nice bounce effect at the end.
I would like to write a GUI element in my game, without using UIKit. I wonder where is the code implementing this, and if I can use it instead of trying to write something similar.
Any ideas?
I think that a physics engine would be overkill for just animating a gui element (unless you already have a physics engine in your game).
You could try using animations but I've no experience of doing this without UIKit but I suppose you would start here?
If you didn't want to use Core Animation, I would take a look at Robert Penner's easing equations - they're in actionscript but are pretty simple to port to C and would be a good start to get your own animation code started.
Hope this helps,
Sam
You can perhaps use animations to achieve this, you can define animation paths for bouncing or doing whatever it is you need and activate them when needed. I think the example project MoveMe can help you out
I can recommend the O'Reilly book "Physics for Game Developers" by David Bourg, which has great coverage of algorithms and code for all sorts of simulations. You probably want to start with motion affected by drag for the flick and gradual slowing, then look at a spring model to simulate the damping at the end.
box2d is an open source project that provides a great 2d physics engine.
this library is used by Intel clutter, which is a nice physics oriented UI library that is capable of running on mobile devices. that means that box2d is already optimized for mobile platforms like the iphone.