Show Posts

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.


Messages - RetroX

1021
General ENIGMA / Re: Poll: Regarding community/forums
« on: July 09, 2008, 09:45:38 AM »
Yeah, Option 3 is the best.  I think that being based off something you coded as opposed to something someone else coded is way better, because you know where stuff is, and you can tweak it to your desire.

Option 3.

1022
Issues Help Desk / Re: gcc, permission denied
« on: June 28, 2008, 11:19:52 AM »
Quote
[location of ld.exe*]cannot open output file game.exe: permission dinied

I never knew compilers had such bad spelling.  Must be the compilee.

1023
General ENIGMA / Array Sizes?
« on: June 21, 2008, 08:37:23 PM »
This is just a simple suggestion: will ENIGMA have a function for determining array sizes (similar to the PHP sizeof() function)?  Just curious, because GM's been bugging me with that for some time.

1024
General ENIGMA / Re: ENIGMA cross-platform
« on: June 21, 2008, 08:34:34 PM »
If it was in 2003, then I wouldn't have seen it as POT in 2007.  It must have been an old version of GL.

1025
General ENIGMA / Re: ENIGMA cross-platform
« on: June 20, 2008, 05:33:24 PM »
Really?  Last I heard it was.  Of course, that was over a year ago.

1026
General ENIGMA / Re: GMPhysics in ENIGMA?
« on: June 18, 2008, 08:33:18 PM »


Now I can finally get it to work, since it doesn't in GM7.

1027
General ENIGMA / GMPhysics in ENIGMA?
« on: June 17, 2008, 07:30:34 PM »
Once the DLL functions are added, will we be able to use GMPhysics like GM?  I've been wondering, since the DLL does the work, and it simply changes the x, y, and image_angle.

1028
General ENIGMA / Re: ENIGMA cross-platform
« on: June 17, 2008, 07:27:52 PM »
One simple advantage to d3d is that it doesn't require textures to be a power of two (1,2,8,16,32,64,128,256,512,1024...), though GM may be resizing it.  But GL can be way faster at some times.

1029
Tips, Tutorials, Examples / Re: A Few Alternate Functions
« on: June 17, 2008, 07:22:55 PM »
=P

Well, I guess that's a good thing.
But you might want to add in a "expand/collapse all" button.  Though I could just click "show hidden elements" in Web Developer, it might be useful to others.

But at least we have the draw_arrow function I made.

1030
Tips, Tutorials, Examples / A Few Alternate Functions
« on: June 11, 2008, 04:37:05 PM »
Here are a few functions I made in GML to be used as alternates to not-done-yet functions.  Most are pretty simple, but hey.
frac(x)
argument0=string(argument0);
for (i=string_length(argument0);i>0;i+=1;)
 {
 if string_char_at(i+1)!='.' then
  {
  array[i]=string_char_at(i);
  }
 else
  {
  array[i]='0';
  }
 }
string='';
for (i=0;i<string_length(argument0);i+=1;)
 {
 string+=array[i];
 }

return real(string);

draw_point(x,y)
draw_line(argument0,argument1,argument0,argument1);

draw_triangle(x1,y1,x2,y2,x3,y3,outline)
if argument6=true then pr_type=pr_linestrip else pr_type=pr_trianglelist;
draw_primitive_begin(pr_type);
draw_vertex(argument0,argument1);
draw_vertex(argument2,argument3);
draw_vertex(argument4,argument5);
if pr_type=pr_linestrip then draw_vertex(argument0,argument1);
draw_primitive_end();

draw_arrow(x1,y1,x2,y2,size);
draw_line(argument0,argument1,argument2,argument3);
draw_primitive_begin(pr_trianglelist);
draw_vertex(argument2,argument3);
x2=argument2+cos(degtorad(point_direction(argument2,argument3,argument0,argument1)+45))*argument4;
y2=argument2-sin(degtorad(point_direction(argument2,argument3,argument0,argument1)+45))*argument4;
draw_vertex(x2,y2);
x3=argument2+cos(degtorad(point_direction(argument2,argument3,argument0,argument1)+45))*argument4;
y3=argument2-sin(degtorad(point_direction(argument2,argument3,argument0,argument1)+45))*argument4;
draw_vertex(x3,y3);
draw_vertex(argument2,argument3);
draw_primitive_end();

draw_point_color(x,y,col1)
col=draw_get_color();
draw_set_color(argument2);
draw_line(argument0,argument1,argument0,argument1);
draw_set_color(col);

draw_triangle_color(x1,y1,x2,y2,x3,y3,col1,col2,col3,outline)
if argument9=true then pr_type=pr_linestrip else pr_type=pr_trianglelist;
draw_primitive_begin(pr_type);
draw_vertex_color(argument0,argument1,argument6);
draw_vertex_color(argument2,argument3,argument7);
draw_vertex_color(argument4,argument5,argument8);
if pr_type=pr_linestrip then draw_vertex(argument0,argument1);
draw_primitive_end();


1031
Teamwork / Re: Dev Team
« on: May 26, 2008, 11:27:29 AM »
I'm pretty good with GML, know absolutely no C++ whatsoever, but am good with sprites and ideas.

1032
General ENIGMA / collision_primitives
« on: May 26, 2008, 07:11:06 AM »
While ludamad is making the collisions, would it be possible to add in things like:
collision_primitive_begin()
collision_vertex()
collision_primitive_end()

1033
Off-Topic / Re: Postponement
« on: May 24, 2008, 07:21:46 AM »
Oh, I see.

1034
Proposals / Separate Forums = Bad
« on: May 23, 2008, 01:02:58 PM »
Why are their three "Help" forums for ENIGMA?  I know the GMC does it, but this really can annoy some people and create arguments over "im not noob so y r i in teh noob forum!!!11!!1!"  Really, this will only create a status marking, which is bad.

1035
Off-Topic / Re: Postponement
« on: May 23, 2008, 12:52:23 PM »
Really?  I do not see.