Jump to content


JJProductions

Member Since 23 Jan 2005
Offline Last Active Jan 12 2011 04:44 AM

Topics I've Started

Get A Real Color

10 November 2009 - 06:02 AM

How to I determine the real color of a certain color on the screen?

Perhaps you know of a DLL that has a get_color function for grabbing colors outside the GM Window?

Instant Bullet

02 June 2008 - 03:16 AM

Having an error when trying to make a bullet that is instant.

I HATE bullets that have a speed variable... with a passion. Unless your bullet moves at 600-1200 feet a second, don't bother making it.

Anyways, here is the code I'm using:

for(i=0;i<640;i+=1)
{
	xx = x+lengthdir_x(i,direction)
	yy = y+lengthdir_y(i,direction)
	
	if !place_free(xx,yy)
	{
		effect_create_above(ef_explosion,xx,yy,0.5,c_red)
		instance_destroy()
	}
}

Yes, it is facing the right way. I checked.

For some reason, though, it never hits an object.

I just threw the explosion code in there to see if it did indeed hit anything or not... and it didn't :-(

Help is appreciated.

Thanks.

Gm Error In Vista

30 May 2008 - 11:40 PM

The help desk didn't know what to do. I don't blame them because I don't either.

Every time I start GM in Vista, I get this error: Posted Image

Everything runs fine except for that error every time I start GM...

Anyone else get this error or know how to get rid of it?

Segments

16 June 2007 - 01:57 PM

Okay. Im assuming that everyone here has played Mario at one point or another. Or maybe DeathWorm. Im trying to achieve the segment effect. As seen in Mario World, and in DeathWorm. Where you have one unit that does all the moving, ie: the head, and then you have multiple segments that follow the head, but flow with it instead of moving in a straight line. Ie: when the head turns, the segments gradually turn instead of turning all at once. That would be a line. Im trying for smooth-flowing segments. Thanks.

Rotating A Sphere

21 December 2006 - 07:48 PM

I'm kind of lost as to how to roatate a sphere in 3d. I tried setting the transform origin as the x and y of the middle of the sphere, then adding a transform to the z axis and it does rotate, just the center slowly grows off and so the ball will end up rotating through floors and mid-air.