921 reputation
116
bio website shivansite.wordpress.com
location Forgotten Realms
age
visits member for 1 year, 7 months
seen Apr 1 at 6:00

Card Name: Shivan Dragon

Mana Cost: 4x neutral + 2x red

Types: Creature — Dragon, Flying

Abilities: Tap one Red land: Shivan Dragon gets +1/+0 until end of turn.

Rarity: rare


Mar
31
awarded  Nice Question
Mar
25
awarded  Popular Question
Mar
12
awarded  Popular Question
Feb
12
awarded  Popular Question
Feb
6
awarded  Popular Question
Jan
18
awarded  Popular Question
Dec
5
answered Synchronization between game logic thread and rendering thread
Nov
22
awarded  Popular Question
Aug
30
awarded  Yearling
Jul
1
awarded  Popular Question
Mar
26
comment 'No Platforms Found' error in Unity Android
It may be that Unity is not "seeing" you Android SDK. Try removing it and re-installing it using the installer (not the zip archive). Make sure all the necessary folders (tools, etc) are in your "PATH" system variable.
Mar
21
comment Does Unity's “Transparent Bumped Specular” translate to “semi-shiny must be semi-transparent”?
thanks, but I don't think there is (or, at least, I wasn't able to find) a material amongst Unity's defaults that allows you to have transparency and various specularities at the same time. I did make my own shader that does that (transparency comes from diffuse's alpha, specularity's glossiness and shininess come from separate b/w specularity map's color and alpha channel).
Mar
20
comment Android activities, when to use them?
Oh well, it's no biggie. Just make a list of the average number of instance of each object you'll use. Instantiate them all at the beginning. Then reuse the heck out of them, and only create new ones for the fringe cases (like instantiate 10 bullets if that's the average you can see on screen, and only make extra instances for like the boss fights where the boss might shoot lots of extra bulletets as opposed to average). Also ditch ArrayList for plain old array.
Mar
20
comment Android activities, when to use them?
OOps. Sorry. Most of the places where I wrote "Actions" I ment to say "Activities". Sorry. Tiread. At any rate, I had a similar problem with yours and it turned out it was the creation of too many in-game objects. As a thumb-rule: if you're creating new objects "by the game loop" (i.e certain situations can trigger object instantiation each game loop for several loops) - you need to stop that and reuse the instances. Also for collections and such, use arrays, avoid List, Set, Map etc. as it tons faster and less memory hungry.
Mar
20
revised Android activities, when to use them?
added 20 characters in body
Mar
20
answered Android activities, when to use them?
Mar
20
comment Create cylinder using OpenGL-ES
Aron Boguta's answer is excellent. I would just want to comment that if you're trying to do this for practical reasons (you will want to have more complex geometry in Open GL), it's best if you at least find a library that lets you load meshes made with specialized software (like 3ds Max or Blender). Usually Obj+Mat or fbx formats are supported by many such libraries (and the 3d softwares as well). Example: stackoverflow.com/questions/9452533/opengl-obj-loader-for-ios stackoverflow.com/questions/6691927/…
Mar
20
comment Why doesn't a line draw after instantiating it on a thread other than the renderer thread?
Actually, you've discovered something which I haven't manage to find.I initially wanted to have my loading screen drawn by OpenGL as well,but failing to find a way to only partially load resources,I've switched to the "non-open-gl-loading-screen" variant which I've described in my answer.I've actually managed to make this work.The downside is basically that of not using OpenGL:resizing of images is more difficult(and actually it's best to have separate images for each targeted resolution),loading screen animations are slower(and possibly harder to code),etc.For a simple loading screen it's ok.
Mar
19
answered Why doesn't a line draw after instantiating it on a thread other than the renderer thread?
Mar
13
answered Mixing threads and coroutines in Unity3D Mobile