Skip to content

jeth88/funkpunk

 
 

Repository files navigation

funkpunk v0.0.4

Flashpunk modified to use GPU rendering!

Current state

It "just works" This is the initial version that displays sutuff properly using Flash display lists. I only use a subset of FP features in my games so try and plug it in! Let me know what's there left to do! Games of mine that currently work in FunkPunk:

TODO

  • tinting - DONE!
  • render() overloads - (poorly) DONE!
  • layering - DONE!
  • resource management
  • scaling and pixels - DONE!
  • console
  • pixelbuffer overlay - probably DONE!
  • canvas - DONE!
  • particles
  • scaling
  • probably heaps of stuff

Usage

Substitute net/flashpunk directory from your project with this. Compile. Cry. (TODO: replace 'cry' with 'rejoice') You might need to alter your code if it meets one of the following conditions.

  • IF you overload render() and trigger multiple buffer updates with subsequent graphic.render() calls (as, in rendering one image with different tints or frames from one render() function), you need to set additional clone argument as true in graphic.render(). e.g. sprite.render(FP.buffer, new Point(x,y), FP.camera,true);

About

Flashpunk modified to use GPU rendering! Port your FP games to mobile!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ActionScript 100.0%