Jump to content


jf11

Member Since 18 Dec 2011
Offline Last Active Apr 14 2013 03:52 PM

Topics I've Started

Using second mouse as joystick

14 October 2012 - 02:05 PM

I want to use two cursors in my split screen game.
It is possible to use multiple mice and cursors in windows, but game maker won't recognize which is which.
so what I am asking is,
could second mouse be used to simulate joystick, so I could use game maker joystick functions to cursor object?

Can't save to subfolder

18 March 2012 - 05:19 PM

I have a problem with saving to subfolder.
My code creates the folder, but fails to save the file.

if !directory_exists(working_directory+"\
saves") { directory_create(working_directory+"\saves"
); }

game_save(working_directory+"\saves\
"+"slot1.sav");


I get this error when i try to save

Failed to save game to file C:\Users\Acer\Documents\GameMaker\Projects\saves\
slot1.sav


Not even working with exe.
exe only creates the folder.

I need to save to subfolder, because my game haves also map editor.
Subfolder makes main folder look better.

How to check object executor

02 February 2012 - 01:44 PM

How do i check object executor?
for example, i have player 1 , player 2 and bomb.
so how do i check which player created the bomb?

or do i have to use my own variables to check executor?

if mouse left pressed inside colored part of spr

18 December 2011 - 03:53 PM

i'm making game where every obj are hexagon shaped, i have problem with drag and drop function, mouse left pressed,
it works, but it calculates the transparent areas to sprite, i want it only to work when mouse is over colored area.

example image 1 green= transparent red= hexagon black edge= sprite size

image1

image 2 = what i want

imag2