kopia lustrzana https://github.com/ertdfgcvb/play.core
Add version string
rodzic
4f17b0fa4f
commit
67e88755a1
|
@ -1,7 +1,7 @@
|
|||
/**
|
||||
FPS
|
||||
Frames-per-second-counter class.
|
||||
Can exist on mutliple instances of the runner because of inner state.
|
||||
@module fps
|
||||
@desc Frames-per-second-counter class.
|
||||
@cathegory core
|
||||
*/
|
||||
|
||||
export default class FPS {
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
/**
|
||||
@module version.js
|
||||
@desc Runner version string
|
||||
@cathegory core
|
||||
*/
|
||||
|
||||
export const VERSION = '1.0'
|
|
@ -32,8 +32,8 @@ const numbers = [
|
|||
488080430
|
||||
]
|
||||
|
||||
const numX = 5 // number width
|
||||
const numY = 6 // number height
|
||||
const numX = 5 // number width
|
||||
const numY = 6 // number height
|
||||
const spacingX = 2 // spacing, after scale
|
||||
const spacingY = 1
|
||||
|
||||
|
|
|
@ -7,6 +7,9 @@ import { textRenderer } from './core/textrenderer.js'
|
|||
import { canvasRenderer } from './core/canvasrenderer.js'
|
||||
import FPS from './core/fps.js'
|
||||
import storage from './core/storage.js'
|
||||
import { VERSION } from './core/version.js'
|
||||
|
||||
console.log('Runner version: ' + VERSION)
|
||||
|
||||
// Default settings for the program runner.
|
||||
// They can be overwritten by the parameters of the runner
|
||||
|
|
Ładowanie…
Reference in New Issue