C++ - Страница 2 - Форум Game Maker. Разработка игр.
Здравствуй Гость | Перейти на сайт

Главная | Форум | Регистрация | Войти
gmaker.net ;) [ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
Страница 2 из 2«12
Форум Game Maker. Разработка игр. » Разработка игр на Game Maker (Simple Mode) » Общие вопросы разработки игр » C++
C++
Tofo Дата: Суббота, 06.01.2007, 21:44 | Сообщение # 21
Всех уже задолбал
Группа: Проверенные
Сообщений: 938
Статус: Offline
а! ты про ето. я уже давно скачал . я думал про конвертор гм6 в че то там другое.

Добавлено (06.01.2007, 21:44)
---------------------------------------------
ХА! на офф форуме склепали конвертор в с++.
Here is something that i have been working on for the last couple of days. It converts GML to a C source code which uses the allegro api so that it can be theoretically compiled for any operating system. The converter is completely written in gml and usual takes around 2 seconds for conversion. C is faster than java, flash and gamemaker, if speed is an issue.

The converter is in 2 pieces, 1 which does the converting or adapting and the other (ide.exe) which generates files with the data of what resources and variables to use. The output file is a single C source code

Current features:
1. Variables
2. Sprites
3. Backgrounds
4. Sounds
5. Color Functions
6. Any C or Allegro command
7. Custom functions
8. ...

Current limits (*=will definitely be fixed/changed):
1. if, for, while or etc. require brackets, and equal signs require double equal signs when used for comparisons comparisons.
2. semicolons are required nomatter what.
3. string and string_format have modifications due to rules in C, refer to included help file.
4. *all resources need to be initialized (it is already handled by the ide)
5. *Currently only fullscreen is permitted
6. *Bitmaps and wavs only
7. *Other minor limits.
note: does not convert gm6 files, it uses 2 gml files (edit: and now additional files which contain custom functions), one being create event and the other being step/draw event.
8. *limited quantity of functions

Size: 2.2 mb zipped (it includes the converter and ide and an example and a confusing help file)
Download
Requires C/C++ compiler and a correct set up of Allegro.

Please tell me suggestions or glitches.

edit: Do not use any versions of the converter older than 0.301

For dev-C++
Read http://wcs-jabe.sourceforge.net/project/te...gro_devcpp.html and then pm if you still need help with setup of allegro or C/C++ project. (c source code by it self does not contain compiler settings.)
Once the libraries and include files are placed in the correct folders, download the following example which is a dev-c++ project that has the correct setup, a compiled exe and the required dll (the example is not statically linked).
Dev-C++ example



Невозможно найти удаленный сервер
 
Александр Дата: Суббота, 06.01.2007, 22:41 | Сообщение # 22
Каждый 5й пост мой
Группа: Пользователь
Сообщений: 1288
Статус: Offline
Tofo, купи диск с софтом!


Заходите на http://gmaking.narod.ru
I'm watchin' u
 
Tofo Дата: Воскресенье, 07.01.2007, 02:37 | Сообщение # 23
Всех уже задолбал
Группа: Проверенные
Сообщений: 938
Статус: Offline
не понял...


Невозможно найти удаленный сервер
 
DreamRunner Дата: Воскресенье, 07.01.2007, 06:38 | Сообщение # 24
Админ
Группа: Админы
Сообщений: 1382
Статус: Offline
Tofo, чтото ссылка не пашет. Она верная?
 
splean Дата: Вторник, 09.01.2007, 01:12 | Сообщение # 25
Каждый 5й пост мой
Группа: Админы
Сообщений: 1473
Статус: Offline
йаааахооооуууууууууууу дай бог все пойдет дальше хорошо у них ))))))


Блог?
Твиттер! =)
 
Форум Game Maker. Разработка игр. » Разработка игр на Game Maker (Simple Mode) » Общие вопросы разработки игр » C++
Страница 2 из 2«12
Поиск:



Сообщество Gmaker.SU 2005-2012
Используются технологии uCoz
Простой вход