-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not sure it's working correctly here? #7
Comments
I don't mind but thought i should feedback did not really get anywhere when I tried but only tried the itch binary. |
Can you tell me what were you doing when that error occured? Look like it can't find a image.
|
@nanjizal Get latest and try https://github.com/BlackGoku36/Paddy-Editor-Test/tree/master |
The example does not seem to use Rice2D? I think it would be ideal to have code, sound and font ( you have images ) . I think the api is either not working really well or a bit confusing still, it looks huge with lots of promise. Perhaps hide some features from public and concentrate on making the current ones super easy to use. |
notifyOnRender(function(g){
// you will get all of g.g1, g.g2, g.g4 here. and that means you can even use shaders with g2
}); |
If Rice2D provided an api that I could target with: But graphics2/g2 only provided quad image control and graphics4/g4 was pretty much like using WebGL so neither I consider actually solve 2D, but I am not following recent Kha changes so it may have changed. Anyway with enhanced 2D support then I could provide a plugin for Paddy with draw commands and svg path data drawing to complement the basic drawing api, I could not see any current support for more complex vectors. Further my geom library you may find easier than Kha.math it provides operators, supports constraints and is toolkit indifferent, which I think is vital, if it needs more for Physics support or integration I am open to extending and improving. |
rn I have lot on my plate, will see it later, meanwhile pull requests are welcome! |
I had two issues trying to build from source on mac:
public static function reScaleUI(factor:Float) {
if (propUI != null) { // Gets called before render in Krom so propUI is null at start
propUI.setScale(factor);
uimodal.setScale(factor);
Paddy.reloadUI();
}
} |
Trace: TypeError: Cannot read property 'get_width' of undefined
at Function.paddy_ui_UIAssets.render (:19494:40)
at paddy_App.render (:18620:21)
at :93:12
at Function.kha_System.render (:3432:3)
at kha_SystemImpl.renderCallback (:3574:13)
Trace: Error: End before you begin
at kha_graphics4_Graphics2.begin (:15967:10)
at paddy_App.render (:18525:5)
at :93:12
at Function.kha_System.render (:3432:3)
at kha_SystemImpl.renderCallback (:3574:13)
I am on mac 10.12.6 though and it's for 10.13. Probably worth creating an example video of using it so that people can replicate setting up a new project so they know it's working correctly.
Worth creating a test project for people to clone from git and open with Paddy as will help you know if there are problems since they can follow a video and be starting with the same as you have so any significant issues will be obvious. At moment I have no idea if it's working correctly as it runs but does not seem to allow me to import or do anything.
The text was updated successfully, but these errors were encountered: