Jump to content


Chris Burton

Member Since 31 May 2011
Offline Last Active Aug 16 2012 06:48 AM

Topics I've Started

Relational Database support?

09 June 2011 - 02:06 AM

I want to publish multi-player games on the internet that keep track of player history. I've been told there is no native support for a relational database. I received a response from a GM user creating his own "code wrapper to make MySQL queries seem more like native GML instead of a foreign language". He further stated that "any dll capable of sending POST info or a Curl-class wrapper would work" with GM.

My initial research shows Microsoft Access 2010 as the leading relational database used for posting to the Internet. Can Access be integrated? How have others solved their relational database need for games published to the Internet?

Thank you in advance for your suggestions.

Chris

Database, graphing and Internet support

31 May 2011 - 06:49 PM

I have yet to find references to whether GM supports relational databases, charts and graphs, and multi-player Internet publishing.

I would like to keep a database of registered users and their playing history.

I would like to post multi-player games to the Internet.

I would like to chart and graph a player's progress.

Can third-party libraries be integrated for achieving any of these functions?

Can anybody tell me if these functions can be achieved in GM and how easy or difficult it is to do so?

Chris

Problem using the Change Instance action

31 May 2011 - 06:36 PM

I am a new user. I have unsuccessfully tried many variations to Change Instance for the main player object into a different object.

I am trying to have an arrow key event issue an action to Change the Instance (like in Tetris).

I feel like I could be missing something very simple.

My main object moves down the screen and properly detects the bottom of the screen and restarts at a random position from the top.

I can successfully issue a Destruct action or change the main objects' position on the screen, but I have not been successful in displaying a different object in its place when an arrow key event is triggered. I have even tried manually issuing a Destroy Instance for object1 followed by a Create Instance for object2.

For my main object, and its replacement object, I have tried playing with the Solid, and Depth settings. In the Change Instance action, I have tried all settings for Self, Other, and Object and set the perform events to "yes".

I looked in the known errors for GM 8.1 and found two similar references, but neither matched exactly.

Can anybody with greater experience help me?

Chris