Jump to content


CGPM

Member Since 06 Jun 2012
Offline Last Active May 03 2013 01:24 AM

Topics I've Started

Using smoothstep()

19 July 2012 - 12:39 AM

There's a function called smoothstep() that I don't know how to use. I have an object that I want to move from one place to another. How do I do that with that function (and with a maximum speed of 15)?

What's your indent style?

10 July 2012 - 01:38 AM

What's the indent style (<<click here before voting) that you use, not just in GML but in other languages too?
Here's the poll.
Here's the results.

I usually use the Allman style, but sometimes the CCR style. Also for short things:

if activated {move=true} else {move=false}

Machinegun not firing

08 July 2012 - 10:47 PM

In this game, I'm making a boss which flies around randomly and shoots a machinegun and a rocket launcher. I've implemented the machinegun, but when I run it, nothing happens. Any suggestions? Here's the code:
Spoiler

Pausing bug

03 July 2012 - 08:26 PM

In my game Hole Jumper, there's a level (only one) that uses views because the level is bigger than the default 640 by 480 display. When I pause, I take a screenshot, set it as the background, deactivate everything, and draw a fullscreen sprite, which works fine. But on that level, I draw the sprite at (view_xview[0],view_yview[0]). However, this makes the room in the back (visible through the semi-transparent sprite) look all messed up. Here's a screenshot from before pausing, and a screenshot from after. Anyone know how I can fix this?

How did you discover Game Maker?

29 June 2012 - 01:57 PM

How did you discover Game Maker?
Here's the poll.
View the results.
Post other answers here.

EDIT: Oops, forgot to post what mine was. I went to an after-school class once and got to bring :GM7: Lite home on a CD.

EDIT 2: Poll.cm is going out, so I had to move the poll to a different website. However, I don't exactly remember the options, so it might be a little different. Plus, the results from before were lost. :ermm: