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

976
Tips, Tutorials, Examples / Re: move_contact_solid();
« on: September 05, 2008, 06:10:51 PM »
return doesn't end the script.  exit does.  And I'm sorry I wasted less than 10 bytes of your space and less than 1 nonosecond of your time. >_>

977
Off-Topic / Re: WOO! USA BEATS THE FRENCH!
« on: August 11, 2008, 07:38:15 AM »
Your government, healthcare and education are lightyears behind
Don't rub it in.  And when Bush gets kicked out of office, the government will "magically" get better.

978
Tips, Tutorials, Examples / move_contact_solid();
« on: August 10, 2008, 09:56:37 PM »
Here's a temporary solution:
Code: [Select]
var i, error, x2, y2;
i=0;
error=false;
x2=x;
y2=y;
while(place_free(x2+cos(degtorad(argument0)),y2-sin(degtorad(argument0))))
 {
 if i<=argument1
  {
  x2+=cos(degtorad(argument0));
  y2-=sin(degtorad(argument0));
  i+=1;
  }
 else
  {
  return false;
  error=true;
  break;
  }
 }
if error=false
 {
 x=x2;
 y=y2;
 }

979
Tips, Tutorials, Examples / Re: C++ code for numlock
« on: August 10, 2008, 02:09:08 PM »
What exactly does it do...?  Me no speak spanish.  Translate comments, please.  I'm pretty sure it turns on/off the numlock, but I can't be sure.  Please do not thrust code into our hands and expect us to know what it does.

980
Announcements / Re: Enigma R3 Released
« on: August 09, 2008, 05:15:46 PM »
Heh, figured it out.  Apparently, defining variables isn't good enough.  You have to use the var statement.

Also, you can only assign file types to open in EXEs, not JARs.

It compiled!  But I keep getting this:
Code: [Select]
Error in No particular event for object -3:
Trying to retrieve width of unexisting sprite 15
Hmm, methinks sprite-less objects are buggy.
Also, parents don't work either.  I'm unhappy, having to put "solid=1" in my 10 objects now.

EDIT: It runs, although ENIGMA doesn't like my gradient sprites.  It seems to be rendering them in 16-bit, or something.
EDIT2: Make precise collisions so I can make slopes, plz.  It seems to be going bounding box-wise, and not very pretty.

981
Announcements / Re: Enigma R3 Released
« on: August 09, 2008, 04:55:44 PM »
Yeah, they're in the ENIGMAsystem folder.  Something isn't working. =(

EDIT: Also, get working on an EXE interface.  I hate having to open LGM as opposed to double-clicking a .gm6 file.

982
Announcements / Re: Enigma R3 Released
« on: August 09, 2008, 04:48:15 PM »
LOL, thanks. XD  I actually like that jumping better.

But anyways, could someone who can compile games upload the entire thing with the CORE included, just to make sure it's not me putting it in the wrong place?

983
Announcements / Re: Enigma R3 Released
« on: August 09, 2008, 04:24:14 PM »
No alarms whatsoever.  Although I am using parent objects, it that's a problem.  Source GM6:
http://willhostforfood.com/access.php?fileid=30037

If someone would be willing to compile it, please tell me if it works.  I know the slopes don't work because I haven't implemented them, but...

984
Announcements / Re: Enigma R3 Released
« on: August 09, 2008, 04:09:00 PM »
Registering isn't that hard.

985
Announcements / Re: Enigma R3 Released
« on: August 09, 2008, 04:01:02 PM »
If you can't say anything nice, then GTFO.

Code: [Select]
Sending Enigma resource names
Sending Enigma resource data
Executing Enigma...
Loaded fnames successfully.
Read 122 constants
Read 33 globals
Reading 1066 bytes of locals...
Read 1066 bytes of locals
Read locals successfully.
Opened file.
File is valid.
Read icon data.
Exported icon.
Read script names.
Read object names.
Read room names.
Read sprite names.
Wrote resource names.
Exported object switch.

LOTSA CODE

Loaded and parsed all events.
Read room data.
Wrote event declarations.
Wrote event code.
Wrote inherited locals.
Wrote with and script code.
Wrote mode data.
Wrote room data.
Starting compile. This may take a minute.
The system cannot find the path specified.
Compile failed. [1]
G++ error. Compile failed (-6)

986
Issues Help Desk / Re: move_contact_solid()
« on: August 09, 2008, 03:55:58 PM »
No, it doesn't. =P

And I just figured it out... if anyone wants it:
Code: [Select]
i=0;
error=false;
x2=x;
y2=y;
while(place_free(x2+cos(degtorad(argument0)),y2-sin(degtorad(argument0))))
 {
 if i<argument1
  {
  x2+=cos(degtorad(argument0));
  y2-=sin(degtorad(argument0));
  i+=1;
  }
 else
  {
  return false;
  error=true;
  break;
  }
 }
if error=false
 {
 x=x2;
 y=y2;
 }

987
Issues Help Desk / move_contact_solid()
« on: August 09, 2008, 02:52:41 PM »
Could someone make an alternate for me?  I'm clueless on how to do it.  It'll probably be easy to do, but ENIGMA doesn't support it yet.

988
Tips, Tutorials, Examples / Re: motion_add();
« on: August 09, 2008, 02:51:01 PM »
No, motion_add adds a new motion to the existing one.  To put it this way, let's say we have a block moving at a speed of 2 and in direction 0 (right).  If we add a motion of 1 in direction 180 (left) then the block will continue moving in the same direction, only with a speed of 1.  If we add that same motion again, the block will come to a complete halt.

That is what motion_add() is for.

989
Announcements / Re: PatchA
« on: August 09, 2008, 02:39:41 PM »
Yay, patch.  *tests*

EDIT: move_contact_solid() doesn't work. =(  So I can't make a platformer in ENGIMA.  Anyone have an alternate?
Also, ENIGMA doesn't like the "then" very much.  Might need a bit of looking into.

990
Announcements / Re: Disorder
« on: August 09, 2008, 12:04:56 PM »
Yay, that sounds great.  Good job.