PentaGrid for Mac and PC.

Developed or developing a new product in PureBasic? Tell the world about it.
BlindMan
User
User
Posts: 32
Joined: Thu Aug 30, 2018 11:34 am

PentaGrid for Mac and PC.

Post by BlindMan »

PentaGrid. A PureBasic strategy game for Mac and PC.

Download from http://01400.co.uk/

Hope you like it.
Mindphazer
Enthusiast
Enthusiast
Posts: 340
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: PentaGrid for Mac and PC.

Post by Mindphazer »

Hello

I've tested your game on my Mac. Works well.
The only point is that the Application menu --> Quit doesn't work (this menu is always created on an OSX application)
I guess you have not tested this in you program
You can do it easily by using special OSX constants :

Code: Select all

Select EventMenu()
    CompilerIf #PB_Compiler_OS = #PB_OS_MacOS
      Case #PB_Menu_Quit
        ...
      Case #PB_Menu_About
        ...
      Case #PB_Menu_Preferences
       ...
    CompilerEndIf
EndSelect
MacBook Pro 14" M1 Pro - 16 Gb - MacOS 14 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
BlindMan
User
User
Posts: 32
Joined: Thu Aug 30, 2018 11:34 am

Re: PentaGrid for Mac and PC.

Post by BlindMan »

Mindphazer wrote: The only point is that the Application menu --> Quit doesn't work (this menu is always created on an OSX application)
I guess you have not tested this in you program

Thanks for mentioning this Mindphazer.

I had not even noticed that the macOS Application menu was there for my app.


About and Preferences are greyed out. How can these be activated?

Can BindMenuEvent(#Menu, MenuItem, @Callback()) be used with the macOS Application Menu ?
If it can, what #Menu, MenuItem numbers reference the macOS Application Menu ?
ColBoy
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Feb 13, 2004 2:37 pm
Location: Ottawa, Canada
Contact:

Re: PentaGrid for Mac and PC.

Post by ColBoy »

Hey BlindMan. Cool game. Just wondering how did you create your installer for the Mac. Was looking to do something similar, but can't seem to find anything that's easy and straightforward.

Thanks
Colin
BlindMan
User
User
Posts: 32
Joined: Thu Aug 30, 2018 11:34 am

Re: PentaGrid for Mac and PC.

Post by BlindMan »

ColBoy wrote:Just wondering how did you create your installer for the Mac.
I used https://www.araelium.com/dmgcanvas to create PentaGrid.dmg

For Windows installers, I used https://jrsoftware.org/isinfo.php
ColBoy
Enthusiast
Enthusiast
Posts: 143
Joined: Fri Feb 13, 2004 2:37 pm
Location: Ottawa, Canada
Contact:

Re: PentaGrid for Mac and PC.

Post by ColBoy »

Excellent, thanks. I also use InnoTools for Windows, but never found a suitable, simple solutions for the Mac.
Cheers.
Colin
User avatar
kpeters58
Enthusiast
Enthusiast
Posts: 341
Joined: Tue Nov 22, 2011 5:11 pm
Location: Kelowna, BC, Canada

Re: PentaGrid for Mac and PC.

Post by kpeters58 »

I have been using this for more than 10 years now:

https://c-command.com/dropdmg/
PB 5.73 on Windows 10 & OS X High Sierra
BlindMan
User
User
Posts: 32
Joined: Thu Aug 30, 2018 11:34 am

Re: PentaGrid for 64bit Linux.

Post by BlindMan »

PentaGrid V1.4.0.3 now available for 64bit Linux.

Compiled on Ubuntu 18.04.

Tested on Ubuntu 16.04 and 18.04.

Download from http://01400.co.uk/ubuntu.html

After downloading PentaGrid file, chmod 755, Run.
Post Reply