Hi, I downloaded the lasted version of Unity 3D and my card games collection fingers input respond alot better when players touch the screen on cards. Happy for that. But…
I think i currently get code line instruction skip. Sometimes, the ads don’t show. Sometimes. the cards are not displayed after an animation. things like that.
I use the fonction Update to do animations. (I currently skipfame by mutilplying the new positions to get speed)
i use a fonction for Max Famerate at 18.0f because the telephone and tablets cannot render my game more than 20 frame/sec.
Cards are on high resolutions, i think it’s probably for that.
In the profiler, almost all the ressources are used for the update fonction.
In the update fonction, i use it for all animations and for detecting actions.
(I dont use SetPosition, just change x,y position with transform)
After the distribution of a card animation (2018.1) the card is not displayed in hand. I used close the fontion in the update and after i enable the Canvas with my card image inside as a button. And after that i assign in the ressource folder the image of the card to the button. Send, Show, send, show, send, show. it’s something very fast.
Something weird, after i distribute the cards. i sort them and In THAT TIME… the cards appears. The sort fonction is not in related to the Update() fonction and it’s near the update fonction.
I mostly use basic code to do it since i’m a n00b. The Bull game takes almost 80 000 codes lines. Speed game takes about 30 000 lines.
And yes, the players panels display a black line around my shadow already include in the graphics since Unity 2017… The shadow is not detecting alpha channel.
It’s my first game project. Any tips or advice to enhance it ? And how to fix my bug ?
https://ibb.co/hSrduS
https://ibb.co/cYsjZS
https://ibb.co/mh4bg7
Philippe Pelchat