Purebasic For Mac

Mac
  • PureBasic for Mac OS X Power PC 5.00 Download: PureBasic is a native 32 bit and 64 bit programming language based on established BASIC rules. The key features of PureBasic are portability (Windows, Linux, MacOS X and AmigaOS are currently supported), the production of very fast and highly optimized executables and, of course, the very simple BASIC syntax.
  • The PureBasic language and its importance should be learned early on. Chapter 4, Conditional Statements And Loops In this chapter I explain how PureBasic handles boolean values, the ‘If’ and ‘Select’ statements are introduced and loops are explained and demonstrated. Examples and full explanations are given. Chapter 5, Other Data Structures.
Page 1 of 1
[ 8 posts ]

PureBasic is a modern BASIC programming language. The key features of PureBasic are portability (Windows, Linux and OS X supported with the same source code), the production of very fast and optimized native 32-bit or 64-bit executables and, of course, the very simple BASIC language syntax. PureBasic has been created for the beginner. Purebasic free download - PureBasic, PureBasic (64-bit), PureBasic for Linux (64-bit), and many more programs.

Print viewPrevious topic Next topic

Purebasic Machine Learning

AuthorMessage
Posted: Thu Apr 16, 2020 12:07 pm
User

Joined: Thu Aug 30, 2018 11:34 am
Posts: 32
PentaGrid. A PureBasic strategy game for Mac and PC.
Download from http://01400.co.uk/
Hope you like it.


Top

Pure Basic For Mac

Posted: Thu Apr 16, 2020 12:19 pm
Enthusiast

Joined: Mon Sep 10, 2012 10:41 am
Posts: 151
Location: Savoie
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 :
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 13' Retina - 16 Gb - OSX 10.15 - Iphone X - iPad at home
...and unfortunately... Windows at work...


Top
Posted: Thu Apr 16, 2020 4:38 pm
User

Joined: Thu Aug 30, 2018 11:34 am
Posts: 32
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 ?


Top
Posted: Fri Apr 17, 2020 9:49 pm
Enthusiast

Joined: Fri Feb 13, 2004 2:37 pm
Posts: 143
Location: Ottawa, Canada
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


Top
Posted: Sat Apr 18, 2020 8:54 am
User

Joined: Thu Aug 30, 2018 11:34 am
Posts: 32
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


Top
Posted: Mon Apr 20, 2020 8:44 pm
Enthusiast

Joined: Fri Feb 13, 2004 2:37 pm
Posts: 143
Location: Ottawa, Canada
Excellent, thanks. I also use InnoTools for Windows, but never found a suitable, simple solutions for the Mac.
Cheers.

_________________
Colin


Top
Posted: Mon Jun 08, 2020 12:20 am
Enthusiast

Joined: Tue Nov 22, 2011 5:11 pm
Posts: 321
Location: Kelowna, BC, Canada
I have been using this for more than 10 years now:
https://c-command.com/dropdmg/

_________________
PB 5.72 on Windows 10 & OS X High Sierra


Top

Purebasic Mac Os X

Purebasic form tutorial

Purebasic Macros

Posted: Thu Jul 09, 2020 3:04 pm
User

Joined: Thu Aug 30, 2018 11:34 am
Posts: 32
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.


Top
Page 1 of 1
[ 8 posts ]