April 25, 2019, 04:17:12 AM

Author Topic: Programming Language  (Read 632 times)

Offline johnno56

  • Jr. Member
  • **
  • Posts: 15
  • Logic is the beginning of Wisdom.
Programming Language
« on: March 20, 2019, 05:17:36 AM »
I am new to this forum and interested in making games, let's say, a little more involved than just Pong. My interests are in Space shooter; Platformers and text adventures...

Asking, "Which programme is the best for game development?", is a potential nightmare... So I won't... lol

I run with Linux Mint and would appreciate some suggestions. (No... going back to Windows is 'not' a valid option - lol)

I have used Basic since I could remember. SDLBasic, RCBasic and QB64 are my preferred mediums at the moment. When I said "used" I did not mean "mastered"... I'm not that clever... lol

J
May your journey be free of incident.

Live long and prosper.

Offline Matty

  • Hero Member
  • *****
  • Posts: 629
    • MattiesGames
Re: Programming Language
« Reply #1 on: March 20, 2019, 05:21:27 AM »
Well....there's always browser languages (javascript) - which will run on Linux, Windows, Mac, Android, iOS and pretty much everything out there and doesn't need compiling to run.....

Offline johnno56

  • Jr. Member
  • **
  • Posts: 15
  • Logic is the beginning of Wisdom.
Re: Programming Language
« Reply #2 on: March 20, 2019, 05:26:57 AM »
Well, I for one am impressed... A response with 5 minutes of posting... Thank you!

Javascript. Looks like I will be researching this one. Cool. Thank you for the suggestion.

J
May your journey be free of incident.

Live long and prosper.

Offline therevills

  • Hero Member
  • *****
  • Posts: 520
Re: Programming Language
« Reply #3 on: March 20, 2019, 07:58:20 AM »
If you go with JavaScript, use the super-set TypeScript instead and you may not lose your mind  ;)

I still like Monkey2 for simple games, but my main games are still in BlitzMax (going over to BlitzMax NG real soon) - lots of people here really like AGK as well.

Offline TomToad

  • Sr. Member
  • ****
  • Posts: 371
Re: Programming Language
« Reply #4 on: March 20, 2019, 09:16:52 AM »
If you wish to stay with a BASIC style syntax, I would suggest either BMX-NG, AGK, or B4J.

B4J is free.  It also compiles to Java byte code, so the binaries will run on any computer that supports Java.  It does not support mobile, but there is the paid versions of B4A (android) and B4I (iPhone).
https://www.b4x.com/

AGK costs money, but will compile for most any platform, including mobile and HTML5.  If it is too expensive for you, wait a bit as they often have good bundles on sale.
https://www.appgamekit.com/

BMX-NG is currently my programming language of choice.  It will compile for Mac, Windows, & Linux right out of the box.  Mobile requires some extra setup.
https://github.com/bmx-ng/bmx-ng/releases

If you wish to try something other than BASIC style syntax, there is Monkey2, MonkeyX, CerberusX, and Unity aimed at game programming.  For general programming, there is Java, Javascript, C++, C#, Python, etc... (too many to list)
------------------------------------------------
8 rabbits equals 1 rabbyte.

Offline Derron

  • Hero Member
  • *****
  • Posts: 1953
Re: Programming Language
« Reply #5 on: March 20, 2019, 09:26:26 AM »
Quote
BMX-NG is currently my programming language of choice.  It will compile for Mac, Windows, & Linux right out of the box.  Mobile requires some extra setup.
https://github.com/bmx-ng/bmx-ng/releases

For a better overview just use:
https://blitzmax.org


bye
Ron

Offline Naughty Alien

  • Hero Member
  • *****
  • Posts: 573
Re: Programming Language
« Reply #6 on: March 20, 2019, 12:23:05 PM »
..everything folks already mentioned..cant go wrong..

..as for me, my attitude towards C/C++ turned to be something like this ..  ;D

Offline johnno56

  • Jr. Member
  • **
  • Posts: 15
  • Logic is the beginning of Wisdom.
Re: Programming Language
« Reply #7 on: March 20, 2019, 01:22:15 PM »
Derron. Downloaded from blitzmax.org and the program ran 'out of the box'. Tried some of the sample programs and the compiling failed.

In file included from /home/john/development/BlitzMax/mod/sdl.mod/sdl.mod/SDL/src/audio/nas/SDL_nasaudio.c:34:0:
/home/john/development/BlitzMax/mod/sdl.mod/sdl.mod/SDL/src/audio/nas/SDL_nasaudio.h:29:28: fatal error: audio/audiolib.h: No such file or directory
compilation terminated.
Build Error: failed to compile (256) /home/john/development/BlitzMax/mod/sdl.mod/sdl.mod/SDL/src/audio/nas/SDL_nasaudio.c

As I have not used the Linux version BMX before I have no idea how to correct this. Seem to be missing audio libraries?
May your journey be free of incident.

Live long and prosper.

Offline Steve Elliott

  • Hero Member
  • *****
  • Posts: 1719
Re: Programming Language
« Reply #8 on: March 20, 2019, 03:17:24 PM »
lmao @ that video.  Sound on to fully appreciate.   ;D
Windows 10, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).
MacOS Mojave, 64-bit, 8Gb RAM, CPU Intel i5, 2.3 Ghz, Intel Iris Plus Graphics 640 1536 MB.
Linux Mint 19.1, 64-bit, 16Gb RAM, CPU Intel i5, 3.2 GHz, Nvidia GeForce GTX 1050 (2Gb).

Offline Amon.

  • Jr. Member
  • **
  • Posts: 91
  • What? There's no ceiling outside?
    • Amon.Pro
Re: Programming Language
« Reply #9 on: March 20, 2019, 03:54:47 PM »
@video Ahhh, aint laughed like that in a long time.  ;D
Windows 10 Pro - 32GB DDR4 RAM - GEFORCE RTX 2070 8GB - AMD RYZEN 7 8 CORE - WATERCOOLING.

Offline TomToad

  • Sr. Member
  • ****
  • Posts: 371
Re: Programming Language
« Reply #10 on: March 20, 2019, 04:59:38 PM »
The github link I pointed to has instructions for installing on Linux.  Basically you need to execute the line shown in order to install all the necessary dependencies.
------------------------------------------------
8 rabbits equals 1 rabbyte.

Offline Naughty Alien

  • Hero Member
  • *****
  • Posts: 573
Re: Programming Language
« Reply #11 on: March 21, 2019, 04:25:54 AM »
...hint...play it at double speed...LOL..  ;D

Offline johnno56

  • Jr. Member
  • **
  • Posts: 15
  • Logic is the beginning of Wisdom.
Re: Programming Language
« Reply #12 on: March 21, 2019, 04:26:27 AM »
All dependencies were already already installed...

J
May your journey be free of incident.

Live long and prosper.

Offline Brucey

  • Jr. Member
  • **
  • Posts: 67
Re: Programming Language
« Reply #13 on: March 21, 2019, 06:22:08 AM »
Hallo, you might also try installing libaudio-dev, or you could edit the header in sdl.mod/sdl.mod/include/linuxx64/SDL_config.h, and comment out the parts that refer to SDL_AUDIO_DRIVER_NAS. Then rebuild.

SDL generally requires more libraries available at compile time than at runtime - in order to better support the different libraries people will have on their systems. The libraries are loaded at runtime as required, so although you might compile in support for libaudio (for example), it may never actually be used by someone using your software.

In any case, I should add it to the list of requirements...

Offline DaiHard

  • Jr. Member
  • **
  • Posts: 29
Re: Programming Language
« Reply #14 on: March 21, 2019, 09:46:49 AM »
If you are a BASIC fan, you could look at BBC BASIC for SDL:

http://www.bbcbasic.co.uk/bbcsdl/

It's free, cross-platform, and uses SDL2 to provide graphics support which should be suitable for games.

Best wishes,

D