Game Development Community

Running game on a Mac

by Adrian Walters · in Torque Game Engine · 12/18/2007 (8:45 am) · 1 replies

Hi

I am developing a game on PC using the Indie license, and want my brother to be able to test it on his Mac. He has downloaded and installed the demo but now we are stuck as to how to get it to play my game.

On a PC I just type

demo -game waq

(waq is the name of the game) and it works fine.

How does it work on a Mac?

Cheers!

Adge

#1
12/24/2007 (4:07 am)
I use Torque on both the Mac and Windows. The Mac version has shortcuts to shell scripts which are the Unix equivilent of the .bat files in Windows. I'm new at this so I'm not sure exactly what the command should be, but here is the script to run starter.fps (the file is called Starter.FPS.command):
---

#!/bin/bash

cd "'dirname "$0"'"

./Torque\ Demo\ OSX.app/Contents/MacOS/Torque\ Demo\ OSX -game starter.fps

---

I hope that helps you.

Josh