Maniruzzaman Akash's Blog

Maniruzzaman Akash, A programmer, A web programmer, a helpful person to share knowledge and everything..

  • Home
  • Programming
    • C Programming
    • Java Programming
    • C++ Programming
    • C# Programming
    • Python Programming
    • Data Structure
  • Web
    • HTML
    • CSS
    • Javascript
    • PHP
    • AJAX
    • XML
  • FrameWork
    • Bootstrap(CSS)
    • Laravel 5(PHP)
  • Database
    • MySQL
    • Oracle
    • SQL Server
  • Android
    • Android Development
  • Mathematics
    • Numerical Methods
  • Others
    • My Articles
    • Download Ebooks
    • Mathematics
    • Difference Between
  • Contact
Showing posts with label Unity Game Development. Show all posts
Unity Game Development

How to scale key frames to increase time in Unity

Tuesday, April 4, 2017 By Maniruzzaman Akash 0 Comments

So our question is :

How to scale key frames to increase time in Unity?

Solution is:

So provably, I think you don't read the basic manual of Unity documentation. In unity Animation section, First read this bunch of configuration system of Unity Manual.
Read - Unity Animation controlling everything


Ok Let's try to increasing frame size in Unity.

  1. Insert an animation from Unity.
  2. Click the animation. It will load the following screen(see the image).
  3. In this section, you can select your animation starting positions and ending positions and so on and also you can increase the frame size from this by increasing the start and end. More difference between start and end, the key frames will be bigger and the animation will be slower in Unity.
  4. Then add other things as usually, like loop control: yes and so on.







Hopefully, your questions answer has gotten on  How to scale key frames to increase time in Unity.

This is in one case and if we want to create another animation without importing animation from any other place then see the following tutorial.



Continue reading
Share:
Views:
Unity Game Development

How to browse files on Android outside of Unity app folder

By Maniruzzaman Akash 0 Comments

So out question is : 

How to browse files on Android outside of Unity app folder?

Solution:

From Unity Documentation on this-> we can get the all knowledge about this little question:
Read Manual On building plugin for android in Unity

Then now come to the point How to browse files on Android outside of Unity app folder :

From the part of the documentation:

To do this, first locate the classes.jar shipped with Unity Android. It is found in the installation folder (usually C:\Program Files\Unity\Editor\Data (on Windows) or /Applications/Unity (on Mac)) in a sub-folder called PlaybackEngines/AndroidPlayer/Variations/mono or il2cpp/Development or Release/Classes/. Then add classes.jar to the classpath used to compile the new Activity. The resulting .class file(s) should be compressed into a .jar file and placed in the Assets->Plugins->Android folder. Since the manifest dictates which activity to launch it is also necessary to create a new AndroidManifest.xml. The AndroidManifest.xml file should also be placed in the Assets->Plugins->Android folder (placing a custom manifest completely overrides the default Unity Android manifest).



If you can't do this.Then try this one->

use .net System.IO. to create a file browser, and also use Unity's AndroidJavaClass and AndroidJavaObject to call Android Native Methods like Environment.getExternalStorageDirectory to get the path to the user storage for example look the following code:

public string GetAndroidExternalStoragePath ()
          {
                  string path = "";
                  try
                  {
                      AndroidJavaClass jc = new AndroidJavaClass("android.os.Environment") ;
                      path = jc.CallStatic<AndroidJavaObject>("getExternalStorageDirectory").Call<string>("getAbsolutePath");
 return path;
                  }
                  catch (Exception e)
                  {
                    Debug.Log(e.Message);
                  }
          }



Continue reading
Share:
Views:
Unity Game Development

Level 'levelToLoad' (-1) couldn't be loaded in Unity Game development

Saturday, February 18, 2017 By Maniruzzaman Akash 0 Comments
This is a beginner level problem in Unity Game development. That is :
Level 'level1' (-1) couldn't be loaded.

In your case, you can't load the level which you want and get this silly errors. When I was a beginner level programmer in Unity I've faced this problem and get a big hassle. I searched all the internet what is the solution of Level 'levelToLoad' (-1) couldn't be loaded in Unity'. But, Unfortunately I can't get any clear solution for this problem, this is why I just solve the problem and give the tutorial.


Why Problem happens:

In Unity, Unity build the level which you create. But sometimes, if you create multiple level and sometimes Unity can't catch the level and can't build it automatically. This is why Unity can't get the level which you passed in Application.LoadLevel("level_name");

Solution Of Unity Level Loading Problem:

In my case, My problem was I've created two scene. One is level1 and other is menuScene. After making a button in menuscene I wanted to load the level - level1. But I can't do that.

That means in button click I've made that code:

public void Play(){
string level = "level1";
Application.LoadLevel (level);
}

Now, just see my case in an image:



I think, you see that In build settings, I've one Scene named manuScene. And that is why I've got the error. Then, I first select the level1 Scene and Click on Add Current button in Build settings. See the button below the box.
Then, my Build settings in File > Build Settings will be like this:




And then, my problem has gone and my button worked successfully.

Hopefully, I've cleared your problem of Level 'level'(-1) could not be loaded problems in Unity.

If you face any problem, just comment here, I'll help you.



Continue reading
Share:
Views:
Older Posts Home
Subscribe to: Posts ( Atom )

Popular Posts

  • Numerical Methods 20 Multiple Choice Questions and Answers
  • Consider a hypothetical 32-bit microprocessor having 32-bit instructions: Solutions
  • List and briefly define two approaches to dealing with multiple interrupts
  • The hypothetical machine has two I/O instructions: 0011= Load AC fro I/O 0111= Store AC to I/O Solutions
  • What are the characteristics of Digital IC's?-Solution
  • Mid Square Method Code implementation in C and MatLab
  • List and briefly define the possible states that define an instruction execution
  • BFS, DFS, DLS in Tree implementation in C
  • Download Laravel Offline Documentation as HTML
  • Simpson's 1/3 Code in Matlab

Category

Advanced PHP Android Developement Articles Artificial Intelligenece Blogger Tips Blogging Career Bootstrap Offline Documentation Bootstrap Templates C Programming Computer Architecture Data Structure Difference Between Download Documentation Download Ebook Download Free Blog Template Earning Money Electrical Electronics Guest Posts HTML Java Programming Laravel Laravel Bangla Tutorial MatLab Code My Videos MySQL Database Numerical Methods Offline Documentation Recent Topics Simulation and Modeling Unity Game Development Web Design Web Development

LIKE ME ON FACEBOOK

TAGS

  • Advanced PHP (3)
  • Android Developement (5)
  • Articles (6)
  • Artificial Intelligenece (3)
  • Blogger Tips (5)
  • Blogging Career (1)
  • Bootstrap Offline Documentation (1)
  • Bootstrap Templates (1)
  • C Programming (14)
  • Computer Architecture (5)
  • Data Structure (11)
  • Difference Between (1)
  • Download Documentation (2)
  • Download Ebook (3)
  • Download Free Blog Template (2)
  • Earning Money (1)
  • Electrical Electronics (1)
  • Guest Posts (1)
  • HTML (4)
  • Java Programming (2)
  • Laravel (3)
  • Laravel Bangla Tutorial (1)
  • MatLab Code (2)
  • My Videos (3)
  • MySQL Database (7)
  • Numerical Methods (9)
  • Offline Documentation (1)
  • Recent Topics (1)
  • Simulation and Modeling (2)
  • Unity Game Development (3)
  • Web Design (3)
  • Web Development (1)

Join Google+

Maniruzzaman Akash
View my complete profile

Join With Me

Site Visitors

Best Sites For a programmer

  • URI Online Judge Solution By Me
  • StackOverFlow
  • W3 School
  • Git Hub - Store your Every Document

Popular Posts

  • What are the characteristics of Digital IC's?-Solution
  • The hypothetical machine has two I/O instructions: 0011= Load AC fro I/O 0111= Store AC to I/O Solutions
  • Consider a hypothetical 32-bit microprocessor having 32-bit instructions: Solutions
  • How to import Excel,CSV file in Laravel And insert data in database
  • List and briefly define the possible states that define an instruction execution
  • What is Blue Whale Game ? Why people suicide?
  • List and briefly define two approaches to dealing with multiple interrupts
  • ফিফা ওয়ার্ল্ড কাপ ২০১৮ শিডিউল এবং সমস্ত আপডেট- FIFA World Cup 2018 - Bangladesh Time Schedule
  • BFS, DFS, DLS in Tree implementation in C
  • Numerical Methods 20 Multiple Choice Questions and Answers

Earn Money From Your site

Translate To your language

Categories

Advanced PHP (3) Android Developement (5) Articles (6) Artificial Intelligenece (3) Blogger Tips (5) Blogging Career (1) Bootstrap Offline Documentation (1) Bootstrap Templates (1) C Programming (14) Computer Architecture (5) Data Structure (11) Difference Between (1) Download Documentation (2) Download Ebook (3) Download Free Blog Template (2) Earning Money (1) Electrical Electronics (1) Guest Posts (1) HTML (4) Java Programming (2) Laravel (3) Laravel Bangla Tutorial (1) MatLab Code (2) My Videos (3) MySQL Database (7) Numerical Methods (9) Offline Documentation (1) Recent Topics (1) Simulation and Modeling (2) Unity Game Development (3) Web Design (3) Web Development (1)

Subscribe To This Site To Get Latest Article On Programming or web

Posts
Atom
Posts
All Comments
Atom
All Comments
© 2016 Maniruzzaman Akash's Blog | All rights reserved
Developed By Maniruzzaman Akash Created By Responsive Blogger Templates | Distributed By Gooyaabi Templates