Commit ea63b0c 1 parent 7ebf963 commit ea63b0c Copy full SHA for ea63b0c
File tree 4 files changed +7
-17
lines changed
4 files changed +7
-17
lines changed Original file line number Diff line number Diff line change 1
1
package luxe_ascii ;
2
2
3
3
import luxe .Color ;
4
- import snow .system .assets .Asset ;
5
4
import snow .api .buffers .* ;
6
5
7
6
import haxe .io .Bytes ;
Original file line number Diff line number Diff line change 1
1
{
2
-
3
- luxe:{
4
- window: {
5
- width:640,
6
- height:350,
7
- title:'luxe_ascii demo',
8
- fullscreen:false,
9
- resizable:true,
10
- borderless:false
11
- }
12
- },
13
-
14
2
project : {
15
3
name : 'luxe_ascii_demo',
16
4
version : '1.0.0',
Original file line number Diff line number Diff line change 1
1
import luxe .States ;
2
+ import luxe .Vector ;
2
3
import luxe_ascii .* ;
3
4
4
5
class Demo extends State {
@@ -14,6 +15,8 @@ class Demo extends State {
14
15
public function new () {
15
16
super ({name :' demo' });
16
17
18
+ Luxe .camera .size = new Vector (640 ,350 );
19
+
17
20
// The ConsoleBuffer manages the geometry that renders the ASCII console
18
21
consoleBuffer = new ConsoleBuffer ( {
19
22
width : 80 ,
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ import luxe.Input;
3
3
import luxe .Parcel ;
4
4
import luxe .ParcelProgress ;
5
5
import luxe .States ;
6
- import snow . types . Types ;
6
+ import luxe . GameConfig ;
7
7
8
8
class Main extends luxe. Game {
9
9
10
- override function config (config : luxe. AppConfig ) {
11
-
10
+ override function config (config : GameConfig ) {
11
+ config .window .width = 640 ;
12
+ config .window .height = 350 ;
12
13
return config ;
13
-
14
14
} // config
15
15
16
16
override function ready () {
You can’t perform that action at this time.
0 commit comments