GUI Marker for SD Unity-chan

GUI Marker for SD Unity-chan

RapidNack.com
Jun 20, 2018
  • 34.3 MB

    फाइल का आकार

  • Android 4.1+

    Android OS

GUI Marker for SD Unity-chan के बारे में

अजगर में 3D वस्तुओं लिखकर, आप सरल खेल बना सकते हैं।

Unity3D tutorial "Roll-a-ball" can be described in Python as follows.

Create walls

Camera.Reset()

Player.Reset()

Player.Rotate(0, 180, 0)

Objects.Clear()

Objects[100].Type = 'cube'

Objects[100].Position = (0.5, 0.5, 9.5)

Objects[100].Scale = (19, 1, 1)

Objects[100].RGBA = (240, 176, 176, 255)

Objects[101].Copy(Objects[100])

Objects[101].Position = (-0.5, 0.5, -9.5)

Objects[102].Copy(Objects[100])

Objects[102].Position = (-9.5, 0.5, 0.5)

Objects[102].Rotation = (0, 90, 0)

Objects[103].Copy(Objects[102])

Objects[103].Position = (9.5, 0.5, -0.5)

Tracking player

Camera.Target = Player

Add Item objects

n = 6

for i in range(n):

    t = i * (360 / n)

    rad = math.pi * (t / 180.0)

    x = math.cos(rad)

    z = math.sin(rad)

    #print t, x, z

    Objects[200 + i].Type = 'capsule'

    UpdateScore()

    Objects[200 + i].Color = 0x00ff00ff

    Objects[200 + i].Position = (x * 5, 1, z * 5)

    Objects[200 + i].Scale = (0.5, 0.5, 0.5)

    Objects[200 + i].IsTrigger = True

    Objects[200 + i].RaiseEvents = True

Delete Item when touching

def triggerEnter(sender, hit):

    print 'triggerEnter', sender, hit

    if hit != Player:

        return

    Particles[1].Type = 6

    Particles[1].Position = sender.Position

    sender.Type = None

    UpdateScore()

Label display

def UpdateScore():

    score = len([1 for x in Objects.All if x.Index / 100 == 2])

    if score == 0:

        Items[2].Text = 'YOU WIN'

    else:

        Items[2].Text = str(score)

Create dangerous walls

Objects[300].Type = 'cube'

Objects[300].Color = 0xff0000ff

Objects[300].Position = (4, 0.5, 2)

Objects[300].Scale = (10, 1, 1)

Objects[300].RaiseEvents = True

Objects[301].Copy(Objects[300])

Objects[301].Position = (4, 0.5, -3)

Objects[302].Copy(Objects[300])

Objects[302].Position = (-4, 0.5, 4)

Objects[302].Rotation = (0, 90, 0)

Collision determination

def collisionEnter(sender, hit):

    print 'collisionEnter', sender, hit

    if hit != Player:

        return

    Player.IsControlled = False

    Player.ChangeFace('eye_close')

    Player.CrossFade('GoDown')

अधिक दिखाएं

What's new in the latest 1.2.4

Last updated on 2018-06-21
Changed to save contents when exiting edit mode
अधिक दिखाएं

वीडियो और स्क्रीनशॉट

  • GUI Marker for SD Unity-chan पोस्टर
  • GUI Marker for SD Unity-chan स्क्रीनशॉट 1
  • GUI Marker for SD Unity-chan स्क्रीनशॉट 2
  • GUI Marker for SD Unity-chan स्क्रीनशॉट 3
  • GUI Marker for SD Unity-chan स्क्रीनशॉट 4

GUI Marker for SD Unity-chan के पुराने संस्करण

APKPure आइकन

APKPure ऐप के माध्यम से सुपर तेज़ और सुरक्षित डाउनलोडिंग

एंड्रॉइड पर XAPK/APK फ़ाइलें इंस्टॉल करने के लिए एक-क्लिक करें!

डाउनलोड APKPure
thank icon
We use cookies and other technologies on this website to enhance your user experience.
By clicking any link on this page you are giving your consent to our Privacy Policy and Cookies Policy.
Learn More about Policies