From 2916bfd0b41b83c3b7bc45d17174bda5a6edac08 Mon Sep 17 00:00:00 2001 From: gandalf3 Date: Fri, 25 Dec 2015 00:15:18 -0800 Subject: [PATCH] convert script to module --- lonely_photon.blend | Bin 2558828 -> 2564036 bytes reset_player | 12 ------------ reset_player.py | 14 ++++++++++++++ 3 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 reset_player create mode 100644 reset_player.py diff --git a/lonely_photon.blend b/lonely_photon.blend index ca8dc37f0910fc6c613fdcd310f9e961f92f6fca..b2b23f4a0b99332b50098a19f8745e9206e01257 100644 GIT binary patch delta 70931 zcmb__3z!{MmF_uxx=)`xNV?PSM>?IPlXTLZPQTLWJP6?>jUo??8bu`_fsTZLfEW={ z8D+F*E-KNHLN6*l1{y>RubiL~g3i6R1M;{cpa_l5Tx=c2aYlw45$U`By=t9Wwa>0| zPOJG?tW~?JcJ00Xf33Z1SDosYZn!D=PY>RdyuQ0)*N!W9?D9YG{mPB|cg^z3p59sK zCCtAh{eNE|jg3u{A~iMjlhxIAlMM|`lM5HNl`O5T3(YyTwe^z_oZsBs5)lstEiJ7% zu@A7frBPAcOpVPKT(G{r!E~glsX21tpkB{a7%7v+p*Of_Lqp??M9z0>FYLJ-fR@$Q zHyY8sYH3+WUMeij%?l@+np%zE*o6xh1?z1Ds>mL)&irr6KO#E;8<$2@j;cd>w;7S}GiXmY&4p z-$rhZ3b@eP+GZLHym9e74-~>5C&O(L|G@vx;Xqqk`y`~Psm0_0-G~VO*x_uYgQSS( zC=cTCXYX<7idO@VdekarBrXg$xiNQTJq|52q7*LVV~@};fWOTF;X#xGZGl zI`EhM#W^7Pfi;f_oL$MIo(i*ivK!3BOYdEnUcsGWJOI~FcPK^hM=yo3S_2Znw-k+z zfd{rUc>yUT3dF4-6|e`{VB>=G=2z#Wy1Is9xz2d37!L$@t$A>2oAgjIELZ?9!CNfowcAUJO#avS!&89WlO9I3;K}nhxKB4k z+xomP3r4Yy;{nwh;t#iKoNOKx=0rXRq=&jrv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5>+n%NZv1(<-c*fpTO!PGP_5xpy{Ft>pRmY~qr&6H@GK zqy^_R@eIpBo+?>8QsL+f7k%ZspL!duE~<@I_JZ_zDBU*?J>E1A<1Xu|CR#CBX`7Eo zwl|%S?CnMw(S`KveB>ym2-p^2ZyH4~osch{&#-9$_R3pfHPMc~jI=I!q=Pup^Gsd1 z=?(|@_Tcc=Co;UWG0$|5k!k5(ra)=WBGXt#+1l;-q@2WOB2p)yB%gvs)EerSFGBXk zhzj3ERZ|y}`dmb%h*X{vi%pG7*MCV99)lQCb5WLSNt1>XM3oO0`_e`W5UJ8imNrQ^ zfmjKZeOc3pG0U1plr+O95PL?yijtKBj8GwkuJqMr7Qc!kk1j#W?8_A!(6{9jM)KT+ zG}W3D%bRrhuV}(!n&A?}%2KUafzmKOD7T0C7Qs9rh1Htg6|p{k!xV1f z>FS1`uu`PdyQXjL5P8`2isb4p4l&9Q4vqDSBK9cB9WMUv2{_^}Zk707hy#46e=&98 z)*ddd!xWIpCyV>cvRbKdmRQb%J5rn_?aUQ#iwa}vV)1XS;K;{b??|7&E)MmF31d*) zo_EAD){pLu`0(m`eUmiv6H^K!9o#O?_P5l0)=hq?KsA~>zGMf!J zY-7*X@06Z)QqS|En}_NQuN-OoB{4Ku@yjlHO+gpQuYP`BFT|0Qc9LtP*ESKdt3-b( zW2{$PJWQw-KbA7rdHM1d@r3g0K&m0(J26ALxWQ}1`l3`{D6cbnNh=-Rk#@P2iLGPl z-km@5sr7t#wa(T1R^eUQ*ZybFR^+vQ&95qtq+@ zFv^U@f~6G}A1tl0_+s(H(gsUgELJS-u=ryMz!Hch2uph`9k2vr>4>Ehmd;pgSh`^8 filrNt5a|!2y1$gmNy+_ISU>G9SwHPj{`3C@gMKg) diff --git a/reset_player b/reset_player deleted file mode 100644 index 85d846f..0000000 --- a/reset_player +++ /dev/null @@ -1,12 +0,0 @@ -from bge import logic - -cont = logic.getCurrentController() -own = cont.owner -message = cont.sensors["Message"] - -logic.getCurrentScene().objects["player"].worldPosition = own.worldPosition - -if 'init' not in own: - logic.getCurrentScene().objects["camera"].worldPosition.x = own.worldPosition.x - logic.getCurrentScene().objects["camera"].worldPosition.y = own.worldPosition.y - own['init'] = True diff --git a/reset_player.py b/reset_player.py new file mode 100644 index 0000000..730b81d --- /dev/null +++ b/reset_player.py @@ -0,0 +1,14 @@ +from bge import logic + +#cont = logic.getCurrentController() +#message = cont.sensors["Message"] + + +def main(cont): + own = cont.owner + logic.getCurrentScene().objects["player"].worldPosition = own.worldPosition + + if 'init' not in own: + logic.getCurrentScene().objects["camera"].worldPosition.x = own.worldPosition.x + logic.getCurrentScene().objects["camera"].worldPosition.y = own.worldPosition.y + own['init'] = True