Game Development Community

Talking to database

by PeterB · in Torque Game Builder · 02/26/2006 (5:23 pm) · 2 replies

I want any player of my single player game to be able to store and retrieve a few things (per player) on my own server's database.

Can I add to the engine to make this happen?
Has someone specifically done this?

The database side of things should be straightforward. My friend has setup such projects for my Macromedia Flash work.

So I'd like Torque 2D to talk to my database. I found this resource for T3D, but would like to collect as much information as I can:

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=1921

Can the above resource also be incorporated into T2D?

And is this essentially a question related to networking, which I see is a feature of version 1.1?
(I plan to get some help once I have researched the topic...in case my questions expose that my only experience with Torque source is adding code recommended from specific resources.)

#1
02/27/2006 (3:27 pm)
Errrrr.... Search ODBC for TGE 1.4, works fine... So far....


Ill get back to you after further testing...

It supports MS SQL & MySQL.... =D Win & Linux...

Go get....


- Ricky
#2
02/27/2006 (10:43 pm)
Unfortunately, he doesn't have access to TGE forums. I'll try to get this on the list of resources that need to be moved to TDN.

If someone does/has a port of this functionality to TGB, it would make an excellent resource!