updating
This commit is contained in:
parent
7b084e0d2c
commit
2897245701
10 changed files with 160 additions and 3 deletions
BIN
_art/atlas.ase
Normal file
BIN
_art/atlas.ase
Normal file
Binary file not shown.
BIN
_art/laser.ase
Normal file
BIN
_art/laser.ase
Normal file
Binary file not shown.
Binary file not shown.
7
fonts/lato.font.lx
Normal file
7
fonts/lato.font.lx
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
font = {
|
||||
source = "fonts/sources/Lato-Regular.ttf"
|
||||
ranges = [
|
||||
"0020-007F"
|
||||
"00A0-00FF"
|
||||
]
|
||||
}
|
||||
BIN
fonts/sources/Lato-Regular.ttf
Normal file
BIN
fonts/sources/Lato-Regular.ttf
Normal file
Binary file not shown.
|
|
@ -14,6 +14,8 @@ class game is Game {
|
|||
|
||||
construct ready() {
|
||||
|
||||
//todo: get animation going on ship/exhaust duh
|
||||
//todo: ammo. initialize a bunch of entities (bullets) into a list, when fired, add one to another list. that second list gets run through every tick, and we update the position of each bullet. then recycle them after a while
|
||||
System.print("ready!")
|
||||
|
||||
app = App.new()
|
||||
|
|
@ -39,7 +41,7 @@ class game is Game {
|
|||
_ship_velocity_y = 0
|
||||
_ship_dampening = 0.85
|
||||
|
||||
Camera.ortho(app.camera, 0, 0, app.width / _camera_scale, app.height / _camera_scale, -5, 5)
|
||||
Camera.ortho(app.camera, 0, 0, _cam_offset_x * 2, _cam_offset_y * 2, -5, 5)
|
||||
|
||||
create_ship()
|
||||
create_ui_text()
|
||||
|
|
@ -74,7 +76,7 @@ class game is Game {
|
|||
//////////////
|
||||
|
||||
something_else() {
|
||||
//nothing
|
||||
|
||||
}
|
||||
|
||||
create_ship() {
|
||||
|
|
|
|||
3
image/laser.image.lx
Normal file
3
image/laser.image.lx
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
image = {
|
||||
source = "image/laser.png"
|
||||
}
|
||||
BIN
image/laser.png
Normal file
BIN
image/laser.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 108 B |
145
log.txt
Normal file
145
log.txt
Normal file
|
|
@ -0,0 +1,145 @@
|
|||
luxe / Engine / Fri Nov 29 15:49:09 2019
|
||||
luxe / Engine / path is `/Users/jonathan/Developer/luxe/space`
|
||||
luxe / Engine / 1.0.0-dev.84
|
||||
luxe / API / 1.0.0-dev.84
|
||||
luxe / Runtime / 1.0.0-dev.84
|
||||
luxe / dev / parcel / adding dependency assets and units
|
||||
luxe / dev / parcel / adding dependency `luxe` @ `1.0.0-dev.84`
|
||||
luxe / dev / parcel / - adding scripts from `/Users/jonathan/.luxe/modules/luxe/1.0.0-dev.84/api`
|
||||
luxe / dev / parcel / - adding assets from `/Users/jonathan/.luxe/modules/luxe/1.0.0-dev.84/assets`
|
||||
luxe / dev / images / adding unreferenced sources...
|
||||
luxe / dev / parcel / entry parcel generated in 25.35105199785903ms
|
||||
luxe / dev / compiler / compiling dev content to `_luxe.data/` ...
|
||||
luxe / dev / compiler / luxe runtime path `/Users/jonathan/.luxe/modules/luxe/1.0.0-dev.84` ...
|
||||
+ modifier - 0 found
|
||||
+ block - 0 found
|
||||
+ material - 8 found
|
||||
+ shaders - 1 found
|
||||
+ particles - 0 found
|
||||
+ settings - 1 found
|
||||
+ script - 99 found
|
||||
- parsing 1 scripts and their imports ...
|
||||
- parsing `game.wren` - 25.7934ms
|
||||
- parsing `random` - 0.00205ms
|
||||
- compiling 1 scripts ...
|
||||
- parsing `luxe: input` - 294.75053ms
|
||||
- parsing `luxe: io` - 5.14726ms
|
||||
- parsing `luxe/io` - 0.00207ms
|
||||
- parsing `luxe: assets` - 43.29227ms
|
||||
- compiled `game.wren` - 466.89295ms
|
||||
+ render - 1 found
|
||||
+ tiles - 0 found
|
||||
+ font - 2 found
|
||||
+ anim - 0 found
|
||||
+ scene - 1 found
|
||||
- scene `game.scene` > `_luxe.data/game.3aa443a9.scene`
|
||||
- 1 layer/s, 1 need to compile
|
||||
- layer - game.scene/game > _luxe.data/game.scene/game.7950e0e7.layer
|
||||
- 0 entities, 0 modifier types
|
||||
- 0 total modifier instances
|
||||
+ material_basis - 11 found
|
||||
+ prototype - 0 found
|
||||
+ image - 6 found
|
||||
+ input - 1 found
|
||||
+ mesh - 0 found
|
||||
+ ui - 22 found
|
||||
luxe / dev / data compile times:
|
||||
- / material / spent `6.59513ms`
|
||||
- / shaders / spent `1.77217ms`
|
||||
- / font / spent `3.80225ms`
|
||||
- / scene / spent `14.39891ms`
|
||||
- / material_basis / spent `5.68039ms`
|
||||
- / settings / spent `0.71385ms`
|
||||
- / script / spent `1032.73059ms`
|
||||
- / image / spent `5.9489ms`
|
||||
- / input / spent `0.89094ms`
|
||||
- / render / spent `1.55595ms`
|
||||
- / ui / spent `10.18119ms`
|
||||
luxe / dev / compiler / compile complete | `153 assets` | `1088.274174006074ms`
|
||||
luxe / project / info:
|
||||
- name: space
|
||||
- version: 0.0.1
|
||||
- package: com.luxeengine.game
|
||||
- entry: game
|
||||
- renderer: outline/renderer
|
||||
- settings: outline/settings
|
||||
- depends:
|
||||
- luxe @ 1.0.0-dev.84
|
||||
|
||||
luxe / sdl / 2.0.9 hg-12373:8feb5da6f2fb
|
||||
luxe / assets / settings / applied `outline/settings`
|
||||
luxe / opengl / initializing
|
||||
luxe / opengl / request / 2x antialiasing (engine.render.antialiasing)
|
||||
luxe / opengl / request / core context (engine.render.opengl.core)
|
||||
luxe / opengl / request / 3.3 (engine.render.opengl.major/minor)
|
||||
luxe / opengl / versions / GL `4.1 INTEL-14.2.16` - GLSL `4.10`
|
||||
luxe / opengl / request / debug logging (engine.render.opengl.debug_level = 3)
|
||||
luxe / render / init ok
|
||||
luxe / assets / loading `entry parcel` ...
|
||||
luxe / assets / loading / render data `luxe: render_data`
|
||||
luxe / assets / loading / shaders `luxe: shaders`
|
||||
luxe / assets / loading / basis `luxe: material_basis/font` 3777439469
|
||||
luxe / assets / loading / basis `luxe: material_basis/line` 1956587066
|
||||
luxe / assets / loading / basis `luxe: material_basis/mesh_solid` 2990521889
|
||||
luxe / assets / loading / basis `luxe: material_basis/solid` 1519506903
|
||||
luxe / assets / loading / basis `luxe: material_basis/sprite` 3941839433
|
||||
luxe / assets / loading / basis `luxe: material_basis/sprite_pixelated` 2606480210
|
||||
luxe / assets / loading / basis `luxe: material_basis/ui_font` 3033324030
|
||||
luxe / assets / loading / basis `luxe: material_basis/ui_mask` 1781843443
|
||||
luxe / assets / loading / basis `luxe: material_basis/ui_mask_root` 2267721108
|
||||
luxe / assets / loading / basis `luxe: material_basis/ui_solid` 1723021186
|
||||
luxe / assets / loading / basis `luxe: material_basis/wire` 358309301
|
||||
luxe / assets / loading / image `luxe: image/logo`
|
||||
luxe / assets / loading / image `luxe: image/logo.sprite`
|
||||
luxe / assets / loading / image `image/asteroid`
|
||||
luxe / assets / loading / image `image/laser`
|
||||
luxe / assets / loading / image `image/ship`
|
||||
luxe / assets / loading / image `image/star`
|
||||
luxe / assets / loading / font `luxe: fonts/lato` 702255734
|
||||
luxe / assets / loading / font `fonts/lato` 922558320
|
||||
luxe / assets / loading / material `luxe: material/font`
|
||||
luxe / assets / loading / material `luxe: material/logo`
|
||||
luxe / assets / loading / material `luxe: material/logo.sprite`
|
||||
luxe / assets / loading / material `luxe: material/mesh_solid`
|
||||
luxe / assets / loading / material `luxe: material/solid`
|
||||
luxe / assets / loading / material `material/asteroid`
|
||||
luxe / assets / loading / material `material/ship`
|
||||
luxe / assets / loading / material `material/star`
|
||||
luxe / assets / loading / bytes `luxe: anim/material.track.lx`
|
||||
luxe / assets / loading / bytes `luxe: anim/sprite.track.lx`
|
||||
luxe / assets / loading / bytes `luxe: anim/transform.track.lx`
|
||||
luxe / assets / loading / bytes `_art/atlas.ase`
|
||||
luxe / assets / loading / bytes `_art/laser.ase`
|
||||
luxe / assets / loading / bytes `_art/player_ship.ase`
|
||||
luxe / assets / loading / bytes `_art/star.ase`
|
||||
luxe / assets / loading / bytes `empty.outline.lx`
|
||||
luxe / assets / loading / scene `game`
|
||||
luxe / assets / loading / input `outline/inputs`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.mini.anim.sprite.key`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.button`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.check`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.label`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.mesh`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.script`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.sprite`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.tags`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.text`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.tiles`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.transform`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.values.part`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.modifier.values`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.outline.entity`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.outline.layer`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.outline.prototype.entity`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.outline.prototype`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.outline.scene`
|
||||
luxe / assets / loading / ui `luxe: ui/editor.panel.outline.scenes`
|
||||
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 `61 items` in `36.74460700131021ms`
|
||||
luxe / render / init renderer script `outline/renderer`
|
||||
game / render / init / ok
|
||||
ready!
|
||||
render size: 960 x 640 @ 1x
|
||||
unready!
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
// luxe 1.0.0-dev.83
|
||||
// luxe 1.0.0-dev.84
|
||||
|
||||
import "luxe: project" for Project
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue