time to redo starfield
This commit is contained in:
parent
05fceff574
commit
4cfa77f63e
5 changed files with 27 additions and 28 deletions
|
|
@ -1,2 +1,2 @@
|
|||
time = 1600562055
|
||||
time = 1600568903
|
||||
version = 2
|
||||
|
|
|
|||
|
|
@ -32,5 +32,5 @@ methods = {
|
|||
create_ship = true
|
||||
} //Game
|
||||
} //methods
|
||||
time = 1600562055
|
||||
time = 1600568898
|
||||
version = 1
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
settings = {
|
||||
shaders = [
|
||||
"glsl.330"
|
||||
"glsl.300.es"
|
||||
] //shaders
|
||||
} //settings
|
||||
|
|
|
|||
|
|
@ -44,8 +44,9 @@ class Game is Ready {
|
|||
create_ship()
|
||||
Transform.set_pos(app.camera, Transform.get_pos_x(_ship) - _cam_offset_x / 2, Transform.get_pos_y(_ship) - _cam_offset_y / 2)
|
||||
create_ui_text()
|
||||
create_startracker()
|
||||
create_starfield()
|
||||
// redo the starfield. keep it simple, just do two images with paralax scrolling
|
||||
// create_startracker()
|
||||
// create_starfield()
|
||||
|
||||
} //ready
|
||||
|
||||
|
|
@ -95,7 +96,7 @@ class Game is Ready {
|
|||
|
||||
// put a value in the new() call to make the same starfield each time
|
||||
var rng = Random.new()
|
||||
var number_of_stars = 50
|
||||
var number_of_stars = 500
|
||||
|
||||
for(i in 0...number_of_stars) {
|
||||
var randomness = rng.float(0.5)
|
||||
|
|
|
|||
43
log.txt
43
log.txt
|
|
@ -1,4 +1,4 @@
|
|||
luxe / Engine / Sat Sep 19 17:34:15 2020
|
||||
luxe / Engine / Sat Sep 19 19:28:23 2020
|
||||
luxe / Engine / path is `/Users/jonathan/Developer/luxe/space`
|
||||
luxe / Engine / 2020.3.0
|
||||
luxe / paths / root / located at `/Users/jonathan/.luxe`
|
||||
|
|
@ -13,7 +13,7 @@ luxe / dev / parcel / adding dependency `luxe` @ `2020.3.0`
|
|||
luxe / dev / parcel / - adding scripts from `/Users/jonathan/.luxe/modules/luxe/2020.3.0/api`
|
||||
luxe / dev / parcel / - adding assets from `/Users/jonathan/.luxe/modules/luxe/2020.3.0/assets`
|
||||
luxe / dev / images / adding unreferenced sources...
|
||||
luxe / dev / parcel / entry parcel generated in 14.66805406380445ms
|
||||
luxe / dev / parcel / entry parcel generated in 13.5598699998809ms
|
||||
luxe / dev / compiler / compiling dev content to `.luxe/` ...
|
||||
luxe / dev / compiler / luxe runtime `2020.3.0` at path `/Users/jonathan/.luxe/modules/luxe/2020.3.0` ...
|
||||
+ modifier - 0 found
|
||||
|
|
@ -25,14 +25,14 @@ luxe / dev / compiler / luxe runtime `2020.3.0` at path `/Users/jonathan/.luxe/m
|
|||
- `.luxe/entry.settings.lx` > `.luxe/.luxe/entry.settings.lx.814a19b5`
|
||||
+ script - 109 found
|
||||
- parsing 1 scripts and their imports ...
|
||||
- parsing `game.wren` - 24.07203ms
|
||||
- parsing `random` - 0.00157ms
|
||||
- parsing `game.wren` - 23.60127ms
|
||||
- parsing `random` - 0.00168ms
|
||||
- compiling 1 scripts ...
|
||||
- parsing `luxe: input` - 287.08386ms
|
||||
- parsing `luxe: io` - 5.22745ms
|
||||
- parsing `luxe/io` - 0.00143ms
|
||||
- parsing `luxe: assets` - 46.46948ms
|
||||
- compiled `game.wren` - 403.50771ms
|
||||
- parsing `luxe: input` - 277.75706ms
|
||||
- parsing `luxe: io` - 5.06361ms
|
||||
- parsing `luxe/io` - 0.00141ms
|
||||
- parsing `luxe: assets` - 44.7121ms
|
||||
- compiled `game.wren` - 390.28007ms
|
||||
+ render - 1 found
|
||||
+ tiles - 0 found
|
||||
+ font - 2 found
|
||||
|
|
@ -46,17 +46,17 @@ luxe / dev / compiler / luxe runtime `2020.3.0` at path `/Users/jonathan/.luxe/m
|
|||
+ mesh - 0 found
|
||||
+ ui - 22 found
|
||||
luxe / dev / data compile times:
|
||||
- / material / spent `2.75239ms`
|
||||
- / shaders / spent `5.65618ms`
|
||||
- / font / spent `4.29496ms`
|
||||
- / material_basis / spent `1.50831ms`
|
||||
- / settings / spent `1.07576ms`
|
||||
- / script / spent `467.68876ms`
|
||||
- / image / spent `4.69363ms`
|
||||
- / input / spent `0.89061ms`
|
||||
- / render / spent `0.52276ms`
|
||||
- / ui / spent `2.85538ms`
|
||||
luxe / dev / compiler / compile complete | `168 assets` | `493.5020689154044ms`
|
||||
- / material / spent `2.6505ms`
|
||||
- / shaders / spent `5.23208ms`
|
||||
- / font / spent `3.93204ms`
|
||||
- / material_basis / spent `1.32794ms`
|
||||
- / settings / spent `1.0564ms`
|
||||
- / script / spent `451.695ms`
|
||||
- / image / spent `4.04399ms`
|
||||
- / input / spent `0.9133ms`
|
||||
- / render / spent `0.48048ms`
|
||||
- / ui / spent `2.36533ms`
|
||||
luxe / dev / compiler / compile complete | `168 assets` | `475.2279869999256ms`
|
||||
luxe / project / info:
|
||||
- name: `space`
|
||||
- version: `0.0.1`
|
||||
|
|
@ -143,11 +143,10 @@ luxe / assets / loading `entry parcel` ...
|
|||
luxe / assets / loading / ui `luxe: ui/editor.panel.progress`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.slider`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.text`
|
||||
luxe / assets / loaded `entry parcel` with `66 items` in `28.38667493779212ms`
|
||||
luxe / assets / loaded `entry parcel` with `66 items` in `32.81679399970017ms`
|
||||
luxe / runtime / setting log level `info`
|
||||
luxe / assets / input / loading entry input `outline/inputs`
|
||||
luxe / render / init renderer script `outline/renderer`
|
||||
game / render / init / ok
|
||||
ready!
|
||||
render size: 960 x 640 @ 1x
|
||||
unready!
|
||||
|
|
|
|||
Loading…
Reference in a new issue