|
Re: Using temp
[Re: Krunk]
#232797
10/24/08 00:14
10/24/08 00:14
|
Joined: Jan 2005
Posts: 605 Deutschland, NRW
garv3
User
|
User
Joined: Jan 2005
Posts: 605
Deutschland, NRW
|
Well, I don't get this either But you may just declare it at the very beginning of your code (before your main function). Then it is a superglobal variable. But bear in mind that a superglobal variable may be changed by another function during a wait() of the function you use it in. That's just how I would use it....
GameStudio Version: A7 Pro v7.86
|
|
|
Re: Using temp
[Re: Krunk]
#232839
10/24/08 13:45
10/24/08 13:45
|
Joined: Jan 2005
Posts: 605 Deutschland, NRW
garv3
User
|
User
Joined: Jan 2005
Posts: 605
Deutschland, NRW
|
am still struggling with gravity and jumping That`s one of my most hated topics too!
GameStudio Version: A7 Pro v7.86
|
|
|
Re: Using temp
[Re: garv3]
#232956
10/25/08 13:35
10/25/08 13:35
|
Joined: Oct 2008
Posts: 23
ApenasEu
Newbie
|
Newbie
Joined: Oct 2008
Posts: 23
|
Been thinking of that myself as of late, i figured i could use an incremental value for jumping using the cos(x) function, so i would get a big increase and gradually decrease as gravity suposedly kicks in, but i am kinda uncertain if this is the right direction, what you guys have come up with? Im still on the very basis of coming up with code so im still just thinking in REALLY broad terms... but just felt like butting in on the conversation about something i was just thinking about aswell.
P.S: Im just crappy when it come to math, hence why im just trying to figure out the basis of jumping and what to use
Last edited by ApenasEu; 10/25/08 13:50.
|
|
|
|