lin's Blog

Happy coding

Open Game Maker 2D 1.0.3 is released

Open Game Maker 2D 1.0.3 is released. It is another bug-fix version of 1.0.1.

It mainly solved the compatibility problem of Ubuntu 12 (Thanks gra very much).

Project: http://ogm2d.sourceforge.net

Download: http://sourceforge.net/projects/ogm2d/files

Here is a screenshot:

 

Open Game Maker 2D 1.0.2 is released

Open Game Maker 2D 1.0.2 is released. It is a bug-fix version of 1.0.1, so it is very recommended to update ^^

Project: http://ogm2d.sourceforge.net

Download: http://sourceforge.net/projects/ogm2d/files

Here is a screenshot:

Open Game Maker 2D 1.0.1 is released

 Open Game Maker 2D 1.0.1 is released. Here are the main changes:

  • It is released with Open Game Engine 2D 1.0.1
  • There are still 7 game demos in the binary package.
    But all of them are old games with old structure, please do not use them to guide your development, and you should refer to tutorials (also in the binary package).
  • Script debugger is available now.
  • SQLite3 shell is added to the IDE as a default external tool.
  • New plugin "Script Builder" (preview version) is added to the IDE.
  • Support cross compiling scripts and packing (include encrypting) game resource for the following platforms:
    • Windows
    • Linux
    • MacOS
    • Windows Mobile
    • Android
    • iPhone

 Download: http://sourceforge.net/projects/ogm2d/files

 Forum: http://ogm2d.prophpbb.com

 Tutorial (English):
 http://ogm2d.sourceforge.net/tutorial/intro_en.html
 http://ogm2d.sourceforge.net/tutorial/lesson1_en.html
 http://ogm2d.sourceforge.net/tutorial/lesson2_en.html
 http://ogm2d.sourceforge.net/tutorial/lesson3_en.html
 http://ogm2d.sourceforge.net/tutorial/lesson4_en.html
 http://ogm2d.sourceforge.net/tutorial/lesson5_en.html

 Tutorial (Chinese):
 http://ogm2d.sourceforge.net/tutorial/intro_cn.html
 http://ogm2d.sourceforge.net/tutorial/lesson1_cn.html
 http://ogm2d.sourceforge.net/tutorial/lesson2_cn.html
 http://ogm2d.sourceforge.net/tutorial/lesson3_cn.html
 http://ogm2d.sourceforge.net/tutorial/lesson4_cn.html
 http://ogm2d.sourceforge.net/tutorial/lesson5_cn.html

 Some screenshots:

 

 

 

 

Open Game Engine 2D 1.0.1 is released

 Open Game Engine 2D 1.0.1 is released. Here are the main changes:

  • Support database access
  • Support game resource encryption
  • Support more platforms (including some popular smartphones)

 Download: http://sourceforge.net/projects/oge2d/files

 API Reference: http://oge2d.sourceforge.net/manual/api.html

 Forum: http://ogm2d.prophpbb.com

 Some screenshots:

 

 

 

 

Open Game Maker 2D 教程 - 引子

Open Game Maker 2D 教程 - 引子

在开始学习如何使用 Open Game Maker 2D (以下简称OGM)开发游戏之前,我们需要先理清一些问题。

1. Open Game Maker 2D 是一个什么样的游戏开发工具?它是否适合你的游戏开发工作?

OGM是一个免费、开源、跨平台、Delphi式的游戏开发工具。这个工具的制作目标主要有两个:

  • 让游戏只制作一次,就能在多个平台上运行(目前已经支持的平台有 Windows、Linux、MacOS、Windows Mobile、Android 和iPhone);
  • Delphi式的IDE,具有 "精灵控件" 架构,在游戏中使用精灵就像在Delphi中是使用控件一样,支持精灵控件的导出导入,支持自定义精灵控件,包括自定义属性和自定义事件

尽管现在的OGM已经提供了 "Script Builder" 这样的插件去帮助开发者自动生成脚本代码,但OGM仍然鼓励游戏开发人员尽量通过写脚本代码来控制游戏里的主要逻辑。我们希望开发者可以先学会写脚本代码(类似C/C++语言的脚本语言),然后再使用OGM进行游戏开发。因此,OGM可能比较适合以下的开发者

  • 具有一定的游戏开发经验,想开发一些能跨平台运行的游戏;
  • 具有Delphi或者BCB开发经验,想使用类似的RAD工具进行游戏开发;
  • 具有一定的编程经验,想通过制作一些比较专业、比较商业级的游戏而加入到游戏开发行业中去

如果你符合以上三点,你可能已经是一位比较专业的编程人员了。OGM希望专业的编程人员能在制作游戏的过程中封装好他们的精灵控件,让其他开发人员能很容易的(甚至在不需要再编写代码的情况下)重用这些精灵控件(参考教程中的第二讲和第三讲)。如果开发人员能做到这点,OGM会将之视为Core User。但是,如果你仍想用OGM在不写任何代码的前提下制作出跨平台的游戏,那你只好先等Core Users制作好精灵控件,然后再结合 "Script Builder" (或者由其他Core Users制作的对应插件)来进行可以不写代码的跨平台游戏开发。如果你确实属于在这一情况下使用OGM的,那OGM会把你当作是Light User。

2. 如何获得Open Game Maker 2D?如何安装并运行它?
你可以从这里 http://sourceforge.net/projects/ogm2d/files 下载到最新发布版的压缩包。
安装方法是:把压缩包里的内容解压到你硬盘中任意一个不含中文、不含空格的文件目录下。
运行方法是:双击解压后所得到的可执行文件  ogm2d.exe 

3. 使用 Open Game Maker 2D 有什么限制吗?用 Open Game Maker 2D 开发出来游戏有什么限制吗?
Open Game Maker 2D 是使用GPL3的开源软件,是完全免费的,没有任何使用限制。
IDE自带的 "APIHelper" 则是使用BSD许可证,这可以方便Core Users重用"APIHelper"的代码,
从而更容易也更灵活的制作和发布他们自己的插件。
用 Open Game Maker 2D 制作出来的游戏,实际上是运行于一个独立的游戏引擎 Open Game Engine 2D 之上的,
而 Open Game Engine 2D 是基于MIT协议的开源软件,不但完全免费,你还可以修改它,并且无须公开你修改后的代码。
好了,现在万事俱备了,让我们开始新的游戏制作吧!

 

Open Game Maker 2D Tutorial - Intro

Open Game Maker 2D Tutorial - Intro

Before start to learn how to use Open Game Maker 2D to develop a game, let's clear up some questions first.

1. What is Open Game Maker 2D? Dose it fit your game development?

OGM is a free, open source, cross-platform and Delphi-like game IDE. It aims to

  • Let games written once and run under any supported platforms(current supported platforms are: Windows, Linux, MacOS, Windows Mobile, Android and iPhone)
  • Be a Delphi-like game IDE with a sprite component architecture, which allow developers to use sprites in a game just as them use components in a Delphi application.

Although OGM now provides "Script Builder" plug-in to help developer to generate script code, but OGM still encourages developers to design the main game logic by writing script code directly. So maybe OGM only fits the developers who

  • Have game development experience and want to develop a cross-platform game.
  • Have Delphi/BCB development experience and want to develop games with a Delphi-like IDE.
  • Have programming experience and want to develop professional games.

If you just want to make a game very quickly and do not want to write any script code, you may use Game Maker or RPG Maker, they are both good game development tools. But, if you are considering buying a 2D game development tool to develop a cross-platform game, why not have a try with OGM2D? It is open source software and is completely free.

2. How to get Open Game Maker 2D? How to install and run it?
You may get the binary package  from http://sourceforge.net/projects/ogm2d/files
Install: Just unzip the package into a folder whose full name only contains standard ASCII characters(also no blank please).
Run: Double click the executable file "ogm2d.exe" in the output folder.

3. What is the licence of Open Game Maker 2D and the games made by it?
Open Game Maker 2D is a free and open scource software. It is licensed under the terms of the GPL3 license.
(And the default plug-in "APIHelper" is licensed under the terms of the BSD license.)
The games made by OGM, actually, are built with a game engine named Open Game Engine 2D.
And Open Game Engine 2D is free and open scource too. It is licensed under the terms of the MIT license.
That means, you may modify its source code and do not need to make yours open source too.
Okay, then let's start to make a new game now :)



Open Game Engine 2D Features

Open Game Engine 2D, Version 1.0.1

In current version, the engine has the following features

- Graphic -

  • Pure 2D rendering
  • Support window mode and fullscreen mode
  • Support loading common image file formats (such as BMP,JPG,PNG, etc.)
  • Support rendering PNG with alpha channel
  • Support dirty rect mode
  • Support common 2D graphic effects
  • Support 2D dynamic lighting
  • Support normal scrolling map, tiled map and isometric map
  • Support scene transition effects
  • Support simple UI (via official sprite components)
  • Support dot font display
  • Support TTF, unicode and multi-language display
  • Support playing video file (mpeg file)

- Audio -

  • Support sound and music
  • Support loading and playing common audio file formats (such as WAV,OGG,MP3, etc.)
  • Support music fade-in and fade-out effects

- Input -

  • Support keyboard, mouse and joystick
  • Support IM (Input Method)
  • Support multi-touch (for smartphone)

- Network -

  • Support playing game as a client
  • Support playing game as a server

- Database -

  • Support multiple databases (via SOCI)
  • Provide encrypted SQLite3 database

- Script -

  • C/C++ like script (AngelScript)
  • Support object-oriented program
  • Support calling external DLL or SO files
  • Support loading pre-compiled script (binary code)
  • Support encrypting game scripts and loading encrypted game scripts
  • Provide over 500 API functions to cover everything in a game

- Sprite Engine -

  • Event driven
  • Sprite component architecture.
    • Allow developer to define a sprite class with custom properties and custom events
    • Only use ini files and script files to define a custom sprite class
    • Sprite class has object-oriented features
  • Support custom data object
  • Support movement path object
  • Support timer
  • Support plot

- ETC -

  • Support A * pathfinding (for RPG game)
  • Support movement range finding (for SLG game)
  • Support key mapping (for keyboard input)
  • Support encrypting game resource files and loading encrypted game resource files
  • Support compressing and packing game resource files

Open Game Maker 2D Features

Open Game Maker 2D, Version 1.0.1

In current version, the IDE has the following features

  • WYSIWYG scene designer
  • Script editor with syntax highlighting
  • Script compiler and debugger
  • Sprite editor, path editor and map editor
  • Property editor and event editor
  • Game resource preview
  • Game resource import/export
  • Support plug-in framework (provide APIHelper plug-in by default)
  • Support calling external tools (provide SQLite3 shell by default)
  • Support unicode and multi-language (provide English and Chinese language pack by default)
  • Support cross compiling scripts and packing (include encrypting) game resource for the following platforms:
    • Windows
    • Linux
    • MacOS
    • Windows Mobile
    • Android
    • iPhone

Open Game Maker 2D 0.2.0 is released

 Open Game Maker 2D 0.2.0 is released

  • It is released with Open Game Engine 2D 0.9.0
  • There are 7 game demos in the binary package
  • APIHelper 0.0.1 plug-in is added to the IDE
  • EN-US and ZH-CN language packages are ready for the IDE UI

 Download link: http://sourceforge.net/projects/ogm2d/files

 Some screenshots:

2011_02_01_02.jpg

2011_02_01_03.jpg

2011_02_01_04.jpg

2011_02_01_05.jpg

2011_02_01_06.jpg

2011_02_01_07.jpg

2011_02_01_08.jpg

2011_02_01_10

2011_02_01_12

2011_02_01_13