porting game made using cocos2d c++ on iPod Touch - c++

I have used cocos2d c++ to create a small game on my Windows machine. It looks great and now I am planning to put it on my iPod Touch. Can anyone tell me how can I achieve this without actually porting my app on objective c?
I have MAC machine and I can arrange for Apple Developer license as well.
Please help me in this.

A few years ago, Joel asked the same thing. There are very interesting comments there, you should take a look. This one is very enlightening:
Google "Objective-C++". That will give you ideas how to allow your C++ to interface with Objective-C APIs.
After a quick search on stackoverflow, I found that at that time, someone else asked the same question here: Is it possible to program iPhone in C++

Related

How to control lifx bulbs by C++ in computer

i'm a new guys here.And actually my programming language is basic.><
But i have a project about to control the wifi bulbs by C++ in computer.
And i don't know how to start to do it.
Can anyone give me some suggestion?
What should i started to do first?
Or how to improve my programming's knowledge about this project?
I have been downloaded the lifx http api in my computer. But i didn't know what is that mean... and didn't know when i have api what should i do next. i haven't done this before ..
Really thanks for your help !!
If your programming skills are basic I would never start with C++ but if that's not an option I can suggest you to go here:
https://github.com/kalimaul/lifx-api
And start working with it, at least you won't have to start from scratch.

Game engine C++ and objective C/Xcode coding

I'm quite confused.
I want to develop a 3D game app. I have Unreal engine or Unity to choose from.
Both of them are coded in C++.
Where I have to use objective c that is the main language for iOS?
Can I do the app totally in the game engine Unity/UDK, coded there and then send it to the app store without any programing in objective c and straight from the game engine without using Xcode?
I really hope that the 6 month of full immersion in objective C/xcode were a waist of time.
Sorry if this question is very low level
Thank you
Regards
CL
If you are looking into programming for iOS... Yes you will need to know Objective-C (as it is the main language) and Xcode.
If you are looking to develop a 3D game, start looking into OpenGL ES.
You can't just write a game for Unreal/Unity and send it to the app store... doesn't exactly work that way.
With Unity3D, it is not C++ it is C#
Both are great engines, but if you are new to this, suggest going with Unity3D. Its easier to learn, with tons of free or cheap, easily accessible scripts and art.
and yes you can create the whole game in-Unity-engine, submit to apple and have it Live to the world (without knowing or needing any objective C)
You can also upload it to the app store submission with only a few setup steps.
You will need to download and install XCODE, but you don't need to learn any XCODE programming or project setup as unity does it all for you.
You won't need to learn OGL, or shader language (Unity comes with a suite of free, optimized mobile shaders) though it is fun to learn how to make your own later on.
Any native (objective C) stuff you might need, you can all do just by buying cheap plugins for unity that others have written. (usually in the $20 -$50) range.
You will need.. an apple developer account $100 a year.
Unity for iOS... basic or pro version.
a Mac, or a Hackintosh on a PC (mac mini is the easiest / compromise price route to go)
an iOS device would also help. (suggest getting several different ones for testing, or asking friends)
You could also do Droid instead of iOS. You dont need a mac then. But iOS apps make most of the money. something like 70% iOS 30% droid.
have fun!
You will have to create an Objective-C wrapper.
This is a good start point.
TECH TALK: BRIDGING UNITY AND THE IOS SDK

Cocos2d-x Javascript Bindings supported platforms?

I've asked this question on the Cocos2d-x forums and haven't gotten a reply. Sadly that seems par for the course for those forums :/
My question is, are the docs that state the JavaScript bindings for cocos2d-x are only supported Windows, iPhone, and Android correct? I would love to be able to target iOS, Android, Windows, Mac, and Linux all with the same code base. I'm also extremely fluent in JavaScript and would much prefer to use that if possible. I know I could use cocos2d-html5 but I would rather go native.
Any answers for this would be GREATLY appreciated.
Thanks!!

Recommendations for C++ open source game engines on IPhone

I decided that I want to make a game for the iphone I was thinking of using oolong or sio2 any recommendations?
Both have the problem of lack of tutorials, is it possible to somehow use a normal C++ game tutorial and integreate the engines rather than the one used in the tutorials? So if the C++ tutorial talks of creating an engine I can skip it and use sio2 or oolong?
Thanks
You're making a game, not a game engine. The short answer is, yes, you can just use those engines to make the game.
The long answer is that you should probably go through the tutorials doing it the way that they do it just to get a feeling for C++/OpenGL/whatever. Then, using the knowledge that you have gained, make your own game using oolong or SIO. Trust me, you are not going to want to use the code you wrote when you were learning C++ to make an actual game, unless you can read something and immediately master it.
Look into Unity. Not C++ for the scripting, but it's a very popular engine.
How about cocos2d? It's BSD license, has docs and tutorials, and I've seen many people use it to create a game in a day.

How can i stream CCTV camera to iphone from windows

I am trying to build an iphone app that connects to an IP camera. The IP camera is windows based to i need to create a server using c++ and then stream the video to the iphone app.
Can anyone tell me the best way in going about this task. I am new to programming so a dummies type guide would help.
Thanks
Inam
Go to the ITunes store and download a free app from Avigilon. You won't be able to see any video unless you connect to a system but it'll tell you what ports and user information would be needed. There are gateways and streaming methods involved as well. Not a situation where a new developer will have a lot of success.
Your question is rather too broad to fit into a comment box. It seems, and correct me if I'm wrong, that you're basically asking for someone to write the applications for you.
Instead, if you're a complete beginner, you'll want to first learn how to program for the plaform.
The StackOverflow question Howto articles for iPhone development, Objective C will help you get started with programming for the iPhone.
Once you have the basics down, you might then ask more specific questions.