Jump to content


jakman4242

Member Since 22 Nov 2005
Offline Last Active Jun 07 2010 03:55 AM

Topics I've Started

Game Maker's Weird Font Spacing

31 May 2010 - 01:50 AM

Posted Image

So, we all know GM has weird font spacing with non-fixed width fonts. Any solutions?

Controlling Speeds In Loops

09 April 2010 - 06:35 AM

Say I want to play an animation, or do a fade out in an infinite loop.(to do something like a menu or a textbox)

If I just did that, the animation would play blindingly fast, or the fade out/in would be unnoticeably instant. The obvious reason is that there are on framerate constrains inside of infinite loops.

The speed the game will play will vary computer to computer inside these loops, so I'm wondering how to make, say, 'alpha' increase at the same speed at 200 fps as it would 400, 500, or 365 fps.

IE: I'm asking how to do delta timing in an infinite loop. Keep in mind the fps variable is not reliable in this case, because it is not updated in a loop.

Just A Word Of Caution

05 April 2010 - 09:04 PM

I had a problem which was plaguing me all day. Having used languages like C++ and C# for so long, I got used to the form of variable termination. This is not the case in Game Maker-- A variable used in a function will be carried on unless you declare it as var.

So I'd just like to share a bit of advice for using for loops and such in scripts. This was directly taken from a discussion over at TIGSourceabout this problem:

It seems that when you declare variables in for loop functions in GM, the variable isn't destroyed after use. So when you do:
for(i = 0; i != 10; i += 1) {}

That i will be leftover afterwards. The problem was my script was taking the leftover i variables from my functions to get data from the Item library, causing an infinite loop.

So a lesson to everyone who uses GM, it's:
var i;
for(i = 0; i != 10; i += 1) {}

Pocket Protector!

03 April 2010 - 03:35 AM

Not really. This isn't so special!
I've already posted about it on TIGSource, and on my blog.

I'm bringing it here, because, well, it's made in Game Maker and I want more feedback.

Here’s a little game I just kind of… Made. Mostly in my free time between frustrations on my current project.

Anywho, I haven’t released a game in a while. I’m always developing game, but never exactly releasing them. I typically get too caught up in making something awesome and usually quit some part through. I’m just putting this out for the hell of it~

I want to slowly develop it onto a kind of cluster<bad language> of gameplay, as I progress my current project. I don’t plan on being too serious about this. The graphics are tiny and sub-par, the code is hilariously messy, and there isn’t any sound.

With that said, I want your feedback anyway! Please try the game and tell me what you think. I want feedback to get some ideas where to go.

Controls:

F4-Fullscreen(recommended)
Z – Attack
X – Flamethrower(lolwut??)
Arrow Keys – Move character

Link / Screenshot follow -

Download PocketProtector.exe
Posted Image

Fighters: Hit And Miss

21 December 2009 - 06:11 AM

I'm here collecting some data to go towards developing a fighter.
I'm wondering what you all like and dislike about fighting games. You may be as general or specific as you'd like.

You can find a form to fill out what you think here at my blog:
http://jackedtech.bl.../12/survey.html

Thanks for your time!