DCSIMG
July 2010 - Posts - מקודד לשווא

July 2010 - Posts


תגובות

Pong Applied Box2DFlex Physics Engine על ידי danielisimo

I decided to learn by example and assigned myself the goal of building pong in box2d. box2d is an overkill for pong , but what do you know, it's damn easy. the gist of it is : layout world setup event handling read more

תגובות

Working With Large Arrays in Action Script על ידי danielisimo

While working on partly connected system using flex technology I figured out quick enough that working with large data sets (thousands of records) is not applicable. Especially because i held a number of those sets which I needed to cross reference in number of occasions. My solution was to create an indexed collection which i can benefit both worlds of Dictionary and ArrayCollection , with that in mind I designed and implemented the IndexedArrayCollection. The collection extends ArrayCollection...

תגובות

Box2D Flex Complex Shapes Mapping על ידי danielisimo

One of the drawbacks in box2d is that it's not supporting concave polygon shapes . for that box2d flex employs several algorithms and converts a complex shape to a set of polygons (I took the idea from 3d modeling) at this point i would like to give credits to sakri.net for he's shape outline algorithm makc.coverthesky.com for he's polygon2d both state that their algorithms are far from perfect but for a v0.2 it's a good start. in this case I'll start from the demo and then.....

תגובות

Simple Box2D Flex Example על ידי danielisimo

following my previous post announcing Box2D Flex framework i want to share some techniques via examples on how to use the library. First thing we create add a SkinableContentContainer to and drop some contorls inside it This, still, does not do anything fancy it just initializes box2d and registers & measures all controls inside our physics container. next step we add some bindable controls that will change our physics gravity and debug and the bindable properties to our physics container now...
תגים:, , , , ,

תגובות

Announcing Box2D Flex framework על ידי danielisimo

Prefix In a previous post demonstrating box2d integration with flex I made a promise (mainly to myself) to share the demo code. When I started to review with sharing in mind it looked cumbersome and overly verbose. So I started cranking on it fixing and straightening the code & architecture and step by step I realized that I'm creating a small Integration layer rather then a POC. Announcing Box2DFlex Box2DFlex framework allows you easely integrate box2d into flex framework using mxml. The...

תגובות

CSS Mask in HTML 5 על ידי danielisimo

< התוכן שמופיע כאן מועמד לסטנדרטיזציה ב html5 יתכן וחלק מהדברים לא יעבדו כרגע על כל דפדפן > בהמשך לפוסט הקודם על css ב html5 עשיתי עוד ניסוי קטן לגבי masks (אולי מיסוכים?) . רציתי להחליף צבעים תכנותית לתמונה קיימת . כדי לעשות את זה ניגשתי למלאכה והתחלתי לנבור ברשת , די מהר מצאתי שגם לזה יש פתרון ב css3. מיקמתי שני div אחד מעל השני - בראשון תמונה של מכונית (המכונית חייבת להיות לבנה כדי שנוכל לצבוע אותה בקלות) read more
תגים:, , , , , ,

תגובות

Timezone shift in bootcamp על ידי danielisimo

Another short one , each time i open my bootcamp or VM (parallels or fusions) i get different timezone for windows and osx. both are configured correctly connected to the internet and updated from ntp server. But the windows machine is persistently offsets by two hours. After some hunting around and some trial and error I found that the best and quickest solution is adding a new registry key to HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation\ named RealTimeIsUniversal typed REG_DWORD and...
Powered by Community Server (Commercial Edition), by Telligent Systems