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 » 2008 » October - web, mobile, game + interactive development » 2008 » October » 2008 » October
    scene render public function IsoApplication loadAssets current features simple scene creation 3 primitive types base class for displaying user created content plenty of styling option on vector based primitives integrates well with a variety of tween engines standard 3D isometric positional sorting So get busy building the flash version of roller coaster tycoon Features of the library Online docs Download as3isolib at Google Cod as3isolib tutorial 001 Intro single block as3isolib tutorial 002 Multiple blocks as3isolib tutorial 003 Customizing sides as3isolib tutorial 004 Sprites and construction Blog post about the release Tags ACTIONSCRIPT AS3 FLASH FLEX game GAMEDEV iso isometric orthographic projection Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 DEVELOPMENT ENGINE FLASH FLEX GAMEDEV GAMES isometric LIBRARIES OPEN SOURCE PROGRAMMING RENDERING TECHNOLOGY TOOLS 11 Comments Google Now in the Casual Game Ads Market Thursday October 9th 2008 Google has entered the flash gaming ads market Right now that is pretty much owned by MochiAds for flash game devleopers at least pre game ads anyways Advertising can be annoying but MochiAds has pulled it off where the ads are usually advertising other games or interesting things and it monetizes game development for Flash Unity3D Director and others which is a win There are many flash gaming sites that are great fun that use ads almost stylistically like Nitrome and typically the ads are pretty fast when they are during the game loading Although advertisements in games have long been a scurge on gamers fun when they are trying to insert them into fat client immersive MMOGs where it totally takes away from the experience that doesn t work What does work is stuff like MochiAds and possibly Second Life type sponsorships where advertisements are almost nostalgic or fun and integrated Developers and publishers have to make money somehow the better the experience the more impactful and the more games for all The key is making the integration a good user experience We shall see how Google plans to do this This might go along with their Lively strategy The ad market entrance in games is possibly what started the rumors that Google was going to buy Valve for Steam rumors which quickly died down Anyways the one good thing about this announcement is advertisments go to where the eyes and crowds are going or already at they are apparantly going massively to online web games and causal experiences make for easy advertisment integration TV Radio and many other industries have been supported by advertisement interest due to consumers using and buying the content So online gaming is just another one of those entertainment industries and it will grow further with this news Tags advertisement AS3 entertainment FLASH GAMES MARKET MARKETING unity3d Posted in COMMERCIAL DEVELOPMENT FLASH GAMEDEV GAMES MARKET MARKETING PROGRAMMING TECHNOLOGY USER EXPERIENCE 3 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

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


  • *drawlogic » 2008 » September - web, mobile, game + interactive development » 2008 » September » 2008 » September
    run into trouble With the exporter it is a direct faces and vector export without all the bloat of DAE COLLADA xml This works if you are only developing for flash and dont need to use the models in other platforms systems engines that aren t in flash Tags 3d AS3 blender engines exporter FLASH pipeline Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 AWAY3D DEVELOPMENT FLASH FLEX GAMEDEV OPEN SOURCE PAPERVISION PERFORMANCE PROGRAMMING PYTHON RENDERING SANDY TECHNOLOGY TOOLS 3 Comments AS3 Papervision 3D Debugging Stats with PV3DDebug Wednesday September 24th 2008 I have been doing lots of Papervision 3D for a project recently and needed to debug some placement and camera issues I did a quick search and found PV3DDebug by Jason Bejot and it worked out great and is a pretty sweet utility I thought I would mention when you need to debug Papervision or even for inclusion as a debug console in all your papervision apps and games It is a good base for your own consoles or debug panels It is also a great tool to help out with focus and zoom issues and understanding with camera placement The code is really easy to drop in and you can get lots of info on the PV3D scenes and camera manipulation Check out PV3DDebug Posting on the project Tags AS3 console debug DEBUGGING FLASH panel PAPERVISION TOOLS utility Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 BENCHMARK DEBUGGING DEVELOPMENT FLASH FLEX GAMEDEV PAPERVISION PERFORMANCE PROGRAMMING TECHNOLOGY 6 Comments Hardware of the Casual Gamer Revisited from Unity3d Creators Friday September 12th 2008 A few weeks ago the makers of Unity3d released some really valuable information about casual gaming and general hardware of users that play online games It was an interesting report and very beneficial to developers on the Unity platform and others We wish other plugin makers would do the same in such a thorough method Unity 3d creators listened to the market and have now posted updated numbers and information as well as a page that quarterly stats will be updated Check the new quarterly hardware of the casual gamer stats I would have seen this earlier but I have been deep in a Unity 3d project myself I am a big fan of all web based gaming platforms and Unity is almost a dream come true for 3d web gaming For the company to be this open that is a very good sign What can you do with Unity3D Here is a list of games made with Unity3D on the web The one great thing about this platform is that is was made for gaming specifically from the start Simulations and game development with Unity3D is very fun and productive I still love Flash Director etc but Unity3D development is now very much in my rotation Games made with Unity3D Hancock Movie Games http www sonypictures com movies hancock site games gameshell html Tennis Stars Cup http www shockwave com gamelanding tennisstarscup jsp

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

  • *drawlogic » 2008 » August - web, mobile, game + interactive development » 2008 » August » 2008 » August
    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 Hardware of the Casual Gamer Saturday August 2nd 2008 Making great games applications and tools using flash silverlight or other tools that are emerging such as Unity3D takes great style effort and knowing your target We need to know what the end user machine has at hand The Unity 3d guys put together a great post on the capabilities of casual gaming machines With all the talk about flash 3d unity3d and silverlight what level are you targeting and what group of people can actually PLAY your games as you envision Pretty much everyone knows Valve s hardware survey it s a very valuable resource that shows what hardware the typical hardcore PC gamer has that is gamers that play Valve s games However the casual gamer which is what Unity games are mostly targeted at probably has slightly different hardware Slightly being a very relative term of course Lo and behold we have a glimpse into that data How First time the Unity Web Player is installed it submits anonymous hardware details details in the EULA This happens only once and contains no personally identifiable information It s much like visitor statistics trackers on the websites that gather your OS browser information and whatnot Remember all this data is from people who installed Unity Web Player most likely because they wanted to play some Unity content on the web Hardware of standalone game players might be different and hardware of your game s players might be different as well The data set is well over a million samples at the moment Check out the full stats here The most interesting stats to me OS Platforms Windows 96 8 Mac OS X 3 2 CPU Core count overall 1 54 7 2 44 1 4 1 1 8 1 Wow this one is surprising but with the type of gamer that will play and download a quality new plugin to get to a game maybe not They need to have the latest and greatest Multi core processors have been selling for about 2 3 years so this is a continuing trend that will make Flash 3d and even plugins like Unity 3d better over the short term Also when you check it over at Unity Blog note the top cards it is a bit painful if you are a casual gamer developer Not a decent card in the top 10 15 But that is changing rapidly over the next 1 2 years in this regard But this also vyes well for flash based games that rely on dual core software rendered results right now as a decent constraint for developers to keep content painfully accessible to all states of machinery out there I wonder if this information is available on the flash player and public This is specific

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

  • *drawlogic » 2008 » July - web, mobile, game + interactive development » 2008 » July » 2008 » July
    degrees do3d roll degrees var myYaw Number do3d yaw This means these values are now absolute values instead of previous relative values as in deprecated do3d yaw 1 Let me know any issues as I m sure there are Tim This only affects the latest and greatest revisions of papervision but is definitely a good change It is good to make changes that make more sense without worrying about breaking changes Tags 3d change GAMEDEV object PAPERVISION Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 DEVELOPMENT ENGINE FLASH FLEX GAMEDEV PAPERVISION PROGRAMMING RENDERING TECHNOLOGY 9 Comments Flash Content Now Searchable by Google and Yahoo Search Wednesday July 2nd 2008 It was announced that Flash content and SWF files are now searchable by Google and Yahoo searching crawlers This has yet to be really tested but it is good news that flash sites with textual content will be able to be searched like normal websites This knocks down a bit the black box approach to content when it is in flash rather than a HTML XHTML based website Google has been developing a new algorithm for indexing textual content in Flash files of all kinds from Flash menus buttons and banners to self contained Flash websites Recently we ve improved the performance of this Flash indexing algorithm by integrating Adobe s Flash Player technology In the past web designers faced challenges if they chose to develop a site in Flash because the content they included was not indexable by search engines They needed to make extra effort to ensure that their content was also presented in another way that search engines could find Now that we ve launched our Flash indexing algorithm web designers can expect improved visibility of their published Flash content and you can expect to see better search results and snippets There s more info on the Webmaster Central blog about the Searchable SWF integration I imagine that it is still more difficult to index flash content and this opens questions as to what is searched and how as content can be loaded in dynamically and some content might be overly verbose that should not be indexed such as code Also the placement of text matters on a regular website so I imagine that it also matters according to what content is in a flash SWF file It will be interesting to hear how this evolves but as of right now it is good news that content in flash is searchable The format is now open and this is probably why the capability is now possible as there aren t any fees to using the format So expect more accessibiliy from flash as time goes on like this Tags AS3 content FLASH FLEX google index search SEO spider text yahoo Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 DEVELOPMENT FLASH FLEX PROGRAMMING TECHNOLOGY 7 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

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

  • *drawlogic » 2008 » June - web, mobile, game + interactive development » 2008 » June » 2008 » June
    80 bpm and a little tinkering is groovy I think I just found my new batcave evil genius code monkey theme music Andre Michelle s Blog English version of hobnox Audio Tools Direct link Rebirth nostalgia Audiotools blog Apparently Andre and Joa made some noise and now you can too Also I noticed that some of it is in java for the sound output I wonder if Adobe missed an opportunity here in audio with flash which will change probably in Flash 10 due to the Make Some Noise Adobe campaign and Tinic Uro for listening But for now have some fun It is hard to find something that doesn t sound good in the 80 90 bpm range Tags 303 909 andre AS3 AUDIO FLASH JAVA michelle mixer mod music roland Posted in ACTIONSCRIPT ACTIONSCRIPT3 APPLICATIONS ARCHITECT AS3 AUDIO BEST OF DEVELOPMENT FLASH FLEX GAMEDEV INTERFACE PROGRAMMING TECHNOLOGY 5 Comments AS3 Geocode with Flex Papervision3D Tutorial and Other 3D in Flash Goodness Wednesday June 11th 2008 Ever wanted to geocode in 3d with flex and AS3 Mark Walters added a great simplified approach to this on the EDGE Adobe site that helps get you started It uses Yahoo maps to get the lat long and then has a globe that you can add markers onto Some other great uses of 3d and interface are here link roundup New acrobat com which includes buzzword one app that makes RIA look good Morphing objects in papervision 3d from Bigspaceship Labs Absolutely sick 3D maps in some cases better than Google Earth slow to load but worth it Den Ivanov s Seasons Tagworld flickr tag globe Tags 3d ACTIONSCRIPT AS3 FLASH FLEX geocode globe INTERFACE maps Posted in ACTIONSCRIPT3 ARCHITECT DEVELOPMENT GAMEDEV PROGRAMMING TECHNOLOGY 5 Comments AS3 3D Engine Alternativa Platform Officially Launches Sunday June 1st 2008 The Alternativa Platform has officially launched It is a 3d engine for Flash AS3 It has been announced on their blog today and this is an exciting development for 3d in flash especially if you are a game developer or game company They have offered it free for non commercial use in the form of SWC files It is well oganized and lots more good stuff to come it seems in the GUI and some information on setting up the gaming platform on the server as well It looks to be a complete package This is not an open source release but the Alternativa Platform is an extremely well done and amazing looking engine It has configurations for 3d and isometric 3d Here is a shot from the engine Announcement on the Alternativa Platform Blog API Reference Direct link register and download Demos and more info Previous post on Alternativa with shots for isometric and FPS demos Sputnik has been launched Here are all the classes in the package SWC All Classes Alternativa3DLabel Alternativa3DVersion BitmapUtils Box Camera3D CameraController ColorUtils Cone Engine3DError Face FaceExistsError FaceNeedMoreVerticesError FaceNotFoundError FillMaterial FPS GeoPlane GeoSphere InvalidIDError KeyboardUtils Loader3DS Map Material MathUtils

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

  • *drawlogic » 2008 » May - web, mobile, game + interactive development » 2008 » May » 2008 » May
    games are Facebook Social Network based You might say why especially if you aren t in the US where facebook is the biggest social network But even Activision s CEO calls facebook a threat to online gaming as we know it this is because of the community aspect and the ability to play with friends and multiplayer games easily Rather than setting up your own player find mechanism facebook has it built in and all the viral aspects you need to garner more fans So those into facebook and gaming are possibly ahead but also it will be extremely competitive try bowling buddies Airship is a really creative game that has been impressive to watch grow over the last weeks It is now textured and performs pretty well The best part is the Airship model and the fans Very neat and I hope this one is seen through to a launched game It is a bit like a RTS Strategy overhead game that would be very cool to play multiplayer with Red5 server as well just need the TIME try airship demo The best part is you can see after a year of release papervision and the other 3d engines are really changing the way gaming is done online What was once a Java or Shockwave only capability flash now has with evolving 3d engines and there are playable fun games to prove it that are commercial ready Get your game on Tags creative facebook fun game GAMES PAPERVISION social games Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 ANIMATION ARCHITECT AS3 DEVELOPMENT FLASH FLEX GAMEDEV MARKET PAPERVISION PROGRAMMING TECHNOLOGY 19 Comments Adobe Opens Flash Format Specifications for SWF AMF and Flash Video FLV Open Screen Project Thursday May 1st 2008 Adobe is taking the inside lane in the industry it seems with the Open Screen Project What does this mean It seems like SWF and FLV formats are now largely open and licenses removed With the XFL format possibly on its way probably based on mxml to replace closed FLA files it is pretty clear that Adobe and Flash will see a large uptick in the mindshare As well as looking to create a broader mobile platform for the flash player The Open Screen Project will address potential technology fragmentation by enabling the runtime technology to be updated seamlessly over the air on mobile devices The consistent runtime environment is intended to provide optimal performance across a variety of operating systems and devices and ultimately provide the best experience to consumers To support this mission and as part of Adobe s ongoing commitment to enable Web innovation Adobe will continue to open access to Adobe Flash technology accelerating the deployment of content and rich Internet applications RIAs This work will include Removing restrictions on use of the SWF and FLV F4V specifications Publishing the device porting layer APIs for Adobe Flash Player Publishing the Adobe Flash Cast protocol and the AMF protocol for robust data services Removing licensing fees making

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

  • *drawlogic » 2008 » April - web, mobile, game + interactive development » 2008 » April » 2008 » April
    busted one out I thought maybe this would be in as3corelib but nope So posting this in case anyone else is looking for a get age script in AS3 It was quick so any improvements just post them It will be added to my utilities classes on google code soon it is in quick form so you can jsut plop in an fla or a class The pseudo code is the same for getting age in any language Get current date get birthdate to compare Subtract the current years from the birthday years then subtract one more year if the day or month is less than today s day and month function calculateAge birthdate Date Number var dtNow Date new Date gets current date var currentMonth Number dtNow getMonth var currentDay Number dtNow getDay var currentYear Number dtNow getFullYear var bdMonth Number birthdate getMonth var bdDay Number birthdate getDay var bdYear Number birthdate getFullYear get the difference in years var years Number dtNow getFullYear birthdate getFullYear subtract another year if we re before the birth day in the current year if currentMonth Tags ACTIONSCRIPT age AS3 date utility Posted in ACTIONSCRIPT ACTIONSCRIPT3 AS3 DEVELOPMENT FLASH PROGRAMMING TECHNOLOGY Comments Off Photosynth in Flash pseudo 3D photo browser Tuesday April 15th 2008 Vladimir Slepnev Moscow Russia creates Photosynth in Flash called OpenPhotoVR It appears that the files are uploaded and attached manually But it mimics Microsoft Photosynth pretty well You have to give it time to load and prepare the views but it is probably under heavier traffic from reddit OpenPhotoVR org is a pseudo 3D photo browser a free analog to Microsoft Photosynth Users create photo albums by uploading pictures and linking them together by hand Tags 3d experience photo photosynth virtual Posted in ACTIONSCRIPT ACTIONSCRIPT3 AS3 DEVELOPMENT FLASH FLEX PROGRAMMING TECHNOLOGY 1 Comment AS3 Vector 3D Engine Five3D from Mathieu Badimon Released Tuesday April 15th 2008 Mathieu Badimon released the sweet Five3D vector 3d engine recently Zeh noted this and has some experiments but this is a tracking and howto blog and I like to keep a timeline of influential releases You might have seen the Mathieu Badimon labs previously with the very nice scroll handle and technique and ability to rotate and translate the vector objects in 3d space Now you too can make interfaces with the same cool library The one thing I like about this vector engine is well first of all it is vector and secondly it is pretty fast and not too processor intensive but looks killer Tags 3d AS3 ENGINE five3d FLASH INTERFACE labs VECTOR Posted in ACTIONSCRIPT ACTIONSCRIPT3 ARCHITECT AS3 DEVELOPMENT FLASH FLEX PROGRAMMING TECHNOLOGY Comments Off 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 Away3D pv3d derivative make 3d in flash fast enough Painter s Algorithm and drawing skewed movieclips and textures Demos Post on Open Sourcing of Code Post on Some Unfinished Work to Build On Demo Quake Prototype Demo Terrain Download Source SWFZ Download Source Dependency FileSystem More about the Engine Some Notes The SWFZ engine Overview SWFZ engine is the result of four years of me messing with 3D in Flash I was a complete newbie to 3D so a lot of learning has happened to get to here If you re interested in 3D engines check out the resource links at the bottom of the page The Demo Model

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

  • *drawlogic » 2008 » March - web, mobile, game + interactive development » 2008 » March » 2008 » March
    WIDTH public static const HALF BUFFER WIDTH int BUFFER WIDTH 2 public static const HALF BUFFER HEIGHT int BUFFER HEIGHT 2 private var outputBitmapData BitmapData private var outputBitmap Bitmap public var FOV Number 20 public var sphereCenterX Array 0 0 0 0 public var sphereCenterY Array 0 2 4 100 5 public var sphereCenterZ Array 4 4 4 10 public var sphereRadius Array 35 35 25 100 public var sphereR Array 255 0 0 20 public var sphereG Array 0 150 0 20 public var sphereB Array 0 0 255 20 public var sphereReflects Array false false false true public var sphereReflectiveness Array 0 0 0 3 public var sphere2dX Array new Array sphereCenterX length public var sphere2dY Array new Array sphereCenterX length public var sphere2dR Array new Array sphereCenterX length public var numSpheres sphereCenterX length var skyR int 20 var skyG int 20 var skyB int 20 var skyColor int skyR sphere2dR i continue begin actual ray tracing if its inside the bounding circle lengthRTSC2 sphereCenterX i sphereCenterX i sphereCenterY i sphereCenterY i sphereCenterZ i sphereCenterZ i closestApproach sphereCenterX i rayDirX sphereCenterY i rayDirY sphereCenterZ i rayDirZ if closestApproach 255 r 255 if g 255 g 255 if b 255 b 255 end if reflected ray hits end if reflects else primary ray doesn t reflect r sphereR closestSphereIndex illumination g sphereG closestSphereIndex illumination b sphereB closestSphereIndex illumination outputBitmapData setPixel x y r Tags 3d ALGORITHM INTERFACE PIXEL raytrace render Posted in 3d ACTIONSCRIPT ACTIONSCRIPT3 AIF ALGORITHM ANIMATION ARCHITECT AS3 DEVELOPMENT EFFECTS FLASH FLEX GAMEDEV GAMES OPEN SOURCE PERFORMANCE PIXEL PROGRAMMING RENDERING TECHNOLOGY VISUALIZATION Comments Off AS3 Water Effects in Papervision 3D Away3D and Sandy3D Friday March 21st 2008 I was messing with water effects and Perlin Noise sandy3d and some other stuff and collected some water effects and simulations that are fluid like for research a snapshot of the state of fluid and water effects in 3d in flash Ralph Hauwert of course one of the original pv3d team members posted some great samples on water effects on 3d objects in Papervision 3D Of course the papervision list spawned this discussion from another great post on water simulation in papervision and away3d by Exey Panteleev Also some other water like effects from Fabrice Closier and the notorious mrdoob Ralph s Water Effect Demos Water Ball Experiment 1 Water Ball 2 cpu burner alert Hey look the water ball is smiling at you Exey Panteleev s Water Simulation PV3D Simulation source Away3D Simulation source Some other Water Like Fluid Effects mrdoob fluid visualisation effect like wata away3d temple fabrice Water is hard in flash Fluid dynamics will probably have to be cheated but it is still looking pretty good The amount of processor usage depends on how real you want it to look If you are looking to make some agua with x the y AND the z in Flash or Flex these are a good place to start Tags 3d ACTIONSCRIPT ACTIONSCRIPT3 AS3 AWAY3D FLASH PAPERVISION papervision3d sandy3d water Posted in 3d 3D ENGINES ACTIONSCRIPT ACTIONSCRIPT3 AS3 AWAY3D EFFECTS ENGINE FLASH FLEX GAMEDEV MOTION OPEN SOURCE PAPERVISION PIXEL PROGRAMMING RENDERING TECHNOLOGY VISUALIZATION 6 Comments 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 Flash Deep Linking and the YouTubeAPI with SWFAddress Sunday March 16th 2008 Rostislav added a sample for his excellent SWFAddress kit using the new YouTubeAPI and deep linking to parts of the video Part of the YouTubeAPI is by Geoff Stearns the creator of SWFObject who works at YouTube now and allows much more script control and embedding of the youtube player chromeless with just

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



  •