Jump to content


Ventwig

Member Since 15 Jan 2011
Offline Last Active Oct 12 2012 10:13 PM

Posts I've Made

In Topic: Pausing code without stopping the whole game

11 October 2012 - 02:22 AM

Oh, i think i worded it wrong.
I mean after pausing for like two seconds, i want the code
to restart from where it was.
like a pause and play function, just to add a gap.
Editing op now.
If this isnt possible, i can use variables etc, but i was just hoping it was to make my life easier :D

In Topic: Directional Shooting

15 May 2012 - 01:32 AM

In step event
if keyboard_check_pressed(ord('X')) == true
{
bullet = instance_create(x,y,obj_bullet)
with(bullet) {move_towards_point(mouse_x,mouse_y,<speed>)}
}

Stuff might be off a bit, havent used GM for a bit

In Topic: new to GM and GML, HELP!

04 May 2012 - 07:50 PM

The "test expression" D&D works   :GM060:
just dont write if

Uhhh, try

target = instance_nearest(x,y,evil)
if distance_to_object(target) < 100

To put this in D&D
:GM072: target =  instance_nearest(x,y,evil)
:GM060: distance_to_object(target) < 100

In Topic: new to GM and GML, HELP!

03 May 2012 - 10:52 PM

I'm not sure how to solve your collision problems (i hate them), im only really a logic helper.

Anyways, if you want, just ask what part of what you dont understand and ill explain.

In Topic: how to add the clock/time played to an ini file?

01 May 2012 - 10:30 PM

Just wondering, why do you need to add the clock times when you could just replace the old one with the new?