imagination XD

realizing dream


1 Comment

[Unnamed Project IMG] November Update

I think I done with doing CORE component for now. Time to start doing Story. I’ll also play some VN I got to find neat inspiration.

For those who didn’t know what my game is about.. I’ll repeat what I said last month again..

My game, in short, it’s just a social simulation inspired on Anime, in a situation where you play as antisocial teenager (locks in their room in without having social life) and then the challenge on being accepted on society and stop being hated by everyone. It also involves high school romance, school life, and comedy. Further story and gameplay still in discussion.

So it’s more like Quest Based RPG. You wont see the gameplay cause I disable the Quest.

Brief update on November Update

  • Japanese Language removed. Only English available.
  • Player now can call another NPC.
  • Now you can change uniform.
  • Fixed weather system, like Sunny weather should be longer than another one, and if you move scene, it’ll change too.
  • Weather system now follows Season condition.
  • Date now progressed (Thanks to Kyana for helping me making Date system)
  • Spawning pedestrians.
  • And many fixes I forgot.

Now I should be start working on Storyline and Quest. So hopefully on December, CORE Build 2 will available.

Here’s the update video. Yeah I did twice.

Advertisements


1 Comment

[Unity] Taking In-Game Screenshot

Hello, everyone, Sorry I didn’t post something here in long time. I’m very busy, leveling up my CG skills. I also post some random unity things.

So, basically, taking screenshot in Unity is very easy. Copy this script below, and attach it in Main Camera

var folderName : String = "DCIM";
var captureSound : AudioClip;
var quality : float; //Set screenshot resolutions, default is 1. 1 equals your monitor size.
private var screenshotFader : GameObject;

function LateUpdate(){
 if(screenshotFader){ //Flashing effect
 screenshotFader.guiTexture.color.a -= Time.deltaTime;
 if(screenshotFader.guiTexture.color.a < 0){
 Destroy(screenshotFader);
 screenshotFader = null;
 }
 }
 
 if(Input.GetKeyDown("C") && !screenshotFader){
 if (!System.IO.Directory.Exists(folderName)) System.IO.Directory.CreateDirectory(folderName);
 
 screenshotFilename = folderName+"/DSC_"+System.DateTime.Now.Day.ToString()+"_"+System.DateTime.Now.Hour.ToString()+System.DateTime.Now.Minute.ToString()+System.DateTime.Now.Second.ToString()+".png";
 if(!System.IO.File.Exists(screenshotFilename)){
 Application.CaptureScreenshot(screenshotFilename,quality);
 AudioSource.PlayClipAtPoint(captureSound,transform.position);
 DrawWhiteItem();
 }
 }
}

function DrawWhiteItem(){
 yield new WaitForSeconds(0.5); //wait for a few frames so the application can capture before the white flash comes out.
 screenshotFader = DrawFader();
}

static function DrawFader() : GameObject{
 var fdt = new Texture2D(1,1);
 fdt.SetPixel(0,0,Color.white);
 fdt.Apply();
 
 var fadex = new GameObject("CSader");
 fadex.AddComponent(GUITexture);
 fadex.transform.position = Vector3(.5,.5,1000);
 fadex.guiTexture.texture = fdt;
 
 return fadex;
}

now it’ll save the screenshot on your game root folder / DCIM (you can change the folder name).