Jump to content


waluigiman

Member Since 14 Feb 2008
Offline Last Active Feb 10 2012 02:34 AM

Posts I've Made

In Topic: Cant jump while running in a platformer?

07 February 2012 - 04:44 PM

Um. Maybe I misread it, but didn't you check if !place_free(x,y+1) when jumping? So you are saying you can only jump when the player is falling and not on the ground.


It's okay, I solved the issue by moving the jump script above the movement script and it worked... for some reason...

In Topic: Platform Codes!

06 February 2012 - 12:04 PM

I need some help here, I used the codes, and like everyone else said, I can't move when my character is touching the floor... Can somebody help me with this? it's driving me insane...

In Topic: Help with a Platformer

06 February 2012 - 11:56 AM

I fixed the issue of the character not touching the floor, but he still won't move anywhere... I don't get it?

In Topic: whats wrong with this code?

29 January 2011 - 09:18 PM

if (controlleralarm.customalarm == 0) 
&& (Hunger.hunger != 0) 
&& (Happiness.happy != 0) 
&& (Cleanliness.clean != 0) 
&& (Rest.rest != 0) 
{
with (controller) {instance_destroy();}
}


Thanks, that solved this problem...
but what im trying to do still isnt working and the person who was helping me has gone offline...
suppose id better start a new topic? :/
thanks again :3

In Topic: Help with multiple health bars

29 January 2011 - 12:25 PM



Use global variables. They stay the same between rooms and saves.

For example:
global.hunger
global.rest
global.pets

Also, when you save your data, do you use the default GM save_game() function, or do you use something else like file_text_write() or ini_write_real()...


I use the default... should I not?

If you use the default that's fine, but if you use a custom save feature, you'll have to remember to save those variables manually.


Alright, I tried it, but it hasnt worked, my variables still re-set themselves when I change room :/

EDIT: nevermind, I forgot to check the persistant box :P
thanks for your help :)