Jump to content


jrgames+

Member Since 24 Dec 2004
Offline Last Active Feb 27 2011 02:07 AM

Posts I've Made

In Topic: 8-Bit hero!

27 February 2011 - 02:05 AM

I played through all the levels and the game was very fun.

A couple little things that I didn't like so much where the fact that you can wall jump while still standing on the ground and when you move in a direction you are instantly going full speed.

Awesome start, hope you make some more levels soon so I can play through em!

In Topic: Unknown variable

02 January 2011 - 09:32 PM

Try these changes I've made.

Create Event:
global.black_turn = true
global.white_turn = false

if (global.black_turn) global.white_turn = false;
if (!global.black_turn) global.white_turn = true;
if (global.white_turn) global.black_turn = false;
if (!global.white_turn) global.black_turn = true;

For the zones (Assuming this is not a create event):
if (global.black_turn)
{
instance_create (0,0,black)
global.black_turn = false
global.white_turn = true
}
if (global.white_turn)
{
instance_create (0,0,white)
global.black_turn = true
global.white_turn = false
}


If you put "global." before a variable it becomes global, meaning it is accessible from any object. Also I changed the 1's and 0's to true and false, I assumed you where using them that way. Other than that I just changed some of the syntax you where using, if you have any questions on that just let me know. :)

Also if your going to compare something you need to use two equals signs, for example:

if(variable == 32)doStuff();


Edit:
As ClassyGoat says, you could use a single variable like so:

Create Event:
global.black_turn = true

For the zones (Assuming this is not a create event):
if (global.black_turn)
{
instance_create (0,0,black)
global.black_turn = false
}
if (!global.black_turn)
{
instance_create (0,0,white)
global.black_turn = true
}

In Topic: Restarting rooms without moving window?

22 August 2010 - 06:25 PM

Well, before the room is reset, use:

global.WINDOW_X=window_get_x();
global.WINDOW_Y=window_get_y();
and after that, use:
window_set_position(global.WINDOW_X,global.WINDOW_Y);


Oh yeah, that was stupid of me lol.
Thanks. :)

In Topic: Street Fighter (fan Game)

03 February 2009 - 07:28 PM

Very nice engine, keep workin on it. :D
You might want to consider getting an artist and making it original. :D

In Topic: .hack//the World (new Artist! 2009/06/23)

31 January 2009 - 01:52 PM

I waannnnttt a client update >=(   :GM123:
keep going with this, give people something to play for.