nazariglez / gecko2d Goto Github PK
View Code? Open in Web Editor NEWCross-platform Game Framework
Home Page: https://nazariglez.github.io/Gecko2D
License: MIT License
Cross-platform Game Framework
Home Page: https://nazariglez.github.io/Gecko2D
License: MIT License
Emit create a new array in each event, this could be avoid with macros. And to avoid reflect use macros too, call the fn with the exact arg number.
Add a new entity to use as scrollingSprite and parallax.
Using big textures with scrollingSprite the dimensions seems wrong to me. I think it's an issue with how to the size and scale of the texture are rendered.
Chokidar seems more precise to use with Intelijj Idea
Test all features on windows
Add a mouse manager and check events in the scene graph.
Improve the generateTexture method in entity to draw objects in images and put in textures to render.
Trimmed sprites needs to set the right size whenever the trim change. (maybe rect needs an observer).
Maybe could be a good idea use seconds instead ms because the delta time it's in seconds, and for use ms i need to mult by 1000 everytime.
Provide methods to pool every object, and pool internally some reusable objects as hotkey, combokeys, etc...
Test and look for performance problems, especially in html5.
I prefer use hexadecimal color in rgba instead argb, but this colors must be compatible between because the graphics needs argb to works.
Install templates from github (maybe others urls?) using gecko init -t github.com/userN/myTemplate
Use localStorage in html5 and files in native targets. (Kha has something related)
Using a flag in the config as "disable" was a silly choice, better compile with a specific platform and use html5 as default target.
Port TweenPath from PQ to kha.
Test all features on ios
Add support for bitmap texts (fonts loaded from images)
Add an interaction manager to manage the mouse events in the scene graph.
Seems like kode studio reads the khafile to know the libraries and sources used in, so, it's better to move it to the root path
Port PQ sceneTransitions.
Some functions which are inlined now must be inlined just in release mode, because in debug mode it's easy to debug if the functions are as "functions". But in release mode could be good inline to achieve better perfomance.
Add a new manager for touch events (or merge with mouse manager?)
test all features on html5
Add keys names, and hotkeys to check states easily.
Text object must support multilines, auto wrap, etcétera. (See PQ text).
Rework the api, or at least remove the callback with errors and add one callback for each response. (Something like Jquery xhr request with their success and error callback)
Test all features on linux
Tweens like:
t1.setTo({
position: {
y: height-height/4
}
});
fail in native targets at runtime.
Start project with the command line using -init with an optional parameters to select an empty template, and using a basic template with a loader scene as default.
Pass to game an options as screenModes to resize the canvas.
In native targets as cpp needs some work to check the screen resolution to use the screen size without go to fullScreen mode.
Add cameras, which needs to render as a entity, multi-camera to coop modes, etc...
Test all features on macos
Test all features on android
Entity must be clipped with masks or rect but using the entity matrix.
Alias commands like -u (update) don't need the "-" cause this sign must be used in options no in alias.
Change event methods subscribe/unsubscribe to notify/remove names cause kha uses this way internally.
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.