Skip to content
View in the app

A better way to browse. Learn more.

主视角中国

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

简化

(0 评审)

简化

一个箱子的代码

local.crate = spawn script_model 

local.crate model "static/indycrate.tik"

local.crate.origin = ( 1 1 -9999 )

local.crate solid


可以这样


local.c = spawn script_model 

local.c model "static/indycrate.tik"

local.c.origin = ( 1 1 -9999 )

local.c solid




也可以这样


local.object = spawn script_model "targetname" "c"

$c model "static/indycrate.tik"

$c.origin = ( 1 1 -9999 )

$c solid

还有的就不写了....

要是让它随机生成100个不同位置箱子的代码,

1.要有一个计数器

2.3个随机的函数(X.Y.Z)

3.>=100 循环停止

呵呵,留给你们想了....

0 评论

Recommended Comments

没有要显示的评论。

访客
添加评论...

Account

Navigation

搜索

搜索

设置浏览器推送通知

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.