GLBasic

GLBasic

GLBasic is a commercial BASIC programming language, that can compile to various platforms, including Windows, Linux, Mac OS X as well as Handhelds like Pocket PC, GP2X, GP2X Wiz and Pandora. The language is designed to be simple and intuitive.

Overview

GLBasic started as an interpreted Language with 2D commands but now uses the GCC compiler for many different platforms to achieve fast, native code results for various platforms. The GLBasic precompiler "GPC" converts the simple BASIC language into C++ code and compiles that later. Thus, the user can extend GLBasic using the INLINE command to mix C/C++ code directly with GLBasic source code. Due to this, GLBasic can easily access 3rd party dynamic libraries on all platforms.The GLBasic SDK came with an IDE, debugger and an engine built on OpenGL for the platforms Windows, Linux and Mac OSX. For the Handheld devices GLBasic uses its own close to hardware routines for fast graphics.The current version is 5.200 with version 6 under development, it will include a public version of the compiler for GP2X Wiz devices.

Features

General

*Extraordinarily easy programming language
*Mixing Strings and Numbers
*fast Dynamic Arrays
*Native support for compressed Data Archives (Sound, Graphics and Data all in one encrypted file!)
*Userdefined Types
*Arrays of Types within Types
*Path Finding Algorithm, in a single command!
*Extendable as you require through inline C/C++

3D Features

*Complete 3D engine
*Simple command set
*Smooth 3D Animations
*Loading and Saving user Defined Objects
*Works with all Common 3D Formats (3ds, md2, md3, ac3d, blender, x)
*Alpha Blending
*Collision Detection
*File Exporter for AC3D and Blender3D
*Binary and ASCII file formatsPC-only Features
*Supports GLSL - Shaders
*Real Time Shadows
*Dot3 Bump Mapping
*Cel-Shading (Cartoon Rendering)

2D Features

*Sprites, Rotating, Zooming, Blending
*Basic Drawings (Polygons, Lines, Rectangles, Points)
*Polygonal Sprites
*Alpha Blending for Everything

Network Features

*Tcp/IP
*Udp
*Direct connections
*Simplified interface with messages

Compiler

*Cross Platform
*Native platform Executables
*No Runtime Files Required

IDE

*Platform Native, Standard GUI
*Syntax Formatting + Highlighting
*Integrated and interactive help
*Integrated Helper Tools (Keycodes, Font Generator, Calculator, ...)
*Function and Include File Names are Conveniently Listed within the IDE for Easy Code Navigation
*Support for Multiple Files within Projects
*Project Wizards
*Create HTML documentation directly from your code
*Sharing GLBasic modules as read protected libraries

Sample code

Hello World // this is a comment // Print "Hello World" to the screen position 0,0 (top, left) PRINT "Hello World", 0,0 // swap backbuffer and visible screen, prepare backbuffer for next rendering SHOWSCREEN // wait for a key to be pressed KEYWAIT

See also

*SDL-Basic A BASIC for GP2X, that is interpreted.
*Fenix An interpreted language that is easier to learn than C++

References

*"This article is based on content taken from [http://wiki.gp2x.org/wiki/GLBASIC GP2X wiki] , which is available under the terms of the GFDL."

External links

*The GLBasic [http://www.glbasic.com website]
* [http://www.glbasic.com/main.php?site=games-gp2x-compo GP2X games] written for the GLBasic/gp2x.de [http://www.glbasic.com/main.php?site=gp2x-compo competition] 2008


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • BASIC — This article is about the programming language. For the think tank, see British American Security Information Council. For the group of countries, see BASIC countries. For other uses, see Basic (disambiguation). BASIC Screenshot of Atari BASIC,… …   Wikipedia

  • GW-BASIC — Appeared in 1983 Developer Microsoft (for Compaq) Stable release 3.23 (1988) …   Wikipedia

  • QuickBASIC — Not to be confused with QBASIC. QuickBASIC The opening screen of QuickBasic Developer(s) Microsoft Corporation Initial release 1985 …   Wikipedia

  • XBasic — is a variant of the BASIC programming language that was developed in the late 1980s for the Motorola 88000 CPU and Unix by Max Reason. In the early 1990s it was ported to Windows and Linux, and since 1999 it has been available as open source… …   Wikipedia

  • Microsoft BASIC — Appeared in 1975 (cf. Altair BASIC) Designed by Microsoft Developer Microsoft Stable release cf. Visual Basic .NET (2010) Microsoft BASIC was the foundation product of the Microsoft …   Wikipedia

  • Visual Basic .NET — Paradigm(s) Structured, imperative, object oriented and declarative Appeared in 2001 Designed by Micro …   Wikipedia

  • Windows CE — Microsoft Windows CE Company / developer Microsoft Programmed in C[1] …   Wikipedia

  • StarOffice Basic — (also known as StarBasic and OOoBasic) is a dialect of BASIC that is included with the OpenOffice.org and StarOffice office suites. Contents 1 Example 2 See also 3 External links …   Wikipedia

  • Commodore BASIC — Commodore BASIC, also known as PET BASIC, is the dialect of the BASIC programming language used in Commodore International s 8 bit home computer line, stretching from the PET of 1977 to the C128 of 1985. The core was based on 6502 Microsoft BASIC …   Wikipedia

  • QBasic — Appeared in 1991 2000 Developer Microsoft Corporation Influenced by QuickBASIC, GW BASIC …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”