archive-com.com » COM » D » DRAWLOGIC.COM

Total: 771

Choose link from "Titles, links and description words view":

Or switch to "Titles and links view".
  • *drawlogic » Haxe Sandy Ability to Generate a 3D Javascript Engine Port of Sandy for Canvas - web, mobile, game + interactive development » Haxe Sandy Ability to Generate a 3D Javascript Engine Port of Sandy for Canvas » Haxe Sandy Ability to Generate a 3D Javascript Engine Port of Sandy for Canvas
    Both comments and pings are currently closed Comments are closed Recent Posts Unity 5 WebGL and the Plugin pocalypse Lime OpenFL Haxe Cross Platform Development Breakouts Comparison of JavaScript Game Engines via Breakout Snap svg SVG Vector Javascript Library Unity 4 2 Includes New Platforms Features Windows Phone New Micro Game Consoles TV Apps Games Controlled with Phones Tablets and Handhelds Unity 4 1 Apple TV AirPlay and the New Consoles Unity 4 Live Unity 4 Public Beta Cocos2d x C Port of Cocos2d for iOS Android Desktop Unity 3 5 Available Awesome Flash Export NaCL Export Needed Pipeline Improvements Unity 3 5 Preview Available Includes Unity to Flash Stage3D Export HTML5 Market Ready A Gift to html5 Web Developers and Web Users from Microsoft Silent Automatic IE Updates Onward Unreal Engine 3 Exporting to Flash 11 Stage3D Unity Exporting to Flash 3D Molehill now called Stage3D Preview Hardware Acceleration on the Web The Next Interactive Web is Materializing Microsoft s Answer to WebGL Silverlight 5 3D Hardware Acceleration XNA RageSpline for Unity 2D Spline Vector Tool cocos2d Now 1 0 and New Project cocos3d WebGL Spec 1 0 Now Final From Khronos Adobe AIR and Flash 3D API Molehill Preview Released Unity Building In Flash 3D Molehill Export Support Cocos2D Javascript Javascript Port of Cocos2D Game Engine Firefox 4 WebGL enabled Hardware Acceleration Faster Javascript WebConsole Adobe Flash Vs Unity The Near Future Of Hardware Accelerated Web Games EaselJS html5 Flash like Javascript Library by Grant Skinner WebGL Will Be Part of Chrome 9 Regular Releases WebSockets Now Available Across iOS Devices with 4 2 Update Adobe Illustrator AI to Canvas Exporter for html5 Adobe Demos Flash to HTML5 Conversion Tool Is Silverlight Done Microsoft Shift in Strategy to html5 Adobe Finally Hardware Accelerating Flash for 3D Impact Javascript

    Original URL path: http://drawlogic.com/2009/07/16/haxe-sandy-able-to-generate-a-3d-javascript-engine-port-of-sandy-for-canvas/ (2016-02-09)
    Open archived version from archive


  • *drawlogic » group - web, mobile, game + interactive development » group » group
    great strides in 3d within the browser from game engine wrapper technologies such as instant action technology gaim theory engine now owned by id Software and runs Quake Live hardware rendered Unity 3D and Torque 3D coming soon and Flash software rendered 3d engines Papervision 3D Away 3D Sandy Sandy also released a haXe version that exports a javascript version and others But it looks like the movement is to bring OpenGL to the web as a standard under the name WebGL this would be great There would still be lots of times where plugins are better now and in the near future but the path is a good one Having a software hardware rendering hybrid like Google O3D for broad video card support some of the painful older intel cards or using a plugin like Unity3D Torque 3D or wrapper technology for bigger engines is a good idea for the time being But the future is grand in this area I think that Google O3D and OpenGL ES success on iPhone games probably combined to get this in motion OpenGL and very basic video cards are now standard in most machines out there Unity3D actually published hardware statistics on casual gamers web based games ever so kindly and shows that even though there are some older Intel cards out there for the most part machines nowadays have a video card capable of supporting at least low poly 3d and hardware supported 2d rendering in real time for games user interfaces and more This is exciting news it appears the movement of the web gaming market is getting much more capable and is accelerating the innovation of hardware accelerating the web Tags 3d browser group JAVASCRIPT khronos OPENGL opengles RENDERING standard webgl Posted in 3d 3D ENGINES AWAY3D CODE COMPANIES CONFERENCE EFFECTS ENGINE GAMEDEV GAMES HAXE JAVASCRIPT LIBRARIES NEWS OPEN SOURCE OPENGL PROGRAMMING RENDERING STANDARDS TECHNOLOGY TORQUE 3D Uncategorized unity3d 10 Comments Recent Posts Unity 5 WebGL and the Plugin pocalypse Lime OpenFL Haxe Cross Platform Development Breakouts Comparison of JavaScript Game Engines via Breakout Snap svg SVG Vector Javascript Library Unity 4 2 Includes New Platforms Features Windows Phone New Micro Game Consoles TV Apps Games Controlled with Phones Tablets and Handhelds Unity 4 1 Apple TV AirPlay and the New Consoles Unity 4 Live Unity 4 Public Beta Cocos2d x C Port of Cocos2d for iOS Android Desktop Unity 3 5 Available Awesome Flash Export NaCL Export Needed Pipeline Improvements Unity 3 5 Preview Available Includes Unity to Flash Stage3D Export HTML5 Market Ready A Gift to html5 Web Developers and Web Users from Microsoft Silent Automatic IE Updates Onward Unreal Engine 3 Exporting to Flash 11 Stage3D Unity Exporting to Flash 3D Molehill now called Stage3D Preview Hardware Acceleration on the Web The Next Interactive Web is Materializing Microsoft s Answer to WebGL Silverlight 5 3D Hardware Acceleration XNA RageSpline for Unity 2D Spline Vector Tool cocos2d Now 1 0 and New Project cocos3d WebGL Spec 1

    Original URL path: http://drawlogic.com/tag/group/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » CODE - web, mobile, game + interactive development » CODE » CODE
    AS3 Polygonal Labs Using Object Pools Joa Ebert Tweening and Object Pools Joa Ebert Optmization Wiki Sean Moore Efficient AS3 roundup great list of resources for more at the bottom Lost in Actionscript Efficient AS3 Tips Big SpaceShip Mouse Leave Tip flash can hog resources so when it isn t in focus then let is stop tasking the processor Grant Skinner Idle CPU in AIR FPS Tip set fps to a lower amount when it is out of focus Tags ACTIONSCRIPT ACTIONSCRIPT3 array AS3 efficient FLASH optmization VECTOR Posted in ACTIONSCRIPT ACTIONSCRIPT3 APPLICATIONS ARCHITECT AS3 CODE DEVELOPMENT FLASH FLEX PERFORMANCE PROGRAMMING TECHNOLOGY VECTOR 12 Comments JavaScript Standard ECMAScript Fifth Edition ES5 Published Thursday April 9th 2009 Well it appears ES4 path is dead officially and a new standard has been published replacing it the ECMAScript Fifth Edition announced in Geneva Switzerland and will be in place as fully tested and approved by all involved by the end of 2009 ES5 was previously known as ECMAScript 3 1 or an iteration of the ES3 standard that is what most JavaScript is based on in all browsers and was previously competing with the ES4 newer standard that changed Javascript quite a bit but in many areas much better in some areas it was bloated This revision of ECMA 262 will be known as ECMAScript Fifth Edition It was previously developed under the working name ECMAScript 3 1 which will no longer be used ECMAScript is the scripting language that is used to create web pages with dynamic behavior ECMAScript which is more commonly known by the name JavaScript is an essential component of every web browser and the ECMAScript standard is one of the core standards that enable the existence of interoperable web applications on the World Wide Web ECMAScript Fifth Edition ES5 was strongly guided by Crockford and Microsoft which is different than the push for ES4 which is what ActionScript 3 is based on and was supported by Adobe and Mozilla However it seems everyone is happy and everyone is supporting this version to get things moving if you go by the ECMA Org quotes Industry Reaction Brendan Eich Mozilla CTO and creator of the JavaScript language said The Fifth Edition of ECMAScript makes real improvements based on browser innovation and collaboration in Ecma which provides a solid foundation for further work in future editions Microsoft s ECMAScript architect Allen Wirfs Brock commented We expect the Fifth Edition to benefit all web developers by helping improve browser interoperability and making enhanced scripting features broadly available Peace I still have to read further into the ECMAScript 5 specification which was published but there are some new interesting things One nice feature is the JSON object Right now you have to eval to use JSON in javascript in a browser but they now have JSON parse object and JSON stringify object which is standard and conveniently already wired into IE8 this way This is based on the JSON2 js library by Douglas Crockford of Yahoo var jsObjString memberNull null memberNum 3 memberStr StringJSON memberBool true memberObj mnum 1 mbool false memberX memberArray 33 StringTst null var jsObjStringParsed JSON parse jsObjString var jsObjStringBack JSON stringify jsObjStringParsed Another feature is DOM prototypes which are useful and cool which allow you to extend dom objects Document Object Model Prototypes Part 1 Introduction Document Object Model Prototypes Part 2 Accessor getter setter Support If you use javascript or are an actionscripter not sure if Adobe will have ActionScript 4 go this way or if Alchemy has changed the flash player into a multi language VM now It will be fun to watch things progress but also if you are into javascript it seems this standard ES5 will be it by the end of the year And probably since IE8 already supports it in all new browser by then as well It will probably take 1 2 years before browser saturation makes this usable but if you are using standards that mimic this then there will be no change then such as the JSON2 js library Tags ECMAScript Edition es4 es5 Fifth JAVASCRIPT standard STANDARDS Posted in ACTIONSCRIPT ACTIONSCRIPT3 ADOBE ARCHITECT AS3 CODE FLASH JAVASCRIPT JAVASCRIPT2 JSON MICROSOFT NEWS PROGRAMMING TECHNOLOGY 13 Comments AS3 Version of OpenCV for Facial Detection Web Cam Object Detection Head Tracking 3D Library Integration and more with Open Computer Vision Library for Flash Monday March 16th 2009 Libspark from Japan is a treasure trove of great flash advancements they seem to realize the great things that can come from porting in existing solid libraries from C C etc into flash and have been scoring lately including augmented reality in flash porting the ARToolkit to FLARToolkit Recently a port of openCV for as3 called Marilena was found and it is for object detection and decent facial recognition it is a computer vision library from intel considering the processing power needed to do this Face Detection Here is the sample included with Marilena showing facial detection on an image Lots of recent action has blown up on this front from Mr doob quasimondo optimizing the Marilena classes for better performance and Boffwswana Also there is a kit called deface by sshipman that is the first foray into this a year ago doing similar things but it was just a bit before it s time and a bit slow in previous versions of flash it performs decent now in this sample Flash 10 performance of the AVM2 and future directions with Alchemy will lead to more interesting stuff just like this Mr doob head tracking sample be sure to check lots of other examples there Boffswana example of head tracking Johnny Lee Wii style with only a webcam and flash no wiimote needed since it uses facial detection to check where you are and how close you are in the screen and then moves accordingly This is stemming from the recent explosion of the FLARToolkit and augmented reality in flash as well as the gimmicks used by Nintendo with the wii and Johnny Lee s great head tracking advancements Porting great libraries to flash seems to be the phase we are entering now judging by the recent excitement around Adobe Alchemy and the LLVM along with the lead from the libspark org contributors We have also seen this heavily last year in ports of Box2D for 2d physics and other toolkits using established working code and porting that to flash now that is is mostly capable of handling the performance OpenCV Open Computer Vision Library by Intel is quite a powerful platform that allows you to do all this and now it is available in flash There are other great libraries for nearly all platforms now I have done some previous work with Aforge which is also a port of OpenCV mainly for motion detection This was always around but not until the recent performance updates and the innovation that has come with Alchemy and the thinking that goes along with that porting in libraries to flash from C C etc has allowed this to flourish in flash and thus the web The amazing new things we can do with flash by porting in existing libraries is only going to get more intense as alchemy and flash 10 are even more mainstream It is almost as if Flash will eventually just become a web renderer and simplified front end to many great toolkits that exist in more native environments like C C but with the speed and distribution access of the web with Flash Exciting times ahead Tags 3d ACTIONSCRIPT AS3 detection face FLASH flash 10 head libspark marilena MOTION opencv recognition tracking visual Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 ADOBE ALCHEMY APPLICATIONS ARCHITECT AS3 BEST OF CODE ENGINE FLASH FLEX GAMEDEV GAMES LIBRARIES MOTION OPEN SOURCE PAPERVISION PERFORMANCE PROGRAMMING RENDERING TECHNOLOGY TOOLS Uncategorized 5 Comments UnityDevelop Port of the Best Flash IDE FlashDevelop for Unity Scripts Javascript Thursday February 19th 2009 The guys over at Flashbang Studios a web game development studio in phoenix az and some of the most visible developers in the Unity3d space with Blurst released something that may interest both FlashDevelop users and Unity3d developers UnityDevelop was released by Flashbang Studios recently and it is a modded version of FlashDevelop originally from SharpDevelop a really nice open source NET and mono IDE and it supports intellisense for Javascript or Unity3d s use of Javascript which is called UnityScript much like ActionScript UnityScript can be a little more strict and has access to all of Unity3d s API calls just like C and Boo in the mono based virtual machine that Unity3d uses FlashDevelop is by far the best Flash Flex haXe IDE in my opinion so it is really great to release this for Unity I hope one day I or someone has the time to port to Mono so it can be used on Macs even with the 140 pinvokes it would be a good spread mechanism for mono With Unity3d coming to windows soon UnityDevelop could be a good go to IDE for unity if you aren t using solely C with VS NET Currently this is based on FlashDevelop2 source code Video Overview of UnityDevelop UnityDevelop Walkthrough from Flashbang Studios on Vimeo Downloads Download UnityDevelop 2 9 MB Source Code Thanks flashbang Tags autocomplete blurst editor flashbang flashdevelop IDE intellisense JAVASCRIPT unity unity3d unityscript Posted in NET 3d APPLICATIONS ARCHITECT C CODE DESKTOP DEVELOPMENT GAMEDEV GAMES JAVASCRIPT OPEN SOURCE PROGRAMMING TECHNOLOGY TOOLS 1 Comment Mini Javascript Version of Papervision3D like Engine with Canvas Pseudo 3d with 2d Wednesday February 18th 2009 Looks like it is a javascript day here at drawlogic Here is an interesting example with some demos of a javascript and canvas based pseudo 3d engine Anything this cool you know it has to be from Japan Also of note it has been rumored that Silverlight 3 will have fully hardware accelerated 3d and canvas and javascript engines are getting much faster with great demos like this Adobe needs to leap into hardware acceleration for flash on a broader scale soon But I digress this demo it appears was inspired by Papervision3D due to the naming and the javascript reference of parpevision js I wasn t able to find much more information about this but it is very well done and this example even shows some environment mapping It is not close to flash pseudo 3d engines like Papervision3D yet but at the rate of javascript engine development lately this could rival flash AVM2 in the next couple of years Demos Cloth Miku Character Enviroment Mapping Code Sample iPod iTouch Mesh data meshdata js contains models Code from the main engine parpevision js Sample Viewport and main app touch js from demo 3 Here is the code for the parpevision js file and the mini engine it is an MIT license more Tags 3d canvas ENGINE FLASH japan JAVASCRIPT PAPERVISION papervision3d pseudo Posted in 3d 3D ENGINES CODE DEVELOPMENT ENGINE GAMEDEV GAMES JAVASCRIPT LIBRARIES OPEN SOURCE PAPERVISION RENDERING TECHNOLOGY 1 Comment AS3 CASALib Useful Library of Common Functions and Tools for Flash Thursday December 4th 2008 When you do lots of any language you build up libraries over time that are time savers that are repetitive and tedious if you do not consoildate into a library Taking a look at the CASALib an as3 library of common functions for flash that was released I have many of the same things in my libraries but CASALib just has lots of extras that go a bit deeper than some libraries is very clean and is organized pretty well One cool thing about it is the IDestroyable interface and the CasaMovieClip CasaSprite CasaTextField etcthat all have a destroy method that cleans up all events removed instances and even removes it from the parent display object Gets me thinking why this isn t just part of DisplayObject in the first place From the release Here are a few of our favorite things in CASA Lib AS3 Standardized external load API Easily remove listeners with IRemovableEventDispatcher destroy methods make garbage collection easy Large group of utility classes for common manipulations We will be elaborating further the power of CASA Lib in future blog posts As with any new release there will be bugs that emerge but with your help we promise to release updates often to keep CASA Lib as stable as possible 1 0 0 Downloads Documentation ZIP http as3 casalib org releases 1 0 0 1 0 0 zip SVN http svn as3 casalib org releases 1 0 0 Documentation http as3 casalib org releases 1 0 0 docs source more Tags ACTIONSCRIPT ACTIONSCRIPT3 AS3 casalib library TOOLS utility Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 CODE DEVELOPMENT FLASH FLEX GAMEDEV LIBRARIES OPEN SOURCE PROGRAMMING TECHNOLOGY TOOLS 6 Comments as3Query Actionscript Port of jQuery Thursday April 24th 2008 This is older from january somehow I missed it but nitoyon has created an AS3 port of jQuery jQuery is my favorite javascript tool besides javascript itself Mootools prototype and others like mochikit are all great but jQuery was the first to do lambda chain decorating and others followed suit But having this power in as3 is a great thing selectors common access methods to properties methods etc All good stuff Again this shows the fun in as3 or ES4 based languages like Actionscript because people are porting all sorts of libraries to it If this performs I may just start using it daily TODAY For instance setting the stage align for use in full screen stage attr scaleMode noScale align TL That is too fun The only thing not cool about this is all the spam at nitoyon s blog How about a functional Tweener call function animate f Boolean void Select RoundRect elements using CSS selector RoundRect f odd even addTween rotation 90 scaleX 0 5 scaleY 0 5 time 0 6 delay 0 3 transition easeOutCubic addTween scaleX 1 scaleY 1 time 0 5 delay 0 9 transition easeOutElastic onComplete function void restore the rotation and call again this rotation 0 animate f animate false Stuff to see and try CSS Selector Demo Source code plain text 25 boxes and Tweener Source code plain text SVN http snippets libspark org svn as3 as3Query Tags ACTIONSCRIPT ACTIONSCRIPT3 AS3 cool FUNCTIONAL generators iteration jquery lambda script Posted in ACTIONSCRIPT ACTIONSCRIPT3 ALGORITHM APPLICATIONS ARCHITECT AS3 BEST OF CODE DEVELOPMENT FLASH FLEX FUNCTIONAL OPEN SOURCE PROGRAMMING TECHNOLOGY 10 Comments TweenMax Bezier Tweening Released for AS2 and AS3 by Jack at GreenSock And List of Animation Kits Sunday April 6th 2008 TweenMax Speed Test has been released that adds a main feature missing from GreenSock s offerings in tween animation libraries and kits over Tweener That is the bezier curve tween Tweener is very popular for use in PV3d and AS3 due to the bezier curve and Zeh s great example that is really the base of a possible 3d editor TweenMax now adds this and bezier tween capability for the GreenSock animation libraries Tweener and TweenLite have become the micro animation kits as well as micro kits you can make with Go base kits TweenLite TweenFilterLite and TweenMax divided up into different kits allows it to be embedded for banners or small assets easier if you don t need the filters or other advanced tweens this comes into play heavily with large games and asset collections when the compiled SWF each need the library Tweener packs all features into one kit for simplicity GreenSock kits are divided up for need The comparison together is about the same but for basic tweens TweenLite is only 2k Performance is one area that the kits from GreenSock have really shined and since the addition of the speed tests and benchmarks it has become a great focus on showing how the open source kits are much better than bloated included animation calls in Flash and Flex defaults I think all the kits have niches that they fit and Tweener and TweenLite are just very simple to use which adds alot to an animation kit success List of Animation Kits for AS3 some for AS2 as well Tweener GreenSock TweenLite TweenFilterLite TweenMax Speed Test Go Base Twease AS3Easing Animation Package Animation System If you are using the Flex of Flash default animation classes I am sorry Tags ANIMATION animation kit AS2 AS3 CODE kits tween tweening tweens Posted in ACTIONSCRIPT ACTIONSCRIPT3 ANIMATION ARCHITECT AS3 CODE FLASH FLEX GAMEDEV INTERFACE MARKET MOTION OPEN SOURCE PERFORMANCE PROGRAMMING RENDERING TECHNOLOGY VISUALIZATION Comments Off AS3 Cryptography and Hashing Libraries for Encryption and Security crypto Monday February 18th 2008 AS3 libraries for crypto are pretty robust from the new RAW POWER in the AVM2 virtual machine that runs flash9 as3 cryptography like compression is very processor intensive and needs a fair amount of power to be worth the time usually a balancing mechanism I am working on a few security apps in AIR and Flash9 for a project and a product so this is the best of what I have found to share I will be sure to post here when these projects are complete There are two that are pretty good as3 kits that have decent support for crypto and hashing actually as3crypto is quite broad in their support or most common crypto algorithms even hashing support up to SHA 256 and ciphers 3DES AES RC4 This is not really a comparison just some kits that have tools you might need as3crypto is definitely the way to go for more heavy ecryption with common ciphers but if you are just hashing some text as3corelib might work for your project as3corelib is a more broad toolkit that is made or sponsored by Adobe that has JSON RSS support and other tools It is a great core lib but not as deep in the encryption area I am actually using both in the stuff I am working on as3corelib for some other

    Original URL path: http://drawlogic.com/category/code/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » COMPANIES - web, mobile, game + interactive development » COMPANIES » COMPANIES
    only thing that partially makes it scary is the line up Sony Verizon etc As long as these are contributors and not partners in DRM crime then we have something Hopefully they are in it to make better entertainment and mobile platforms cheaper Being able to peer into the code and a move to allow better open integration makes it a better platform where better stuff can be built on top of that Let s hope it is done right Everyone is making Apple look really closed and locked down lately Open Screen Project Open Screen Project for Developers SWF Specification FLV Specification Tags AS3 FLASH flash player flv open screen project OPEN SOURCE swf XFL Posted in ACTIONSCRIPT ACTIONSCRIPT3 ADOBE ARCHITECT AS3 COMPANIES DEVELOPMENT FLASH FLEX MARKET OPEN SOURCE PROGRAMMING STANDARDS TECHNOLOGY 4 Comments A Take on Flash on the iPhone by Daring Fireball Wednesday February 13th 2008 Flash not being on the iPhone yet is quite telling of the type of company battles going on I like what Apple produces many times but they love a locked down environment more than Microsoft in fact Microsoft seems like an open company and open market that is for sure compared to Apple I am starting to think it will not happen Flash on the iPhone I have to boycott the iPhone for the type of closed environment that only non developers can love There are certain technologies open or not that become base technologies that create a platform of commonality to even make a market possible the mobile market seems to be doing everything to not let that happen Daring Fireball John Gruber has a good take on the situation There are currently two ways to develop software for the iPhone and iPod Touch using HTML CSS JavaScript web standards and using Cocoa Cocoa is proprietary but from Apple s perspective it s the good sort of proprietary a competitive advantage completely owned and controlled by Apple Apple doesn t control the HTML CSS JavaScript web standards but neither does anyone else And Apple does control and own WebKit which is by anyone s measure the best mobile implementation of these standards today Flash on the other hand is from Apple s perspective the wrong sort of proprietary owned and controlled by another company Apple and Adobe aren t enemies but they re certainly competitors and the history between the two companies is not entirely warm 1 In the grand scheme of things I suspect Apple s executives aren t happy at all about Flash s prominent and entrenched role in desktop computing particularly the fact that Flash rather than QuickTime has become the de facto standard for video on the web It is all about control The mobile market is wide open in ways that the desktop market is not E g in the mobile OS market Microsoft isn t even in first place let alone a monopoly And in the mobile world Flash is rare not ubiquitous Why would Apple help Adobe establish Flash as a de facto standard for the mobile web too If Flash does turn into a major force in the mobile world Apple can always add it later But why shouldn t Apple push for a Flash free mobile web future now As it stands today Apple is dependent on no one other than itself for the software on the iPhone Apple controls the source code to the whole thing from top to bottom 2 Why cede any of that control to Adobe Unfortunately if Gruber is right the mobile market will continue to be a lag in areas such as gaming vector based apps video competitive markets and many other things that lead to innovation I think some of the recent changes in mobile recently are extermely cool iPhone Android new flashlite but unfortunately they have added about 20 new directions that mobile developers have to develop for It is anything but a consistent platform even within the company silos being created in the mobile market Posted in ACTIONSCRIPT ACTIONSCRIPT3 ADOBE APPLE AS3 COMPANIES FLASH FLEX GAMEDEV GAMES MOBILE PERFORMANCE PROGRAMMING STANDARDS TECHNOLOGY USER EXPERIENCE 6 Comments Flash 10 Hydra and AIF Adobe Image Foundation and Hardware Rendering Tuesday October 2nd 2007 Adobe has announced the release of the inital developer views of AIF and Hydra in Astro the next version of the flash player 10 AIF Adobe Image Foundation like AIR Adobe Integrated Runtime is a new technology just out of the gate but it does show that Adobe is into innovating and the vector wars AIR is beta2 and Flash player 9 moviestar updates for video are coming along nicely but here we have more news out of MAX in Chicago that AIF is now available What is AIF It is a new imaging and effects technology to help people create their own filters for Flash blur drop shadow etc are defaults Hydra the new language for this is reminiscent of processing org if you haven t been to flight404 com since the 90 s then processing is all it is about there and Cg from nVidia to write and test shaders The fact that it is based on GLSL OpenGL Shading Language will help it easily port shaders coming in 3d gaming into Flash which is really sweet The direction slowly is that Flash and maybe Silverlight will become more of gaming platforms and this is a nice point in that direction From Adobe here is what AIF is Introduction to the Adobe Image Foundation Toolkit Technology Preview The Adobe Image Foundation AIF Toolkit preview release includes a high performance graphics programming language that Adobe is developing for image processing codenamed Hydra and an application to create compile and preview Hydra filters and effects The toolkit contains a specification for the Hydra language several sample filters and sample images provided by AIF team members The AIF technology delivers a common image and video processing infrastructure which provides automatic runtime optimization

    Original URL path: http://drawlogic.com/category/companies/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » CONFERENCE - web, mobile, game + interactive development » CONFERENCE » CONFERENCE
    success on iPhone games probably combined to get this in motion OpenGL and very basic video cards are now standard in most machines out there Unity3D actually published hardware statistics on casual gamers web based games ever so kindly and shows that even though there are some older Intel cards out there for the most part machines nowadays have a video card capable of supporting at least low poly 3d and hardware supported 2d rendering in real time for games user interfaces and more This is exciting news it appears the movement of the web gaming market is getting much more capable and is accelerating the innovation of hardware accelerating the web Tags 3d browser group JAVASCRIPT khronos OPENGL opengles RENDERING standard webgl Posted in 3d 3D ENGINES AWAY3D CODE COMPANIES CONFERENCE EFFECTS ENGINE GAMEDEV GAMES HAXE JAVASCRIPT LIBRARIES NEWS OPEN SOURCE OPENGL PROGRAMMING RENDERING STANDARDS TECHNOLOGY TORQUE 3D Uncategorized unity3d 10 Comments Open Source Flash Conference attend online Thursday June 14th 2007 Open Source Flash Conference June 15th UPDATE Change In Time The second Open Source Flash Conference will be held on June 15th The conference will start by 11 00 am Eastern Time This conference is completely free and to attend you only need a computer the internet and flash installed on your computer http osflash org blog 2007 06 12 open source flash conference june 15th Recorded Sessions Aral Balkan Keynote Speech https breeze itap purdue edu p53406718 Ralph Hauwert Papervision 3D https breeze itap purdue edu p83105421 Aral Balkan SWX https breeze itap purdue edu p62103321 Nicolas Cannasse Haxe Programming Language https breeze itap purdue edu p22188329 Firdosh Tangri ASWing Component Framework https breeze itap purdue edu p20838194 John Grden The Red5 Project https breeze itap purdue edu p20388149 Igor Costa Flex Applications using Flex 2 SDK and Granite Data Services and Conclusion https breeze itap purdue edu p19208031 Special Drum Solo John Grden https breeze itap purdue edu p38865264 Session Details Session 22 Start Time 06 15 2007 10 00 AM End Time 06 15 2007 4 26 PM Number of Attendees 838 Peak 256 Polls How do you rate this conference https breeze itap purdue edu admin meeting sco reports sco polls poll answer distribution interaction id 6712579 sco id 6438511 How good was John s Drum Solo https breeze itap purdue edu admin meeting sco reports sco polls poll answer distribution interaction id 6713919 sco id 6438511 Are you more design or development oriented https breeze itap purdue edu admin meeting sco reports sco polls poll answer distribution interaction id 6713995 sco id 6438511 You are using recently mostly https breeze itap purdue edu admin meeting sco reports sco polls poll answer distribution interaction id 6714276 sco id 6438511 ASWing https breeze itap purdue edu admin meeting sco reports sco polls poll answer distribution interaction id 6715098 sco id 6438511 Posted in ACTIONSCRIPT AS3 CODE CONFERENCE FLASH FLEX HAXE OPEN SOURCE PAPERVISION RED5 Comments Off Recent Posts Unity 5 WebGL and the Plugin

    Original URL path: http://drawlogic.com/category/conference/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » EFFECTS - web, mobile, game + interactive development » EFFECTS » EFFECTS
    some great features in SL3 beta it is still not done and it is still missing some key components that Flash has which make it very attractive in the interactive space Camera and Microphone support Macromedia hired one of the smartest dudes around in Jeremy Allaire back in flash 6 days to help add support for Flash Communication Server Flash Media Server now Camer and Microphone support One of the best R D periods at Macromedia SL needs this soon Printing support what was long a problem in Flash is so in SL there is no good printing support No GPU usage for Pixel Effects Shaders neither flash nor silverlight support hardware accelerated shaders in PixelEffects Pixelbender Pixel Effects Shaders need GPU support see Kevin Goldsmith s article on GPU mixed with CPU and how this may or may not be good However processors are speeding up and multi core helps software rendering the quality of GPU is well beyond what software rendering can deliver for a few years to come at least while architecture advances probably more like 5 10 years No UDP plans yet Adobe has RTMFP SL sockets has no public plans for adding UDP that I have seen No Alpha Channel in Video You can do this with a shader though but not supported by default Silverlight 3 Video Flash has the upperhand in video and probably will still even though SL3 has H 264 Flash added this at the same time and though they still have FLV which revolutionized web video they are now much broader in support in video than SL3 Silverlight has H 264 and VC1 support their own FLV like codec Still pretty cool a couple years ago there was no HD on the web now everyone has it in H 264 video support Currently nothing innovative mainly catchup still but here are some options Silverlight 3 beta and the video below the features and highlights will look very similar to flash and flash community advancements over the last couple years There is no innovation just yet But where that could happen is in socket support with UDP Flash has moved on this in RTMFP and the beginning of larger scale networking support with UDP with samples like stratus This is a huge differentiating feature for what I think will be game changer on the web it already is on desktop mmos in real time or closer to real time support for larger sets of users in online games like MMOs or virtual communities even tools to make request based real time sites like micro blogging faster and able to handle more users right now it is very linear if users get many followers UDP will allow a better distributed framework for messaging Local Storage Silverlight and Unity3D all need this Flash could use better support for this Local saving of a files for cache beyond the internet cache and greater than the 1MB 25MB limits of SL3 IsolatedStorage This is an issue when you are making large scale games in that you need to save lots of assets to a client but to make it economical you want ot save more than the default internet cache amount Flash Shared Object Local allow you to do this somewhat but it would be great to have a way to just download files for cache upon user agreement to store assets in bulk of allowable types images video models bundles to the file system Hardware rendering for 3d support and UDP support will put Flash and SL3 on par with the killer Unity3D kit for making online web games and other activex plugins like instantaction that allow you to do these things already The one thing SL has over Flash Flash and Flex are great But there is this massive division in the community and marketing of Flash Silverlight is entirely unified and this has much to do with starting clean at a time that interactive development is heading more into a technology and developers control Flash and Flex need to bring it together AS3 has been out long enough that the people with skills have hopped on and taken it to a new level mainly from programmers If Adobe created a version of Flash that was a new IDE and consolidated Flex and Flash into just Flash made the IDE as powerful as FDT or FlashDevelop3 there could be hope to bring the platform together I understand they had to work it in slowly because it was a designers platform really even though coders still pushed the limits in games and apps built on it so they had to tip toe carefully on this to not alienate people But now I think the division is a serious problem with the platform and must be addressed noone expected Silverlight to be this quick on at least SL3 features And even though the initial approach might have been bad as SL1 was a huge letdown Microsoft does not give up and you can see in the XBOX360 and DirectX that they are very pursuant DirectX really didn t become huge until version 7 so these guys won t relent I am not a huge fan of using the proprietary tools Even in Flash I use as much open source as I can even though the player is locked but Moonlight is something that trails Silverlight development and is a very unique thing in both open source and cross platform multiplatform development It is a clear relationship and aims to make Silverlight run on multiplatform mono including Linux This could win out in the end who knows Futures Great iterations of software happened this week in the latest unity3d version 2 5 that has windows support and the iPhone SDK 3 0 and now SL3 is quite a surprise in feature set I have been really busy this week just delving into all them and hope to start making more cool and useful projects in them The best part is right now is great to be an interactive or game developer as all major software companies and markets are focused on retaining good developers I don t recall a time other than the beginning the the web virtual land rush that has so many options and markets that skilled developers and designers can choose from Good times Tags beta browser DESKTOP EFFECTS PIXEL savedialog shaders SILVERLIGHT silverlight 3 sl3 VIDEO Posted in NET 3d APPLICATIONS ARCHITECT DESKTOP DEVELOPMENT EFFECTS ENGINE EXPRESSION GAMEDEV GAMES INTERACTIVE INTERFACE MARKET MICROSOFT moonlight PERFORMANCE PIXEL PROGRAMMING RENDERING SEO SILVERLIGHT STANDARDS TECHNOLOGY unity3d XAML 7 Comments AS3 Tween Engines Getting Lighter with GTweeny ByteTween TweenLite and TweensyZero Thursday February 5th 2009 Recently two compact tweening engines have been released Grant Skinner s GTweeny and laborat s ByteTween This adds to the two that focus on micro tween kit sizes in TweenLite and TweensyZero Basically these engines look to be micro and provide pretty nice features while being so small Micro tweening engines like GTweeny 3k ByteTween 1 7k TweenLite 2 7k TweensyZero 2 9k and Tweener 9k have varying levels of support of features Tweener being the most loaded with color and filter support without other kits just init also TweenLite with a nice configurator to include only what you need Micro kits have benefits when used for banners animated assets where you have many assets and the per asset savings is worthwhile and other places you just want really small output Light Transition ByteTween 1 7k This kit has a c version as well as a small as3 bytetween version The ByteTween static class eats only 1 7K of compiled clip With this size it supports Creation of tweens of any numeric property not color uint properties Pause Unpause Cancel operations based on the tween target and property Overlap system that cancel tweens of same property in order to avoid erroneous behavior Alpha tween with negative alpha support negative alpha sets the MovieClip visibility to false scale tween of both scaleX and scaleY properties OnComplete callback with any number of parameters Easy interface for creating new tweens Download light transition CS 0 5a zip zip c version Download thelab ByteTween zip TweenLite 2 7k base SPEED I m not aware of any popular tweening engine with a similar feature set that s as fast as TweenLite See the speed comparisons yourself Feature set In addition to tweening ANY numeric property of ANY object TweenLite can tween filters hex colors volume tint saturation contrast frames and even do bezier tweening plus LOTS more TweenMax extends TweenLite and adds even more capabilities like pause resume rounding event listeners timeScale and more Overwrite management is an important consideration for a tweening engine as well which is another area where the GreenSock tweening platform shines You have options for AUTO overwriting or you can manually define how each tween will handle overlapping tweens of the same object Expandability With its new plugin architecture you can activate as many or as few features as your project requires Or write your own plugin if you need a feature that s unavailable Minimize bloat and maximize performance Management features TweenGroup makes it surprisingly simple to create complex sequences and groups of TweenLite Max tweens that you can pause resume restart or reverse You can even tween a TweenGroup s progress property to fastforward or rewind the entire group sequence Ease of use Designers and Developers alike rave about how intuitive the GreenSock tweening platform is Updates Frequent updates and feature additions make the GreenSock tweening platform reliable and robust AS2 and AS3 Most other engines are only developed for AS2 or AS3 but not both Download TweenLite TweensyZero 2 9k base Here are some simple steps to help you get started with creating your first animations with TweensyZero TweensyZero is a light weight version of Tweensy most core features found in Tweensy are available to TweensyZero Documentation for TweensyZero can be found under the folder documentation zero or online Download TweensyZero gTweeny 3k gTweeny is gTween s lightweight younger sibling It strips a lot of the secondary features of GTween proxy timing modes etc in favour of smaller file size It is currently under 3kb Download gTweeny Here is a list of all open AS3 Micro Tweening engines 5k ByteTween 1 7k TweenLite 2 7k TweensyZero 2 9k gTweeny 3k Here is a list of all open AS3 Tweening engines and base kits Animation Package AS3 Animation System 2 1 AS3Easing Go base animation kit create your own tween engine gTween KitchenSync Twease Tweener 9k Tweensy TweenLite TweenMax The decision on which to use can be affected be features you want how it feels many use the same object syntax so it is dynamic what performance do they have all are orders of magnitude faster than the built in tween flash or transitions mx flex which size is ok author community support needed some are more active than others adding features or simplifying and tweaking performance methodically and many other factors There are definitely plenty to choose from Speed Tests for many Tween Engines Green Sock Tweening Comparison Tool Moses Benchmarking Tool relative comparison against SimpleAS3Tween sample For more on each features see their sites or these previous lists on tweening engines Updated List of Best Animation Packages for AS3 Tags ACTIONSCRIPT3 ANIMATION AS3 bytetween FLASH FLEX gtween gtweeny transition tween tweener tweenlite tweenmax tweensy tweensyzero Posted in NET ACTIONSCRIPT ACTIONSCRIPT3 ANIMATION AS3 DYNAMIC EFFECTS FLASH FLEX GAMEDEV GAMES OPEN SOURCE PROGRAMMING TECHNOLOGY Uncategorized 10 Comments Pixel Bender Assembler and haXe Tools For Reading and Writing PBJ Files Thursday December 4th 2008 Nicolas Cannasse is at it again This time with a PBJ Pixel Bender File binary file reader and writer in haXe and Pixel Bender Assembler tools What this can do is create and decompile PBJ files with haXe the possibilities are limitless to how this is used including dynamic pbj file creation The latest haXe file format library contains complete support to read and write PBJ file enabling you to write Pixel Bender assembler directly in haXe then compile it on the fly into PBJ bytes which can then be saved on disk or loaded directly in Flash I plan to have much more on Pixel Bender shaders in flash and Adobe Alchemy compile other languages to which is a very cool technology that involves LLVM that Nicolas also has lots of great input on Tags ACTIONSCRIPT ADOBE ALCHEMY AS3 bender PIXEL Posted in ACTIONSCRIPT ACTIONSCRIPT3 ADOBE ALCHEMY APPLICATIONS ARCHITECT AS3 EFFECTS ENGINE OPEN SOURCE PERFORMANCE PIXEL PIXEL BENDER PROGRAMMING TECHNOLOGY TOOLS VIRTUAL MACHINES Comments Off AS3 Augmented Reality in Flash and Papervision 3D and FLARToolKit Monday November 17th 2008 Augmented reality is a very cool technology It is the star wars holograms that we always want it is playing a game that maps out the physical world mixed with virtual assets it is straight up cool The FLARToolKit is doing some of this cool in Flash This little toolkit is pretty sweet mapping points and sets of points to patterns colors or other visual queues that technology can latch onto Combine this with a webcam and you have some pretty cool AR more Tags 3d ACTIONSCRIPT actionscript 3 ar AS3 augmented FLASH FLEX library PAPERVISION reality Posted in 3d ACTIONSCRIPT ACTIONSCRIPT3 ALGORITHM ARCHITECT AS3 DEVELOPMENT EFFECTS FLASH FLEX GAMEDEV MOTION OPEN SOURCE PAPERVISION PROGRAMMING RENDERING TECHNOLOGY VIDEO VISUALIZATION 23 Comments AS3 Zupko s Reflections and Shadows with Raycasting in Papervision 3D Sunday August 24th 2008 The Zupko show continues with reflections in Papervision 3D demo Be sure to check out the shadow demo that this is based on After posting my shadow experiment Patrick Matte posed a question wondering if I would be able to do real time reflections in a similar manner The next day I had it done along with some nice iterations along the way orthographic and perspective projection I can release those later if anyone really wants them I ve been sitting on it every since and finally decided I would take the time to write a little description into how its done and give the code to those who are interested and I fixed up some code for backface culling in the reflection this morning View the reflections demo View the reflections post View the shadow demo View the shadow post Tags 3d AS3 FLASH orthographic PAPERVISION projection reflections Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 DEVELOPMENT EFFECTS ENGINE FLASH FLEX GAMEDEV isometric OPEN SOURCE PAPERVISION PROGRAMMING RENDERING TECHNOLOGY 2 Comments More Creative Flash AS3 Papervision 3D Games Tuesday August 5th 2008 Here are some really stylish and well done uses of Papervision 3D to make fun games The people at Bloc recently launched Meta4orce a unique interactive sci fi TV show site with some great and numerous uses of papervision 3d My favorite is the tron like style and the tower defense game called shock to the system Shock to the system Mako User Interface Deadsphere Pt I and many more check them out at Iain Lobb Tags 3d AS3 branch EFFECTS engines FLASH FLEX great PAPERVISION white Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 DESIGN DEVELOPMENT EFFECTS FLASH FLEX GAMEDEV GAMES MARKETING PAPERVISION PROGRAMMING TECHNOLOGY 4 Comments AS3 Flash 3D Engine SWFZ Source Code Goes Open Source Friday April 11th 2008 Jono is giving SWFZ to science and the open source devices The SWFZ engine is one Flash 3D engine that took a different approach It is a bit early in its technique used but the author at custom media Jono has decided to float the source code out there in ghost mode no active development but not dead It is just ready to branch and others to run with it He is floating the source but I think in 1 2 years this will be the preferred method if processors and multicore parallel usage is optimized We shall see The implementation method and difference with SWFZ engine in Flash for 3d is that is is a pixel based renderer or scanline It is based on a really fun game engine called Irrlicht which has been pretty active for the last few years but is a C DirectX and OpenGL engine Since SWFZ has to run in Flash and it is a pixel renderer scanline it has some limitations currently in Flash Games and renders have to be fast to pull this off and Flash is limited by the software renderer but as computers get multiple processors and flash player gets better at this then this will be a viable option it is the same thing that limits Canvas based renderers right now One main problem with this is you can t go too full screen the biggest sizes that perform well are smaller windows 320 240 etc But if the processors can handle it it is actually more efficient when it removes overlap extra triangle drawing and painters algorithm like problems dont pop up triangle overlap when on same plane This method draws pixel by pixel but fast enough flash engines like Papervision Sandy3D and Away3D draw overlaps due to the drawing technique back to front But SWFZ still manages to pull off some amazing feats such as these demos Quake Demo Terrain Demo Yoshis Hip Hop Couzin Jono has put some great classes into SWFZ engine such as bsp parsers quake md2 parsers animated mesh and lots of great examples in porting C Irrlicht to AS3 This was a very early example of how AS3 was fun for programmers to port stuff from C or C into Flash AS3 is just fun Also be sure to check the site for more samples like an FPS game some basic ai etc Jono has been working on 3d in Flash for a while and actually this message is what shows the difference betweeen this approach and other flash engines the way Papervision Sandy and

    Original URL path: http://drawlogic.com/category/effects/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » HAXE - web, mobile, game + interactive development » HAXE » HAXE
    virtual memory API more on this soon The Structures Included Multi Dimensional Arrays The library contains a two dimensional and three dimensional array They are both implemented by a single linear array rather than nested arrays This is the fastest method in flash to simulate multi dimensional arrays and outperforms the nested array method because multiple array lookups are slower compared to one lookup combined with a simple arithmetic expression which you can also often precompute in the outer loop The most obvious application would be a tilemap in 2d or a layered tilemap in 3d Queue This is also called a FIFO structure First In First Out The queue comes in two variations which have the same methods but differ in their implementations There is the arrayed queue which obviously uses an array internally and the linked queue which is build upon a linked list They are both very similar except that the arrayed version has a fixed size and is faster A common application would be a command queue imagine you have a unit in a strategy game and apply many commands which the unit should follow All commands are enqueued and afterwards dequeued and processed in order Stack Also commonly know as a FILO structure First In Last Out Like the queue this comes in two flavors arrayed and linked A stack is often not used directly but a very important concept in programming Please note that a queue and a stack are not real structures because they just define how data is accessed rather then stored Tree A node based structure Every tree starts from a single node called the root node The root node can contain any number of child nodes and every child node can again contain children A tree node with no children is called a leaf node In fact if you draw the nodes of a tree it looking like a real tree with branches The AS3 display architecture is also a tree structure so you could use this to manage your display objects and update them by traversing through the tree Also this is useful for decision trees BVHs storing a plot line or storing data recursively by applying the composite pattern Binary Tree This is just a specialized kind of tree where each node is only allowed to have up to two children called the left and right node Binary trees are very often used for parsing input data for example arithmetic expressions or when building a scripting system Binary Search Tree BST and Hash Table Both structures store data that can be retrieved quickly by using a key The method however differers greatly The BST uses a recursive approach to split up large amounts of data into smaller sets A hash table stores sparse key based data using a hash key in a small amount of space Linked Lists A linked list is similar to an array The main difference is that in an array each cell contains just the data and is accessed by an index A linked list consists of several node objects which in addition to storing the data manage a reference to the next node singly linked or to the next and previous node doubly linked in the list Think of it as a more natural approach to work with sequential data Other benefits are that you can insert and remove data quickly by just calling the appropriate method on the node itself you don t have to manage array indexes Also in AS3 object access is faster than array access so it competes very well in terms of performance when iterating over the list Heap and Priority Queue A Heap is a special kind of binary tree in which every node is bigger than its child nodes Whatever you throw into a heap it s automatically sorted so the item with the most significant value depending on the comparison function is always the front item A priority queue is build upon the heap structure and can manage prioritized data which can be used in limitless ways Graph A graph is a loose node based structure Nodes are connected with arcs and every node can point to any other node They can also point to each other creating a bi directional connection It is essential for path finding AI soft body dynamics with mass springs systems and a lot more Bit Vector A bit vector is some kind of array in which you can store boolean values true false 1 0 as close as possible without wasting memory I currently can t think of a reasonable application because usually you should have enough memory but it s nice to have because it shows basic bit masking operations Tags ACTIONSCRIPT ACTIONSCRIPT3 array2 array3 AS3 bitvector DATA graph HAXE port queue structures VECTOR Posted in ACTIONSCRIPT ACTIONSCRIPT3 APPLICATIONS ARCHITECT AS3 FLASH FLEX GAMEDEV GAMES HAXE LIBRARIES OPEN SOURCE PERFORMANCE PROGRAMMING STANDARDS TECHNOLOGY 4 Comments haXe 2 01 Now with Flash 10 Support Saturday October 4th 2008 Nicolas Cannasse has released haXe 2 01 that now has flash 10 support with a simple switch including the new Vector class Another very good news is that haXe has now complete support for Flash 10 You only have to use swf version 10 as commandline parameter to be able to access the new Flash10 APIs don t forget to install first the FP10 from labs adobe com I think it is very possible for haXe to catch on big time but it takes time as stated Just remember that Python was worked on almost solely by Guido van Rossum for about 5 years and then 10 years later it was picked up by Google heavily and the rest is history I think it takes 10 years for anything to really catch on from standards to languages code swarm Python from Michael Ogawa on Vimeo Tags ACTIONSCRIPT AS3 FLASH flash10 HAXE neko open source vm Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 DEVELOPMENT FLASH FLEX GAMEDEV HAXE MARKET OPEN SOURCE PROGRAMMING TECHNOLOGY 6 Comments AS3 FVorbis Flash Ogg Vorbis Player Saturday October 4th 2008 This project is stacked with cool but is also useful an ogg vorbis player in flash as3 Arek Korbik at barelyfocused implemented a port for a pure Ogg Vorbis audio library called FVorbis Check out the demo need flash player 10 Groovy The name is FVorbis Which stands for more or less Ogg and Vorbis in Flash That s right pure ActionScript 3 implementation of the Ogg and Vorbis libraries that require no kind of native support from the Flash Player A simple Vorbis player implemented using the new FVorbis lib compiles to about 46KB SWF file And that s it To top it off the code is actually written in haXe a favorite of the flasherati This version was iterated from the Cortado s JOrbis code Ogg Vorbis is a great open source audio format which is widely popular in game engines such as recent tools like Unity3D which will be launching their iPhone dev kit on Oct 22 btw but I digress so it is great to see it starting to appear in flash Thanks Arek Try the sample Get the code bzr Tags ACTIONSCRIPT actionscript 3 AS3 AUDIO CODE FLASH FLEX HAXE music ogg vorbis Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 AUDIO DEVELOPMENT FLASH FLEX GAMEDEV HAXE LIBRARIES OPENSOURCE PROGRAMMING TECHNOLOGY 10 Comments Physaxe 2D Flash Physics Kit for haXe and List of Flash Flex Actionscript Physics Engines for AS3 Sunday April 6th 2008 Nicolas Cannasse a virtual machine genius maker of MTASC compiler Neko and haXe haXe compiles to target flash 6 9 but really only flash 9 is used anymore unless you are making banners released the Physaxe 2D Physics kit for haXe today It is heavily based on Glaze demos and Box2D which the Motor2 Glaze and Box2DFlashAS3 physics kits are all based on Box2D is a great C 2D physics engine it is simple which lended itself to being ported to AS3 quite easily It is also a testament to AS3 that C kits are being ported into the language not once but many times Also C ports like Chipmunk and other signs point to AS3 is of fun Physaxe is quite amazing you must see the demos very similar to Glade demos it will get the inspirational wheels turning in your idea machines 2D Physics in Flash and AS3 are extremely hot and can be used for many many things from game development to promotions to simulations to user interface or visualizations and even modeling natural systems It is nice to have a port of Box2D and similar to glade capabilities with Chipmunk like Glade has A game and physics engine for Flash including Rigid Body Dynamics Scene management Line of sight User Input Scrolling AI Core parts of the physics solver and collision system are based on the C physics engine Chipmunk Notes about Physaxe Physaxe is a 2D Rigid Body Library written in haXe It s been highly optimized for the Flash 9 Player with the best optimizations available Physaxe is based on several existing physics engines mainly Box2D the reference open source physics engine Glaze an AS3 engine which is a port of Chipmunk itself based on Box2D Physaxe features are rigid body consisting in several shapes shapes supported are circles segments with rounded edges and arbitrary convex polygons customizable broadphase currently bruteforce and y sorted list are available island resolution and sleeping allow 0 CPU to be spent when groups are sleeping constraint solver based on Box2D sequential impulses customizable body properties such as linear angular friction and maximized motion Demo Post about the release Physaxe haXe Kit on Google Code Updated list of physics engines are like this AS3 3D Physics Engines Open Source WOW Engine AS3 2D Physics Engines Open Source APE Actionscript Physics Engine Box2DFlashAS3 FOAM Glaze Motor2 haXe 2D Physics Engines Physaxe Get your game on It is best to get them out early and often I need to take my own advice Tags 2d AS3 box2d box2dflashas3 ENGINE FLASH FLEX foam glade list motor2 OPEN SOURCE PHYSICS Posted in ACTIONSCRIPT ACTIONSCRIPT3 ALGORITHM ARCHITECT AS3 DYNAMIC ENGINE FLASH FLEX GAMEDEV GAMES HAXE OPEN SOURCE PERFORMANCE PHYSICS PIXEL PROGRAMMING RENDERING TECHNOLOGY VISUALIZATION Comments Off AS3 Convert Python Code to Flex AS3 with flex pypy Thursday March 20th 2008 I have officially been sucked into the Python vortex I recently have really been digging IronPython Jython and good old plain Python but have not ventured here yet Google They employ Guido Microsoft IronPython and Sun Jython are all becoming infected pythonistas as well But this is just too cool Python to AS3 code with flex pypy This project is very young but could be fun source at Google Code Haxe has a similar premise where it can compile to Flash6 9 versions of actionscript 2 3 which makes for a system with better reach Python code for this is lots of fun and very flexible Python is becoming a baseplane language and one great language for transcending platform lock in Check out this snippet pulled from here click to see sample game usr bin env python This simple example has very little to do with the pygame chimp example except that it will act the same more or less and it uses the same resources only they got converted to mp3s pngs Import Modules from pypy translator flex modules flex import class MyRect def init self x y w h self x self y self w self h x y w h SCREEN W 468 SCREEN H 60 class Game def init self pass def init self screen self screen screen screen layout absolute screen setActualSize SCREEN W SCREEN H screen addEventListener mouseMove mousemotion screen addEventListener enterFrame do loop screen addEventListener click chimp whip self bg load sprite py background png self screen addChild self bg self chimp load sprite py chimp png self screen addChild self chimp self orig y self chimp y img2 self fist load sprite py fist png self screen addChild img2 img2 move 400 img2 height 2 self move 1 self spin 0 self hit 0 self hit move 1 self sfx self sfx whip load sound resource py punch mp3 self sfx nohit load sound resource py whiff mp3 def loop self img self chimp if self spin self spin 1 img rotation self spin 24 else img x self move 8 if img x SCREEN W img width self move 1 if img x Tags ACTIONSCRIPT ACTIONSCRIPT3 AS3 CODE FLASH FLEX flex pypy pypy PYTHON Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 BASEPLANE DEVELOPMENT DYNAMIC FLASH FLEX FUNCTIONAL HAXE MARKET OPEN SOURCE PROGRAMMING PYTHON STANDARDS TECHNOLOGY 5 Comments haXe Video 1 0 Released Saturday December 15th 2007 haXe one of the coolest and most versatile languages and platforms of today just released something to add to the already amazing feature set of haXe Nicolas Cannasse has posted about releasing haXe Video 1 0 I have been engulfed by Red5 for a few weeks and this could not have come at a better time for fun haxeVideo is an opensource video streaming server entirely written in haXe Features of haXe Video 1 0 FLV streaming using RTMP protocol Webcam and Microphone recording to FLV file Live streaming for web conferencing light and fast scalable server only 50 KB of server source code modify whatever you need Links haXe video at google code Blog post on the release haXe video site Latest News about haXe Introduction to haXe The haXe Language Reference haXe Documentation Download haXe files Projects related to haXe License of haXe The haXe Community Blog Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 BASEPLANE TOOLS CODE DATA DEVELOPMENT ENGINE FLASH FLEX HAXE MOTION OPEN SOURCE PROGRAMMING RED5 TECHNOLOGY TOOLS VIDEO 5 Comments MosesProposes Standardizing Animation and Motion Kits for Flash Flex After Effects Javascript and I add Director and haXe Saturday November 17th 2007 The Proposal Moses the maker of FuseKit is hoping to influence Adobe product lines to include a common base for animation and motion going forward Currently the AS3 world is very alive and is inspiring developers like myself to build lots of toolkits and really creating reusable code and kits that can make things very easy from going to Flash to Flex But wouldn t it be nice if a part of these kits that have to be downloaded every time you have an application use them be part of the native Adobe applications or a core animation kit that partially standardizes animation basics to build upon further Are we just asking for trouble or is this a good idea I don t think it can hurt to bring this to the surface I know that common syntax and familiar kits can really help the developers and designers move from Flash to Flex to After Effects to Javascript it could also help Adobe with usage and usefulness of their entire suite of products Or further this could be a standard that allows Silverlight to also build upon open standard and may the best platform win I think it would be very wise for Adobe to Standardize animation toolkits across their products and Start standardizing some of the basic tools of building motion and filter kits to native but still allowing a flourishing open source and community research and development aspect What MosesProposes Blog entry by Moses on this topic Diagram Current Situation Diagram Proposed Core Library Moses did speak with someone at Adobe about this and it is generally in the plans It was also a pleasure to see Richard Galvan present the upcoming crop of Flash features the sleek update to the animation timeline better late than never support for columnated flowing text double finally and the big one native 3D player support for Display Objects as rotatable 2D planes He ran out of time and didn t get to a few others shown at Adobe MAX such as built in IK inverse kinematics and faster pixel level drawing for texture mapping and photoshop like filter effects Talking to him after the presentation I learned that Richard has a keen awareness of exactly where each feature is at currently We chatted about low level animation mechanics of the Flash Player and I found out that the holy grail of a time based player is indeed on the distant horizon but that each rev will need to be a small step toward this goal The new Flash timeline features meld After Effects Premiere and Live Motion and from what I ve seen I have to say that they are nailing this long overdue upgrade with great design decisions and a level of usability we ve never seen in Flash Kudos team The Current Situation Right now Tweener and TweenLite and animation package and a few others have a unique position in that they work the same almost for AS2 and AS3 Flex or Flash with minor property changes such as x to x as that has changed in AS3 But it would be nice if these kits also had a version for After Effects really bringing that tool into Flash flex developer worlds and Javascript and it would be great if Silverlight also were supported AgTweener anyone Tweener is leading the pack in this aspect of creating a similar experience from AS2 to AS3 in Flash and AS3 in Flex and even JSTweener for Javascript and a kit for haXe which is becoming my favorite toy and the dark horse with the most upside potential with haXe on the loose these points may all be moot as haXe can target any platform except After Effects easily correct me if I am wrong and Silverlight but it could easily be done so to do it for Silverlight 1 0 which is ES3 based I don t use After Effects as much right now but if I

    Original URL path: http://drawlogic.com/category/haxe/ (2016-02-09)
    Open archived version from archive

  • *drawlogic » LIBRARIES - web, mobile, game + interactive development » LIBRARIES » LIBRARIES
    the Python addiction check it Description AmFast is a Flash remoting framework for Python AmFast can use AMF to communicate between Python and Flash Flex and any other system that supports AMF AMF is a binary object serialization protocol used by Actionscript based applications Server Features Support for NetConnection and RemoteObject RPC Support for Producer Consumer push messaging with HTTP polling HTTP long polling and real time HTTP streaming channels Support for authentication with NetConnection and RemoteObject Flexible Target mapping system to map message destinations to invokable Target objects Support for ChannelSets with multiple Channels to expose resources in different ways Built in Channels for CherryPy Twisted Web and plain WSGI Support for configurable Endpoints Use AmFast s built in AMF encoder decoder C extension or use an external AMF encoder decoder such as PyAmf for a pure Python implementation AMF Encoder Decoder Features AMF0 AMF3 encoder decoder written in C as a Python extension for speed More than 10x faster than the PyAmf encoder decoder even when using PyAmf s optional C extension Map custom classes with ClassDef objects for complete control over serialization de serialization Full support for IExternalizable objects Data persistence with SqlAlchemy including remotely loadable lazy loaded attributes Actionscript code generation from ClassDef objects Tags ACTIONSCRIPT AMF AMF0 AMF3 AS3 messaging PYTHON remoting services web Posted in ACTIONSCRIPT ACTIONSCRIPT3 AMF APPLICATIONS ARCHITECT AS3 DEVELOPMENT FLASH FLEX GAMEDEV GAMES LIBRARIES OPEN SOURCE PYTHON TECHNOLOGY tracking 9 Comments Flash 3D Engine Yogurt3D based on OpenGL Thursday April 30th 2009 Yogurt3D flash based 3d engine appeared recently and is another flash based 3d engine which is based on OpenGL called SwiftGL and is stated as open source The site mentions that OpenGL source can be converted to run in the engine You can do this now with Alchemy although it is in very early stages It is not clear if it is an automatic conversion or if it simply means it is similar in syntax and method signatures objects etc I definitely will be watching and see how it progresses there isn t much other than a single post about the engine so far and no info on the api or sample code Looking forward to seeing more the z sorting is quite nice Doesn t appear like collisions are there yet but it has a nice look Sometimes excellent toolkits come out of the blue like this such as Ffilmation isometric flash engine or Alternativa flash 3d engine flash 10 focused so you never know Tags 3d ENGINE FLASH OPENGL swiftgl yogurt3d Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 APPLICATIONS AS3 GAMEDEV GAMES LIBRARIES OPEN SOURCE PROGRAMMING RENDERING TECHNOLOGY 4 Comments AS3 Version of OpenCV for Facial Detection Web Cam Object Detection Head Tracking 3D Library Integration and more with Open Computer Vision Library for Flash Monday March 16th 2009 Libspark from Japan is a treasure trove of great flash advancements they seem to realize the great things that can come from porting in existing solid libraries from C C etc into flash and have been scoring lately including augmented reality in flash porting the ARToolkit to FLARToolkit Recently a port of openCV for as3 called Marilena was found and it is for object detection and decent facial recognition it is a computer vision library from intel considering the processing power needed to do this Face Detection Here is the sample included with Marilena showing facial detection on an image Lots of recent action has blown up on this front from Mr doob quasimondo optimizing the Marilena classes for better performance and Boffwswana Also there is a kit called deface by sshipman that is the first foray into this a year ago doing similar things but it was just a bit before it s time and a bit slow in previous versions of flash it performs decent now in this sample Flash 10 performance of the AVM2 and future directions with Alchemy will lead to more interesting stuff just like this Mr doob head tracking sample be sure to check lots of other examples there Boffswana example of head tracking Johnny Lee Wii style with only a webcam and flash no wiimote needed since it uses facial detection to check where you are and how close you are in the screen and then moves accordingly This is stemming from the recent explosion of the FLARToolkit and augmented reality in flash as well as the gimmicks used by Nintendo with the wii and Johnny Lee s great head tracking advancements Porting great libraries to flash seems to be the phase we are entering now judging by the recent excitement around Adobe Alchemy and the LLVM along with the lead from the libspark org contributors We have also seen this heavily last year in ports of Box2D for 2d physics and other toolkits using established working code and porting that to flash now that is is mostly capable of handling the performance OpenCV Open Computer Vision Library by Intel is quite a powerful platform that allows you to do all this and now it is available in flash There are other great libraries for nearly all platforms now I have done some previous work with Aforge which is also a port of OpenCV mainly for motion detection This was always around but not until the recent performance updates and the innovation that has come with Alchemy and the thinking that goes along with that porting in libraries to flash from C C etc has allowed this to flourish in flash and thus the web The amazing new things we can do with flash by porting in existing libraries is only going to get more intense as alchemy and flash 10 are even more mainstream It is almost as if Flash will eventually just become a web renderer and simplified front end to many great toolkits that exist in more native environments like C C but with the speed and distribution access of the web with Flash Exciting times ahead Tags 3d ACTIONSCRIPT AS3 detection face FLASH flash 10 head libspark marilena MOTION opencv recognition tracking visual Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 ADOBE ALCHEMY APPLICATIONS ARCHITECT AS3 BEST OF CODE ENGINE FLASH FLEX GAMEDEV GAMES LIBRARIES MOTION OPEN SOURCE PAPERVISION PERFORMANCE PROGRAMMING RENDERING TECHNOLOGY TOOLS Uncategorized 5 Comments AS3 Data Structures for Game Developers Ported to haXe as hx3ds Which Performs Faster Friday March 13th 2009 Polygonal labs maker of some of the best demos information and tools for AS3 since inception updated the killer AS3 Data Structures for Game Developers and ported it to haXe Of course along the way making many improvements and showing great information on how and why the haXe version is faster which mainly boils down to a more strict virtual machine but flexible still with generics haXe is fast because it is a very highly optimized virtual machine language with compiler and could be called a virtual machine to target other VMs similar to LLVM with the ability to target the Neko VM AVM2 or Javascript it is more than just a language by Nicolas Cannasse that may one day overtake directly coding for the AVM2 or maybe we will even see haXe have more influence on flash soon for performance gains Some of the Alchemy LLVM virtual machine work is similar in nature to what haXe does and helps the language become an abstraction and translates into highly optimized code from very powerful and productive language syntax Anyways I ramble be sure to check out Data Structures for Game Developers by Polygonal Labs now ported for haXe as hx3ds if you are doing any sort of work in AS3 or haXe for AS3 it will be worth your while and provide a very common and useful data structures capabilities into your production that is highly optimized from one of the best AS3 developers As the name suggests hx3ds is a port of as3ds for haXe and is now available at lib haxe org hx3ds only supports the flash player 10 target as it makes extensive use of the Vector class If you need data structures that compile across all platforms take a look at colhx instead Here s a list of new features orders of magnitude faster collections now support clone and shuffle operations object pooling framework revised graph tree and linked list classes memory manager for the virtual memory API more on this soon The Structures Included Multi Dimensional Arrays The library contains a two dimensional and three dimensional array They are both implemented by a single linear array rather than nested arrays This is the fastest method in flash to simulate multi dimensional arrays and outperforms the nested array method because multiple array lookups are slower compared to one lookup combined with a simple arithmetic expression which you can also often precompute in the outer loop The most obvious application would be a tilemap in 2d or a layered tilemap in 3d Queue This is also called a FIFO structure First In First Out The queue comes in two variations which have the same methods but differ in their implementations There is the arrayed queue which obviously uses an array internally and the linked queue which is build upon a linked list They are both very similar except that the arrayed version has a fixed size and is faster A common application would be a command queue imagine you have a unit in a strategy game and apply many commands which the unit should follow All commands are enqueued and afterwards dequeued and processed in order Stack Also commonly know as a FILO structure First In Last Out Like the queue this comes in two flavors arrayed and linked A stack is often not used directly but a very important concept in programming Please note that a queue and a stack are not real structures because they just define how data is accessed rather then stored Tree A node based structure Every tree starts from a single node called the root node The root node can contain any number of child nodes and every child node can again contain children A tree node with no children is called a leaf node In fact if you draw the nodes of a tree it looking like a real tree with branches The AS3 display architecture is also a tree structure so you could use this to manage your display objects and update them by traversing through the tree Also this is useful for decision trees BVHs storing a plot line or storing data recursively by applying the composite pattern Binary Tree This is just a specialized kind of tree where each node is only allowed to have up to two children called the left and right node Binary trees are very often used for parsing input data for example arithmetic expressions or when building a scripting system Binary Search Tree BST and Hash Table Both structures store data that can be retrieved quickly by using a key The method however differers greatly The BST uses a recursive approach to split up large amounts of data into smaller sets A hash table stores sparse key based data using a hash key in a small amount of space Linked Lists A linked list is similar to an array The main difference is that in an array each cell contains just the data and is accessed by an index A linked list consists of several node objects which in addition to storing the data manage a reference to the next node singly linked or to the next and previous node doubly linked in the list Think of it as a more natural approach to work with sequential data Other benefits are that you can insert and remove data quickly by just calling the appropriate method on the node itself you don t have to manage array indexes Also in AS3 object access is faster than array access so it competes very well in terms of performance when iterating over the list Heap and Priority Queue A Heap is a special kind of binary tree in which every node is bigger than its child nodes Whatever you throw into a heap it s automatically sorted so the item with the most significant value depending on the comparison function is always the front item A priority queue is build upon the heap structure and can manage prioritized data which can be used in limitless ways Graph A graph is a loose node based structure Nodes are connected with arcs and every node can point to any other node They can also point to each other creating a bi directional connection It is essential for path finding AI soft body dynamics with mass springs systems and a lot more Bit Vector A bit vector is some kind of array in which you can store boolean values true false 1 0 as close as possible without wasting memory I currently can t think of a reasonable application because usually you should have enough memory but it s nice to have because it shows basic bit masking operations Tags ACTIONSCRIPT ACTIONSCRIPT3 array2 array3 AS3 bitvector DATA graph HAXE port queue structures VECTOR Posted in ACTIONSCRIPT ACTIONSCRIPT3 APPLICATIONS ARCHITECT AS3 FLASH FLEX GAMEDEV GAMES HAXE LIBRARIES OPEN SOURCE PERFORMANCE PROGRAMMING STANDARDS TECHNOLOGY 4 Comments ODE Open Dynamics Engine 3D Physics Engine Running on Flash Player Using Alchemy Saturday February 28th 2009 Alchemy is going to shake things up a bit As witnessed before from Quake running in flash and now ODE compiled to run in flash using Alchemy LLVM based It is an early test but shows what could be possible Mihai Pricope has a post with sources on how he got the ODE Open Dynamics Engine a great open source physics engine for 3D running on the AVM2 Flash Player virtual machine I ve took Alchemy for a test and decided to compile ODE Open Dynamic Engine Just to add yet another physics engine to the Flash World It was a hell of a ride but I finally got to produce some bouncing balls For a still unknown reason some as 3d libraries have been very slow to render 6 translucent walls and 2 balls Papervision3D seems to move quite decent You can download the ode sources from here To recompile them do you need to have the Alchemy environment turned on Flash 10 will become mainstream shortly and with that the possibilities of using Alchemy in your projects is becoming a reality for production But what specifically can you do with Alchemy a project that helps to compile C C code into AVM2 capable files Alchemy described from Adobe With Alchemy Web application developers can now reuse hundreds of millions of lines of existing open source C and C client or server side code on the Flash Platform Alchemy brings the power of high performance C and C libraries to Web applications with minimal degradation on AVM2 The C C code is compiled to ActionScript 3 0 as a SWF or SWC that runs on Adobe Flash Player 10 or Adobe AIR 1 5 Alchemy is based on the LLVM Low Level Virtual Machine that allows new levels of code translation Maybe this can lead to more effective and performing code to run on the iPhone with flash player 10 Or some type of system that allows flash developers to code in AS3 or take projects and get them ready to run on the iPhone much like some of the Java to Cocoa compilation systems and Unity3D using mono to compile down to iPhone capable code Tags ALCHEMY AS3 C ENGINE FLASH flash10 FLEX llvm ode PHYSICS Posted in ACTIONSCRIPT ACTIONSCRIPT3 ADOBE ALCHEMY APPLICATIONS ARCHITECT AS3 DEVELOPMENT FLASH GAMEDEV GAMES LIBRARIES PAPERVISION PERFORMANCE PHYSICS PROGRAMMING RENDERING TECHNOLOGY Comments Off Mini Javascript Version of Papervision3D like Engine with Canvas Pseudo 3d with 2d Wednesday February 18th 2009 Looks like it is a javascript day here at drawlogic Here is an interesting example with some demos of a javascript and canvas based pseudo 3d engine Anything this cool you know it has to be from Japan Also of note it has been rumored that Silverlight 3 will have fully hardware accelerated 3d and canvas and javascript engines are getting much faster with great demos like this Adobe needs to leap into hardware acceleration for flash on a broader scale soon But I digress this demo it appears was inspired by Papervision3D due to the naming and the javascript reference of parpevision js I wasn t able to find much more information about this but it is very well done and this example even shows some environment mapping It is not close to flash pseudo 3d engines like Papervision3D yet but at the rate of javascript engine development lately this could rival flash AVM2 in the next couple of years Demos Cloth Miku Character Enviroment Mapping Code Sample iPod iTouch Mesh data meshdata js contains models Code from the main engine parpevision js Sample Viewport and main app touch js from demo 3 Here is the code for the parpevision js file and the mini engine it is an MIT license more Tags 3d canvas ENGINE FLASH japan JAVASCRIPT PAPERVISION papervision3d pseudo Posted in 3d 3D ENGINES CODE DEVELOPMENT ENGINE GAMEDEV GAMES JAVASCRIPT LIBRARIES OPEN SOURCE PAPERVISION RENDERING TECHNOLOGY 1 Comment Box2D based Javascript 2D Physics Engine called Box2DJS Wednesday February 18th 2009 Box2D is responsible for inspiring many 2d physics engines including Motor2 Box2DFlashAS3 and others Box2D the original toolkit is a solid c physics engine that has many great examples and features including real collision Now it has inspired a pure Javascript version of Box2D called Box2Djs to using prototype dependency to implement many of the same demos using the same functionality So it appears Box2D if you want to find a baseline standard physics kit for 2D it now has versions in many languages that might allow you to

    Original URL path: http://drawlogic.com/category/libraries/ (2016-02-09)
    Open archived version from archive



  •