Tom Tsagk
|
13f3cf7bd0
add random number generator
|
vor 5 Jahren |
Tom Tsagk
|
b146de6d10
Merge branch 'master' of https://notabug.org/tomtsagk/pixijs-game_engine
|
vor 5 Jahren |
Tom Tsagk
|
e48a88c20b
add collision on sprites, and convenient getters for position
|
vor 5 Jahren |
tomtsagk
|
cc058acc4f
automatically add new sprites to stage
|
vor 5 Jahren |
Tom Tsagk
|
bc62d20cc8
sprites now return width and height
|
vor 5 Jahren |
Tom Tsagk
|
0adeb06854
reorganise to fix building process
|
vor 5 Jahren |
Tom Tsagk
|
a34b465b66
fix angle between vectors to return radians
|
vor 5 Jahren |
Tom Tsagk
|
9bb51e96c9
add dot product and angle between vectors on math, add ability to set rotation based on radians or degrees
|
vor 5 Jahren |
Tom Tsagk
|
c8809ec37b
add catmull-rom curves in math, and visibility and rotation setters/getters in sprite
|
vor 5 Jahren |
Tom Tsagk
|
c75918f56f
changed object to not inherit pixi objects
|
vor 5 Jahren |
Tom Tsagk
|
66abf4a772
make engine easier to compile and install
|
vor 5 Jahren |
Tom Tsagk
|
86cdc5c359
add makefile
|
vor 5 Jahren |
Tom Tsagk
|
997ff6a31f
worlds have automatic container and input, add `dd_math.js` and `dd_point.js`
|
vor 5 Jahren |
Tom Tsagk
|
534b5cdd5b
compilation process organised for scalability
|
vor 5 Jahren |
Tom Tsagk
|
bd4ec36ca4
add custom sprite class, fullscreen index
|
vor 5 Jahren |
Tom Tsagk
|
3e0a9def55
update engine to be more modular
|
vor 5 Jahren |
Tom Tsagk
|
58f28ae546
fix syntax for broader browser support
|
vor 5 Jahren |
Tom Tsagk
|
1ca30b4320
update to handle resize and smartphone touch input
|
vor 6 Jahren |
Tom Tsagk
|
cdb5ef2a67
remove margin/padding
|
vor 7 Jahren |
Tom Tsagk
|
47aaf29e4e
more comments
|
vor 7 Jahren |
Tom Tsagk
|
31c157c2b4
add mute status
|
vor 7 Jahren |
Tom Tsagk
|
55e12717ed
add audio folder for sounds
|
vor 7 Jahren |
Tom Tsagk
|
874abd1e39
code organization and documentation
|
vor 7 Jahren |
Tom Tsagk
|
6b7e6e55d1
seperated engine from (potential) video games
|
vor 7 Jahren |
Tom Tsagk
|
24e7c4d3c1
organized compilation process
|
vor 7 Jahren |
Tom Tsagk
|
e5bdb84f7e
code organization
|
vor 7 Jahren |
Tom Tsagk
|
2253e63a00
fixed `compile_game` bash file, to better work with individual projects
|
vor 7 Jahren |
Tom Tsagk
|
d08b247926
default world is the first from index
|
vor 7 Jahren |
Tom Tsagk
|
cd9178fc65
worlds should be added in a list, input is discarded every frame
|
vor 7 Jahren |
Tom Tsagk
|
44b10fd9e6
added alias for screen width and height
|
vor 7 Jahren |