want a common DataBase for Unity Game and a Website - web-services

I am making a game in unity 5 where i need to load description and items from a database which gets updated when we enter values in a website.
I need to know some way to consume asmx webservices in unity 5.
Can somebody tell me in detail How can i do that.

I don't know too much about Unity. I have only tinkered with the game engine. So the only advice I can offer is, try posting your question on this site https://gamedev.stackexchange.com/ (if you haven't already). It's the same thing as SO just for game development specifically. Good luck in your endeavors.

Related

Django API Rest Framework

this is - don't slap me in the face - a beginner question.
I have some knowledge in Python and Django, but it is not too overwhelming. I have a very appealing business idea in my head and I made it a challange to see if I can get the nessesary skills to make it come to life.
Long story short, somewhere along the road I want to be able to build an IOS and Android App (or bring someone in who can do it). I also need a homepage for this (Django is a good enough solution for this - this much I know).
As far as I unserstand it, I can use the rest API Framework to connect Apps with the Django Backend. Is this a good solution? Or would you recommend another way to realise this projekt?
Speed would be impartant for the final solution. Also I need good scalability, though, I don't plan to recreate Facbook.
Django REST Framework is brilliant, and the documentation is really helpful (http://www.django-rest-framework.org/), takes a little while to get used to but with django experience its very simple. There is also a short video tutorial(4 videos) by a guy called thenewboston https://www.youtube.com/watch?v=Yw7gETuRKjw which will help get you started.
Hope this helps, good luck with the business adventure

How to create webservice for online game

I created a game in flash, for android(I know flash is dead, but was the only platform I knew how to code a game). It's based on matches, I did the AI and the game works very well offline.
But now I want to make it online and I never developed anything for web, like websites, webservers. I do not even know what SOAP, REST and this methodologies are.
So what do I need to learn to develop something like this? Here are the requirements :
I want to create a "room" with your facebook friends that are online in the moment.
In this "room" you can invite them to play a match.
The information that is passed client to client is only two points in the cartesian plane(e.g., {(1,2), (3,5)}) and the information that the game may have ended.
It's important to notice that the server must hold connections from
cellphones. The information passed is from cellphone to cellphone.
Develop the whole game in another language or platform is not an option. This is my first game that will be published, so its more like an learning exercise. I dont know PHP nor Python, but I can learn it.
Thanks.
there is a service called Flox (https://www.flox.cc/docs/getting-started) which has a AS3 integration, take a look at it, may help you

Web Developer curious about developing for the Android

Hey there,
So I've been heavily focused on design/development using web technology for the last few years (php/mysql, javascript, etc), and I'm a bit hesitant to start learning C++.. At the same time, I see it as a potentially enjoyable learning experience.
To keep things brief, right now I'm developing an online app that plots out certain locations on a map, and you can sort through these locations and do a bunch of other nifty things..sorry to be vague. The point is: I don't see any real advantages of making this an actual "app" when the entire functionality of the app itself can do quite fine through the modern mobile browser..
Not to mention that, by living in a browser, it's much less proprietary
So, my question is: Is there any way to make a simple app that's basically porting the user to my site? I guess it'd be convenient that as an app, the user has a nice little icon to click on when they do need to access it..
Android development relies heavily on Java. So you are all ready on the right track.
However if you just want to make an app that brings people to your website, running javascript I am guessing, this is easy to do with android.
Android supports the webkit browser and has a view group called WebView. Your app can be nothing more than a shortcut on a desktop that opens a webview directly pointed to your website. It could add other options to point to other parts of your website like bookmarks.
WebView webview = new WebView(this);
setContentView(webview);
weview.getSettings().setJavaScriptEnabled(true);
webview.loadUrl("yoursiteurlgoeshere);
A lot of apps on the market are actually based around a WebView. There are other classes that allow you more control over the view, like whether links are opened in the webview or in a new browser, or whether the user is allowed to use the resize options, etc.
Welcome to Android.
There is a massive article on exactly this type of idea. It discusses a number of different things and is well worth the read if you are indeed interested in making a cross-phone web-app. It talks about an html5 facility in the works for creating such a thing as you describe, but it isn't quite universal yet.
Here is an article on making an iphone app in html5.
You can also use phonegap to port your design to andorid.
also, check out a jquery plugin calld jqtouch if you are interseted in developing touch capable applications quickly.
If you are worried about speed and the issue of internet connectivity, you can use html5 local storage features which are available on both android and itouch. Ibm has a great series on these issues and part 2 covers local storage.
No. The problem with web technology on a mobile device is the delay. You are far away from the server, so a lot of the things you can easily do with a normal client creates a very bad user experience on a mobile device. The roundtrip time is simply too large. You have to move much more functionality to the client. This client is also less powerfull, and tends to have limits on caching large elements
How is this related to C++?
There is also a C++ API which is only recently available. Google calls it the NDK (Native Development Kit). Information about it can be found here: http://developer.android.com/sdk/ndk/index.html
I personally haven't developed using the NDK. The only real reason someone would really need to would be to write a high-performance application that can't stand the overhead of the Java JVM--which is getting more and more rare these days IMO.
As far as creating a simple app with a web container in it, see Phobos' response. That is exactly how I'd do it personally.

Django: create an internal twitter like wall

I'm building a multi user system and I'm creating an somewhat experimental idea for the users to interact.
The site is for professional actors so they can post up their profile and so casting directors can find them. All that is going fine.
What I now want to do it create a wall/twitter group area where people can post short messages just like in twitter.
I'm developing all this in Django and while I have a really good Django developer working on the site, I've decided to take on this part myself. I'm relatively new to django, I have 10 years PHP/Java experience.
I've set up the basics of posting a message and parsing urls etc. What I want to do now is create a reply to and a direct message feature.
Is there any other projects out there that would have done something similar to this that could help me in not re-inventing the wheel completely.
Also on a general note as an idea, any suggestions as to what to do different considering my environment and audience.
Check out Trillr (including considering binning any work you've done and just including this wholesale, open-source licence permitting).

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.