city41 / impact.ts Goto Github PK
View Code? Open in Web Editor NEWThe Impact JS game engine, ported to TypeScript
License: MIT License
The Impact JS game engine, ported to TypeScript
License: MIT License
So far Impact's debugging tools have not been ported over yet.
There really isn't a dev mode where you can work on jumpnrun and/or impact, and the browser reloads with each change.
This is due to using parcel as the bundler, which is ignoring the media directory.
It may be possible to solve this by importing media directly into files, ie:
import playerPng from './player.png';
...
animSheet: new igAnimationSheet(playerPng, 75, 100);
...
The ig
object at src/impact.ts
, is not properly typed yet.
The loader does not wait for images to load before being considered finished. This is easily seen by throttling the network speed in Chrome's network tab.
Add in eslint
The ig
prefix on classes, such as igEntity
, is a bit cumbersome. Remove it.
Due to Image
being a global type in browsers, will most likely need to keep the prefix on igImage
Gamepad support was removed from jumpnrun for now. Bring it back.
The data objects as found in packages/jumpnrun/src/levels
is not strongly typed. igGame
's loadLevel
is typed as loadLevel(data: any)
.
Create proper types for the level data object.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.