rua!
This commit is contained in:
parent
61ef7d3190
commit
a3358e805e
@ -15,7 +15,7 @@ try:
|
|||||||
# been import use
|
# been import use
|
||||||
from bin import configs
|
from bin import configs
|
||||||
from bin import tools
|
from bin import tools
|
||||||
except ModuleNotFoundError:
|
except ModuleNotFoundError or ImportError:
|
||||||
# editing use
|
# editing use
|
||||||
import configs
|
import configs
|
||||||
import tools
|
import tools
|
||||||
@ -94,9 +94,12 @@ class RenderThread(mp.Process, pyglet.window.Window):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def on_draw(self):
|
def on_draw(self):
|
||||||
self.part_draw()
|
self.logger.info('testing!')
|
||||||
|
|
||||||
def part_draw(self):
|
def build_draw(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def space_draw(self):
|
||||||
# render parts
|
# render parts
|
||||||
for ship in self.ships:
|
for ship in self.ships:
|
||||||
# get ship poi
|
# get ship poi
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
client: {
|
client: {
|
||||||
'self.view': ['space', 'map', 'menu'],
|
'self.view': ['space', 'map', 'menu', 'build'],
|
||||||
'self.textures': {
|
'self.textures': {
|
||||||
'first name of textures(defaut: difficult_rocket)': {
|
'first name of textures(defaut: difficult_rocket)': {
|
||||||
'name of image or name of list': 'pyglet.image class or dict',
|
'name of image or name of list': 'pyglet.image class or dict',
|
||||||
@ -17,7 +17,7 @@
|
|||||||
会直接检测是列表还是image
|
会直接检测是列表还是image
|
||||||
另外 可 在文件夹同级放image文件
|
另外 可 在文件夹同级放image文件
|
||||||
*/
|
*/
|
||||||
'nothing': 'nothing'
|
nothing: 'nothing'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'self.parts': {
|
'self.parts': {
|
||||||
@ -60,7 +60,7 @@
|
|||||||
比如对接之后传输燃料、渲染太阳能板
|
比如对接之后传输燃料、渲染太阳能板
|
||||||
的时候可以用到
|
的时候可以用到
|
||||||
*/
|
*/
|
||||||
'nothing': 'nothing'
|
nothing: 'nothing'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user