Jump to content


mrokke96

Member Since 21 Dec 2011
Offline Last Active Apr 14 2013 06:41 PM

Topics I've Started

convert one big square into several smaller

28 September 2012 - 09:59 AM

Okay, so I want a big square(32*32), create several other smaller squares(4*4) to then make them fill the entire big square. And when that's done the big square destroys itself, leaving 64 small squares sized as a 32*32 square(I know, many squares in a few sentences... :P )
Hope you understood my problem!!
Thanks!

edit, i added a pic to show:
one big object.......many small object
(obj_sqr1).............(obj_sqr2)
Posted Image

platform help

27 September 2012 - 09:36 AM

Hi, i never made a platformer before, and i have problems with the players gravity. I want to make the player stop when he falls down on the ground. Here's the code i made(which failed)
// IN CREATE EVENT:
grav = 1;
// IN STEP EVENT:
if collision_point(x,y+1 /* i tried different numbers here, but it either didnt touch the ground, or it stopped when it had past it..*/,obj_wall,0,1)
{
    grav = 0;
}

if grav = 1
{
    vspeed += 0.5;
    if vspeed >= 10
    {
        vspeed = 10;
    }
}
else
vspeed = 0;

particle system help

12 August 2012 - 05:53 PM

Hi, i want to make like a little effect when a ball hits a platform with particle systems, but i dont get it how and when to use it, i read the manual, but still dont get it :confused:
can someone please help me!! thanks
PS: please write where i should put the code(like step event, create event or collision event etc.)

can't start GM 8.1

12 August 2012 - 09:01 AM

Hi, when i try to start Game Maker 8.1 it wont start, it was yesterday, when i tried, after using game maker the same day(same afternoon) it refused to start. The game maker Updater is started, but nothing else happens, even if i wait for an hour or so the Updater is still active and no game maker is popping up :confused:
Please help!!

Make the game create blocks

11 August 2012 - 05:33 PM

Hi, i want the game to create boxes(objects, 32*32, origin at 0,0) just outside of the room, so you cant see them, when im moving to a new room. i know you can use like a variable(im thinking of i)
like
for(i=0;i+=32;blahblah)
but i never understood that, and what more i need to do(with instance_create() etc.)
so if anyone can help me with that(both the code and explanation)
Thanks!!
Like this:(X = boxes)
. XXXXXXXXXXXX
X|...................|X
X|...................|X
X|....INSIDE.....|X
X|....ROOM.....|X
X|...................|X
X|...................|X
X|___________|X
.XXXXXXXXXXXXX