Yesterday was a happy day, My gmail account that I thought already lost because got hacked finally recovered.
March 16, the day when someone I know hack into My gmail account and change the password and recovery email, this man took what belongs to me and unfortunately I don’t know where is his location.
I trusted him, he knows the password and after almost 3-4 years he suddenly change the password.
For a few days I was angry, I was desperate, I would like to know why he hacked My account? Is he having financial problem? Is he suddenly got greedy? Those few days I was trying to recover My gmail account using the recovery page, but there is not a single result appear.
Openkore was used as data input ( perl modified ) and PHP as back-end, Nyubot is a Ragnarok Online (idRO) game vending searcher and megaphone chat and guild war saver.
After publishing swip ( apps got taken down ) , I make some improvement on some graphics and release the second one Farm Fruit Cookies Crush, available at google play (sadly had been removed because of policy).
The games still the same, a Match 3 type games, only using different image and graphics.
A few weeks earlier I was confused in how to use the DrawTextureWithTexCoords, searching with google gave no results, yes there are fews example and perhaps tips, but those are unclear to me.
Fortunatelly after trial and error, I finally understand how this function really works, stick to me for more explanation.
Unity Documentation :
DrawTextureWithTexCoords(Rect position, Texture image, Rect texCoords, bool alphaBlend = true);
Position : Rectangle on the screen to draw the texture within.
Texture : Texture to display.
texCoords : How to scale the image when the aspect ratio of it doesn’t fit the aspect ration to be drawn within.
alphablend : Whether to alpha blend the image on to the display (the default). If false, the picture is drawn on the display.
A few days ago, I got stuck in some problem.. it wasn’t so hard, the rendered game and executable unable to show me the background image, it’s just showing blue background and my sprite stuck in the middle.
Googling to find what the problem doesn’t show any results, until I got advice to restart unity… and problem was solved.
It seems unity had a bug that making the background image not showing in render game or executable compiled, the solution is actually simple, just restart the Unity and voila problem solved..
As for the sprite that stuck on center, just by check the root in the sprite solved the problem..
Oh yeah, I’m trying to learn how to use unity and blogging it as a reminder for many problem that may show up.. or just using it to store code library ?
While trying some new things after working all days, I encountered something annoying .. when I used texturepacker gui from codeandweb, the packer packs my image into one and use offset to maximize its compression.
This kind of packing is actually good, but it’s a little annoying because we must set the offset in libgdx to actually make the animation position line-up.
I browsed through google to find how to actually get the offset and apply it to the animation function in libgdx, but luck not in my side for a whole day … ah, as reminder I used this code to apply rotation from the left bug, because if you used the sprite as it is, you will get the same as the sprite above for animation.