Jump to content


synkarius

Member Since 19 Jul 2009
Offline Last Active Jan 31 2013 06:19 PM

Topics I've Started

Surfaces Timing Question

10 April 2010 - 07:04 AM

Hi all. I've got a question about event timing and drawing to surfaces.

I've got a controller object that makes a surface in its Create Event. The surface is the size of the room. Every Begin Step, it clears the surface.
During the Step Event, every object in the game that casts a shadow draws its shadow onto the controller object's surface. During the Draw Event, another object draws the controller object's surface at the correct depth. (I'm using a controller and a separate shadow controller so that the shadows draw at the correct depth.)

Here's my problem: there's a single frame of lag between the movement of the ship object and the movement of the ship object's shadow. Why is that happening?

EDIT: The ship object moves before it casts its shadow. Already thought of that.

Pixel Perfect Fullscreen

31 March 2010 - 04:34 PM

First, let me say, I've already read 9_6's thread, tried his script, and gotten it to work.
http://gmc.yoyogames...pic=411965&st=0

I'm not sure if my problem is technical, common sense, or what. I've also tried this by just using views, and gotten the same result: slight distortion in fullscreen.

How do I use fullscreen without distortion? My game's room size is the default one, 640x480. The only way I seem to be able to make it pixel perfect is by doubling the size in the w/hport, which is too big.

What I need it to do is detect my screen size, then adjust the room size accordingly while preserving the 3/2 ratio and not causing distortion.
I know about display_get_, but have no clue how to use it...

Help! ^_^

How Do I Achieve This Effect?

20 December 2009 - 04:04 PM

Glow Effect

That is what I want. It needn't be circular, but it needs to be lightweight if it uses code. Basically, I want to make something glow like a lightsabre.

Standard Mouse Sensitivity

21 November 2009 - 09:23 AM

I'm making a schmup in which the player's ship follows the mouse, like in Raptor or Tyrian.

I have an odd problem. Mouse sensitivity isn't standard across different computers. I like mine wayyyyy up. Some people have theirs turned down. This affects the speed of the player's ship. I can't find anything in the manual about this.

Is there any way to standardize mouse sensitivity?
I can't think of anything at all.

Is There Any Harm In Not Using Globals?

24 October 2009 - 03:04 PM

I've read that globals take up more memory and so far, I've gotten by without them by putting everything I wanted to use them for in a controller object and then referring everything else back to the controller object. Is this a bad idea?