Wednesday, November 22, 2017

Checking internet connection and showing result in Snackbar in android studio

Using Snackbar you need to add android support design dependencies. Copy below dependencies and add to your build.gradle file.


compile 'com.android.support:design:25.3.1'

Give an id to your layout. as I am using RelativeLayout so I give it an id like 'mylayout'

android:id="@+id/mylayout"

In MainActivity.java file inside onCreate() method added your layout id like

Tuesday, October 17, 2017

Making a complete game asset in Blender

Some steps need to be followed to make a game asset in blender.
I am describing these steps as below



  1. Creating Model: Creating Model is the first step of making game assets. You should give concentrate which types of game asset are you want to make. Low poly or high poly. If you want to make low poly game assets then use simple mess and try to avoid sub-division. But try to give details of your model. 
  2. Mark Seam: This is the interesting part. Before uv unwrapping you should mark your seam. That means differ your model part to paint to add texture. It's easy to mark seam in blender.
    first select any edge and press CLT+E and then mark seam. After marking your seam the edge will be turn red. 
  3. UV Unwrapping: Another interesting part is UV Unwrapping. After marking your seam select face mode and select whole the model by pressing A. and Then press U and select Unwrap .
    It's done. and in UV image editing you can see your uv map. then select UV>export UV layout and save that as PNG format. 
  4. Painting or Texturing:  After getting the PNG Image you can open this image on any image editor and paint it with your favorite color and save it. This is your texture. you can use this texture in blender. 
  5. Exporting as FBX: Export the whole file as fbx format and use it any of the game engine. 

Monday, September 11, 2017

A short time II

A Short Time II ( একটি স্বল্প সময় ২)

a short animation video


প্রায় আড়াই মিনিটের এই ভিডিও দেখার জন্য আপনাদেরকে দুইটা পদ্ধতি দিচ্ছি।
একটি হচ্ছে youtube এবং আরেকটি হচ্ছে mediafire
দুইটি পদ্ধতির কারন হলো, অরিজিনাল ভিডিওটা এমনিতেই নিম্ন রেজিলিউশনের। যখন ভিডিওটা youtube এ আপলোড করলাম সেটি আরো নিম্ন মানের হয়ে গেলো।  তাই কেউ যদি অরিজিনাল ফাইলটা দেখতে চায়, তবে তা mediafire থেকে ডাউনলোড দিয়ে দেখতে পারবে। সাইজ একটু বেশি। মাত্র আড়াই মিনিটের ভিডিওর সাইজ ৭৫.৫ মেগাবাইট। youtube এ দেখতে গেলে অবশ্যই 360p তে দেখবেন। PC তে দেখলে ফুল স্ক্রিন মোডে না দেখাই ভালো হবে।
পরিশেষে অগ্রিম ধন্যবাদ ভিডিওটি দেখার জন্য আর যে কোন মন্তব্য, মতামত শিরোধার্য।
Youtube Link: https://youtu.be/xP3VDvLzTjY?t=9




Saturday, September 9, 2017

Monday, August 28, 2017

Android Swipe Refresh


This article is about android swipe refresh with simple code.
To add Swipe Refresh we need to add android SwipeRefreshLayout widget under activity_main.xml file


Inside SwipeRefreshLayout we need to put our refresh widget such as ListView,TextView


Saturday, August 26, 2017

Interstitial Ads for Android



Today We are going to learn how to set interstitial Ads for android.
Our Steps of work describe below.


Creating An Android Project

Open your android studio and under File>New>New Project and name your Interstitial Demo. Press next and keep as it is and press next select Empty Activity. Then press next and then finish.

Recent Post