Jump to content

Search the Community

Showing results for tags 'runtime'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Spriter General
    • Spriter
    • Help and Tutorials
  • Art Packs
    • Spriter Animated Art Packs
  • Developers
    • Spriter Implementations
    • Developer Help
  • General
    • Open Topic
    • Your Works
  • Jobs, Freelance, and Collaboration
    • Portfolios
    • Job offers (Paid)

Product Groups

  • Software
  • Animated Art Packs
  • Bundles
  • Environment Art Packs
  • 3D Art Packs

Categories

  • Software
    • 3rd Party Productivity Software
  • Paid Spriter Animations
    • Paid Spriter Art Pack Skins
  • Paid Environment Art
  • Free Spriter Animations
    • Free Art Pack Skins
  • Free Environment Art
  • 3D Art for games

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. Hi, I'm looking for some guides, tutorials or examples to start writing my own runtime implementations from scratch. Where can I find ones? ldurniat
  2. Hi, I am happy to announce the first release of a new spriter runtime for Haxe (https://github.com/wighawag/spriter , haxelib : http://lib.haxe.org/p/spriter/ ) It is originaly based on the great work of @Loodakrawa for its c# implementation. I optimized it for Haxe and got rid of allocation (so no gc at all while spriter entity is animating!) This does not use pool neither. The runtime itself contain no rendering code and there is currently only one library that do the rendering : https://github.com/wighawag/spriterkha This for Kha : http://kha.tech/ an awesome low level cross platform api. You can find a test project here : https://github.com/wighawag/spriter_test The api is still not complete and it is not yet a 1.0.0 release and I would be interested in feedback Since Haxe can output to different languages, this could be used as a library for any such language as well. Let me know if you need help for that. My implementation has been tested on js and cpp only but should work on all target. The library is unit tested with data from the c# implementation so it should behave in the exact same way The "no allocation" claim is also unit tested (for the cpp target) Hope someone find it useful. Thanks
  3. Hi everyone! My main question: has anyone experience in crosscompiling the runtime to JS by GWT with gradle? I have a class, SpriterScreen, which I pasted below. In the class I put more/less the content of one of trixt0r's testclasses,com.brashmonkey.spriter.tests.backend.LibGdxTest, for the libGdx runtime. I had refactor it to fit in a Screen. When I want to crosscompile this class with GWT by the gradle-Task gradlew html:sperdev I get compiler errors. I copied them below the origination class. package net.systemexklusive.site.app.screens;import com.badlogic.gdx.Gdx;import com.badlogic.gdx.Screen;import com.badlogic.gdx.files.FileHandle;import com.badlogic.gdx.graphics.GL20;import com.badlogic.gdx.graphics.OrthographicCamera;import com.badlogic.gdx.graphics.g2d.Sprite;import com.badlogic.gdx.graphics.g2d.SpriteBatch;import com.badlogic.gdx.graphics.glutils.ShapeRenderer;import com.brashmonkey.spriter.Data;import com.brashmonkey.spriter.Drawer;import com.brashmonkey.spriter.Player;import com.brashmonkey.spriter.SCMLReader;import com.brashmonkey.spriter.libGdx.LibGdxDrawer;import com.brashmonkey.spriter.libGdx.LibGdxLoader;import net.systemexklusive.site.SysExApp;/* Error is in the show-method */public class SpriterScreen implements Screen {Player player;ShapeRenderer renderer;SpriteBatch batch;Drawer<Sprite> drawer;LibGdxLoader loader;OrthographicCamera cam;@Overridepublic void show() {cam = new OrthographicCamera();cam.zoom = 1f;renderer = new ShapeRenderer();batch = new SpriteBatch();FileHandle handle = Gdx.files.internal("monster/basic_002.scml");Data data = new SCMLReader(handle.read()).getData();loader = new LibGdxLoader(data);/* ---- The line below is responsible for the crosscompiler Error --- */loader.load(handle.file());drawer = new LibGdxDrawer(loader, batch, renderer);player = new Player(data.getEntity(0));}@Overridepublic void render(float delta) {}@Overridepublic void resize(int width, int height) {cam.setToOrtho(false, Gdx.graphics.getWidth(), Gdx.graphics.getHeight());cam.position.set(0, 0, 0f);cam.update();renderer.setProjectionMatrix(cam.combined);batch.setProjectionMatrix(cam.combined);}@Overridepublic void pause() {}@Overridepublic void resume() {}@Overridepublic void hide() {}@Overridepublic void dispose() {renderer.dispose();loader.dispose();}} Here is a snippet of the console out triggered by 'gradlew html:superDev' 17:25:28.124 [QUIET] [system.out] Compiling module net.systemexklusive.site.GdxDefinitionSuperdev17:25:30.789 [QUIET] [system.out] Validating units:17:25:30.790 [QUIET] [system.out] Ignored 2 units with compilation errors in first pass.Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.17:25:32.755 [QUIET] [system.out] D:\coding\libGdx\IdeaProjects\SysExSiteGame\html\.17:25:32.755 [QUIET] [system.out] ../android/assets17:25:32.758 [QUIET] [system.out] Copying resources from ../android/assets to war/17:25:32.759 [QUIET] [system.out] D:\coding\libGdx\IdeaProjects\SysExSiteGame\html\..\android\assets17:25:32.759 [QUIET] [system.out] D:\coding\libGdx\IdeaProjects\SysExSiteGame\html\assets17:25:33.149 [QUIET] [system.out] [ERROR] Errors in 'file:/D:/coding/libGdx/IdeaProjects/SysExSiteGame/core/src/net/systemexklusive/site/app/screens/SpriterScreen.java'17:25:33.150 [QUIET] [system.out] [ERROR] Line 56: The method file() is undefined for the type FileHandle17:25:33.155 [QUIET] [system.out] Computing all possible rebind results for 'com.badlogic.gwtref.client.IReflectionCache'17:25:33.155 [QUIET] [system.out] Rebinding com.badlogic.gwtref.client.IReflectionCache17:25:33.156 [QUIET] [system.out] Invoking generator com.badlogic.gwtref.gen.ReflectionCacheGenerator17:25:33.157 [QUIET] [system.out] com.badlogic.gwtref.client.IReflectionCache17:25:33.651 [QUIET] [system.out] java.lang.Double17:25:33.652 [QUIET] [system.out] double Somehow it complains that the FileHandle has no file()-Method. But as I understand, the runtime and the libGdx-Type are about the java.io.File. I put the runtime sources in the core-module and expanded the xxx.gwt.xml. Can anyone give me some hints? This would be great because I struggling with this build for quite a while now and I'd really like to see the anims on a browser! Thank you
×
×
  • Create New...