yeah, i was the one who rewuested them ;) i guess i'll just be patience
Printable View
yeah, i was the one who rewuested them ;) i guess i'll just be patience
How can i do a leveling collision what i mean by that is this Ex: like when i touch the floor the gravity changes.!?
if you know how to set up gravity and stuff,Zitat:
Zitat von ZereoX
i think to make that place to change it
you'll have to do something like
the 1st x0 and y0 is the object positions. the 2nd x0 and y0 is the ending of that object.Code:if true then
if x0 >= 100 and x0 <= 200 and y0 >= 90 and y0 <= 100 then
(change gravity)
end
end
but hey, i dont know if this is what you need :dry:
i personally believe that the people who made lua in there next update should add a hittest and rotation command into lua i mean i know it wouldn't be easy(or at least i don't think it would) but it would end so many problems that people are asking
...your joking right? I could easily add collision to the LuaPlayer... Its jsut i have a C collision detection function/prototype setup... So id have to convert to C++... So if anyone couyld do that theres collision for you... or i could just convert my Collision detection into a brand new 'lib' for LUA, kind of like netlib, but full of math commands if you will... Likely to be added next would be rotation via angles, but not radians, which i may just add a few lines to convert that way...
If anyone would like to help with such a thing, just PM, and i may think about doing such a thing. Itll be like netlib...but instead of WLAN functionality, itll be math and such...
i said it would end many people probs and no i'm not jokeing trying to get collision to work properly isn't that easy to the noobies so thus a hittest command would make it really easy for them and i would enjoy a rotation feature(sorry if mispelled)
Is there any word or notepad like program that can do something like this?
See i have a long function.. but i have about 10 different ways to do that function.. and i need to edit about 50 variables like "[1]" to "[2]"... Is there any program that will let me copy and paste and change all the text i choose into something else? Cuz just editing functions from [1] to [2] gets boring fast.
Can someone help me with this a few pages back? :icon_sad:Zitat:
Zitat von PSPduh
you could just put:Zitat:
Zitat von PSPduh
that should work.Code:x = duh2
yes, what ever you declared as increasing by 1 second, just have the second variable you want to also = w/e the other cariable ='d or just have it = the other cariab le tat already has the time thing... confusing a little....
anyway, im planning on making a simple lib... but only having collision may not be called a lib... os any more ideas would be great.... as for rotation... im not sure if the PSP's GUM libs have been converted, if not, then it shall be simple trig for rotation... which may be a slow processing time... so.... Oh and maybe an animation prototype as wel, aka function.... Unless youresam is alreay doing so?