This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 »
256
General ENIGMA / Builds, Packages, Releases, etc.
« on: November 03, 2010, 08:44:37 pm »
OUTDATED
The contents/links of this page may be outdated. We have instead starting hosting our installation links and directions on the wiki: http://enigma-dev.org/docs/Wiki/Install
README
Note that ENIGMA is still in the beta stage and that not all systems are finished. This is not a topic to ask for things to be finished, nor is it for commenting on releases. It's merely a place to keep the releases in a nice place. All of the releases below are of the latest SVN revision, or close to it.
Windows
The latest windows version can be found here. Run ENIGMA.exe to install and run ENIGMA.
Mac OS X, iPhone, Android
These platforms don't currently have builds. You can try them out from the SVN. You can either use this command:
Linux
Currently, the only packages that have been built are for Ubuntu and Arch Linux. I'll eventually create one for Fedora, but for now, it's just those two.
Ubuntu
Note: If you get a file conflict error, try removing the old package before installing the new one.
To install ENIGMA, you need to add the ENIGMA repo to your list of repositories. To do this, navigate to System > Administration > Software Sources. You might have to edit the menu for it to show up; right click the menu and choose "edit menu" to do this.
There, navigate to the Other Software tab and add a repository with the following code:
Now, this should create two repositories - one for binaries and one for source; delete the source version, because it does not exist, and will create an error.
Note that I've labeled it as natty, but it will work for any version of Ubuntu. If you're still on the maverick version, it'll give you a 404 error.
If Ubuntu doesn't ask you to automatically update the package database, go to a terminal and run:
Then, you can install ENIGMA (enigma-dev-svn) via the software center, synaptic, or command-line with the following command:
If it asks to install even if the package isn't authenticated, say yes.
Arch Linux
To add the repository in Arch Linux, add the following to /etc/pacman.conf:
And run the following to update the database:
ENIGMA can be installed via command-line with:
Running ENIGMA
To launch ENIGMA, you can either run "enigma-dev" or "lateralgm" in a terminal or use the launcher in the Applications > Programming menu. Note that launching ENIGMA from the menu will create a terminal to display the output of LGM and the compiler. LGM will be associated with Game Maker files even if they don't have a file extension.
For people that want the package source, you can get it here:
http://dl.dropbox.com/u/6125077/enigma/enigma-dev-svn.src.tar.gz
I'm going to be running the build script every once in a while, so, don't expect a version for every commit. I also am not keeping old packages/releases for the sake of web space. If I do happen to forget to make a new package/release, let me know on the IRC or something.
The contents/links of this page may be outdated. We have instead starting hosting our installation links and directions on the wiki: http://enigma-dev.org/docs/Wiki/Install
README
Note that ENIGMA is still in the beta stage and that not all systems are finished. This is not a topic to ask for things to be finished, nor is it for commenting on releases. It's merely a place to keep the releases in a nice place. All of the releases below are of the latest SVN revision, or close to it.
Windows
The latest windows version can be found here. Run ENIGMA.exe to install and run ENIGMA.
Mac OS X, iPhone, Android
These platforms don't currently have builds. You can try them out from the SVN. You can either use this command:
Code: [Select]
svn co https://enigma-dev.svn.sourceforge.net/svnroot/enigma-dev enigma-dev
Or, alternatively, you can use another SVN client with https://enigma-dev.svn.sourceforge.net/svnroot/enigma-dev as a server.Linux
Currently, the only packages that have been built are for Ubuntu and Arch Linux. I'll eventually create one for Fedora, but for now, it's just those two.
Ubuntu
Note: If you get a file conflict error, try removing the old package before installing the new one.
To install ENIGMA, you need to add the ENIGMA repo to your list of repositories. To do this, navigate to System > Administration > Software Sources. You might have to edit the menu for it to show up; right click the menu and choose "edit menu" to do this.
There, navigate to the Other Software tab and add a repository with the following code:
Code: [Select]
deb http://dl.dropbox.com/u/6125077/enigma/repos/ubuntu natty main
Now, this should create two repositories - one for binaries and one for source; delete the source version, because it does not exist, and will create an error.
Note that I've labeled it as natty, but it will work for any version of Ubuntu. If you're still on the maverick version, it'll give you a 404 error.
If Ubuntu doesn't ask you to automatically update the package database, go to a terminal and run:
Code: [Select]
sudo apt-get update
Then, you can install ENIGMA (enigma-dev-svn) via the software center, synaptic, or command-line with the following command:
Code: [Select]
sudo apt-get install enigma-dev-svn
If it asks to install even if the package isn't authenticated, say yes.
Arch Linux
To add the repository in Arch Linux, add the following to /etc/pacman.conf:
Code: [Select]
[enigma]
Server = http://dl.dropbox.com/u/6125077/enigma/repos/arch-linux/$arch
And run the following to update the database:
Code: [Select]
sudo pacman -Sy
ENIGMA can be installed via command-line with:
Code: [Select]
sudo pacman -S enigma-dev-svn
Running ENIGMA
To launch ENIGMA, you can either run "enigma-dev" or "lateralgm" in a terminal or use the launcher in the Applications > Programming menu. Note that launching ENIGMA from the menu will create a terminal to display the output of LGM and the compiler. LGM will be associated with Game Maker files even if they don't have a file extension.
For people that want the package source, you can get it here:
http://dl.dropbox.com/u/6125077/enigma/enigma-dev-svn.src.tar.gz
I'm going to be running the build script every once in a while, so, don't expect a version for every commit. I also am not keeping old packages/releases for the sake of web space. If I do happen to forget to make a new package/release, let me know on the IRC or something.
257
Function Peer Review / Re: action_move
« on: November 03, 2010, 04:55:52 pm »
Oh.
In that case, never mind.
In that case, never mind.
258
Function Peer Review / Re: action_move
« on: November 03, 2010, 03:57:55 pm »
Instead of using a string of 9 bytes, why not just use unsigned char with flags?
Code: [Select]
const unsigned char e = 1;
const unsigned char ne = 2;
const unsigned char n = 4;
const unsigned char nw = 8;
const unsigned char w = 16;
const unsigned char sw = 32;
const unsigned char s = 64;
const unsigned char se = 128;
259
General ENIGMA / Re: DnD Functions
« on: November 03, 2010, 03:28:09 pm »variant::operator bool() { return dval > .5; }Shouldn't that be >=?
260
General ENIGMA / Re: DnD Functions
« on: November 01, 2010, 03:55:46 pm »
That works. I personally didn't know how LGM handled it, and assumed that action_if() was just used as an if macro.
261
General ENIGMA / DnD Functions
« on: October 30, 2010, 04:13:21 pm »
Not like anyone here uses DnD, but they might as well be done.
#define action_if(x) if(x)
#define action_while(x) while(x)
etc.
#define action_if(x) if(x)
#define action_while(x) while(x)
etc.
262
Function Peer Review / Re: GML: All draw_text functions (WIP)
« on: October 30, 2010, 09:21:35 am »Ou, so we don't need to add that for every draw text function? Nice.I'd assume that a better way to do it would be to name them as draw_test_pound and draw_text_newline or something like that and let the parser pick one.
263
Function Peer Review / Re: GML: All draw_text functions (WIP)
« on: October 30, 2010, 09:20:42 am »1) It is \r\nOkay, it is \r\n. :V
2) The \r is optional in everything not strictly Microsoft (IE, not Notepad).
264
Function Peer Review / Re: GML: All draw_text functions (WIP)
« on: October 29, 2010, 06:36:12 pm »
Right. I'll let you work on that.
Why does \r\n have to be used? That's not even a correct escape for Windows; it's \n\r. Why not just use \n?
Why does \r\n have to be used? That's not even a correct escape for Windows; it's \n\r. Why not just use \n?
265
Function Peer Review / Re: GML: All draw_text functions (WIP)
« on: October 29, 2010, 06:26:48 pm »
Eh, I messed up.
Code: [Select]
for (size_t i = 0; i < str.size(); i++)
{
if (str[i] == '#')
{
if (i > 0 || str[i-1] == '\\')
{
str.erase(--str[i],1);
}
else
{
str[i]='\n';
}
}
}
266
Function Peer Review / Re: GML: All draw_text functions (WIP)
« on: October 29, 2010, 04:27:09 pm »
It's even simpler than that.
Also, it's C++0x, not C++x0. The standard C library supports regex, and I think that it would be a good idea to implement it into ENIGMA.
Code: [Select]
for (size_t i = 0; i < str.size(); i++)
{
if (str[i] == '#' && (i == 0 || str[i-1] != '\\'))
{
str[i]='\n';
}
}
Also, it's C++0x, not C++x0. The standard C library supports regex, and I think that it would be a good idea to implement it into ENIGMA.
267
Function Peer Review / Re: move_towards_point + move_snap
« on: October 25, 2010, 07:33:36 pm »
You also have to realise how macros are not functions and that they result in terribly awkward syntax errors when not done correctly.
268
Function Peer Review / Re: move_towards_point + move_snap
« on: October 25, 2010, 06:21:11 pm »
Why not use an inline function? :/
269
Issues Help Desk / Re: Can't compile anymore? Whats up with that?
« on: October 24, 2010, 08:36:09 pm »I have never had luck using the MinGW that comes with Code::Blocks. I have no idea why. It doesn't seem much older than the one that comes with ENIGMA...It's 3.4.5 instead of 4.5.1.
It's really old.
270
General ENIGMA / Re: TGMG - A word...
« on: October 24, 2010, 08:30:47 pm »Can't you guys just run some kind of automated script to replace tabs with spaces? Perhaps some SVN plugin?expand -t 2 file