Page 1 of 2

Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Mon Feb 23, 2009 7:48 pm
by Camper1995
Hi ppl, I am making new big game: Bean Life..its about, you are a bean, and you live your life..
So, you also buy your own house, but you can buy also next 2 floors...
But something is wrong.. it doesnt work...
if (INFO_Money.textNumber > 250)
{
EventEnable.... (second floor) // so you can buy the second floor...
}

But it doesnt work...
Can any good programer fix me this bug please? Really, I need it.. plz plz plz.. :( :( :(

Bean Life - PLZ try to fix this.zip
(1.6 MiB) Downloaded 104 times


Here is all explained.. :(
heelp ok.jpg


Please can anyone help me??? :-}

Thx,
CampeR

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Mon Feb 23, 2009 8:57 pm
by Camper1995
:( :( :(

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Mon Feb 23, 2009 8:59 pm
by 4erv'
Well, it's all working for me, but when you buy the first floor, and you have only 80$, you still can buy a second floor, and money gets to -169 :)
By the way, i like game idea, looks fun :D

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Mon Feb 23, 2009 9:05 pm
by Camper1995
What? On my PC, this doesnt work.. :D:D:D


F*CK!

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Mon Feb 23, 2009 9:06 pm
by Camper1995
By the way,.. thanks :D

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Tue Feb 24, 2009 11:33 am
by Camper1995
Um and, does anybody know, how to do: When you have respect: 2
---> Unlock actor..so you can enter to the building ??

I think is so:
Code: Select all
If(INFO_Respect.textNumber > 2)
{
   Event Enable...
}

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Tue Feb 24, 2009 7:28 pm
by 4erv'
MouseButtonDown on door? :lol:

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Tue Feb 24, 2009 7:42 pm
by 4erv'
Or make a variable, called CanEnter, and the put this code on MouseButtonDown on door:
Code: Select all
If (CanEnter = 1) {
     //character entering the building
}

what do you think? :lol:

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Tue Feb 24, 2009 7:43 pm
by 4erv'
Oh, that is the same :oops:

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Wed Feb 25, 2009 7:02 pm
by Camper1995
Yea but, some thing is wrong.. so, like this: You have respect, and you start with respect 0.
When you work, you earn respect +1..
so, when you have respect 9, you can enter to the hotel..but, it doesnt work.. Why?
Is make this: On respect.textNumb. > Draw actor... if(respect.textNumber == 9)
{
Event Enable.. Dooor
}

Is this ok?

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Wed Feb 25, 2009 7:27 pm
by 4erv'
well.. i'm not very good at coding, but i think (thinking is not the best part of me too) it's good, only:
except if(respect.textNumber == 9), you'd better use if(respect.textNumber >= 9).. me think so :mrgreen:

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Wed Feb 25, 2009 9:14 pm
by Camper1995
I'll try this... :D Thx :D

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Thu Feb 26, 2009 5:25 pm
by 4erv'
That's not somethisg really special, just if you have "==", you'd be able to enter the hotel ONLY if your rescept will be 9, but not higher.
And if you have ">=", you'd can enter when your respect points will be 9 and higher :D

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Thu Feb 26, 2009 8:14 pm
by 4erv'
This is what you want to do? :)
Example.zip
...
(37.53 KiB) Downloaded 87 times

Re: Bean Life - Can anyone fix me this pleeeeease?

PostPosted: Thu Apr 02, 2009 7:20 pm
by Camper1995
Yeah, thnx, but I think, that Game Editor have a bug. Onetimes this code work, onetimes dont work.
So its problem in GE, not error in this script.
:)