Ported “Christmas stocking” game from Flash to Unity3D ;)

Hello guys, I just finished porting one of my old games (december 2012) “Christmas stocking” from Flash to Unity3d, everything seems to work fine. You can check it out here:

So far, I’m pretty impressed and satisified with Unity3d, although its workflow needed some time to get used to. The idea of components that we attach to nodes is pretty cool, and generally speaking its nice to have a single ide for programmers and game designers. Its like and advanced Flash in that we layout components and levels, gui elements in editor, attach classes, tune animations. And at last its not flash that I use, but a real 3d scene editor with nodes and tree of transforms, and etc))

Well, gotto move on and port\finish some new games

Posted in Game development, News: my games, Unity3d | Leave a comment

Switching to Unity3d

Already tried creating a mesh manually and animating uv coords on it to implement a kaleidoscope logic, works fine. Had to call RecalcNormals or something like that, for it to receive light properly.

Posted in Game development | Leave a comment

haxedevelop 5.3 crashing on startup

find and delete session data file

Posted in Game development | Leave a comment

Flash is dead -> move to haxe

Heard somewhere that Adobe is dropping support\development of flash player(swf) by 2020. So I’m moving to haxe and unity3d, sloooowly)) Currently busy with haxe+openfl

Posted in Adobe Flash, as3, Game development | Leave a comment

as3 error 1180: call to a possibly undefined method

I metย this error several time, and it was pretty hard to fix, cause I didn’t know why this error was raised at all.

The reason was this: I used a local var name identical to some namespace name.

Let’s say you have a namespace vk, and you declare a local var vk:Object and then are trying to call some method on it. To as3 compiler vk is not a local var but a namespace, woala)) The solution is just select another name for you local var ๐Ÿ˜‰ Cheers!

Posted in Adobe Flash, as3, Coding faults collection | Leave a comment

pseudo-problem: js function undefined

well often you have an external js file you load and keep some functions in it; and eventually it can appear broken or missing some of the functions while you code your site, or they could work improperly.. My guess is that the js file just got cached and you load old version which is missing funcs or having old versions of them ๐Ÿ˜‰ In this case you could do it this way:

<script src=”/js/yourjsfile.js?604” type=”text/javascript”></script>

where 604 is just the number of your edit) so you edit js file and inc this by 1 for example so that client loads it anew..
Cheers, hope this helps someone, also let me know if there is something you can add, comment on this

Posted in Coding faults collection | Leave a comment

Crop tool in photoshop CC not working (solved “problem”)

Well if you drag some photos to your photoshop CC canvas, scale, rotate, position them as you need and select crop tool it could fail. Or better say perform no visible action, the outer parts of images remain where they were i.e. no cropping occurs. This could be because these layers are smart-objects (whatever it is) )) and have special icon on the layer list. The solution is to rasterize those layers before cropping. THat’s it, thanks, bye!)

Posted in Art & drawing | Leave a comment