1
$\begingroup$

I'm hoping to use Blender and the BGE in a bit of an unusual way. I am hoping to create an interactive floor plan where I can click on desks and that will present information about the user.

Now I was hoping to store the data in an SQL database. Is this possible to do? I have even looked at the possibility of using Blender4Web to run in browser rather than having to run a seperate .exe each time.

If this may even be slightly possible are there any examples?

Many Thanks Jon

$\endgroup$
  • 1
    $\begingroup$ If you are just using BGE then any Python code you can write will work, connecting/reading/writing to a database. As far as I can tell Blend4Web uses JavaScript in place of python and should be able to load extra javascript that would interface via http/s to a web service with a database behind it. But I cannot see any direct examples. $\endgroup$ – rob Jun 26 '18 at 11:38
1
$\begingroup$

As mentioned in the comment, the BGE has no build-in connection to databases.

You can use all Python libraries you like. Be aware you need to distribute them with your final application.

I know it is not a step-by-step instruction, but it is a big topic ... at a python forum.

$\endgroup$
  • $\begingroup$ where can one read about this topic specifically and not deviate so much from python things that are not directly related in a functional way? $\endgroup$ – user58715 Jul 10 at 18:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.