Search Unity

Your craziest unity extension idea!

Discussion in 'General Discussion' started by skoandi, Dec 7, 2013.

  1. skoandi

    skoandi

    Joined:
    Jul 9, 2012
    Posts:
    67
    The title says it all :)

    A few months ago I actually made a working iOS simulator inside unity! The purpose was to get a feeling of how the splash screen would look without having to actually make a build and run it. I know this sounds totally stupid, but it was a fun challenge! :)

    So what's your craziest unity extension you've ever made/want to make? :)

    Btw I'll maybe post some screenshots later!
     
  2. eskimojoe

    eskimojoe

    Joined:
    Jun 4, 2012
    Posts:
    1,440
    Does your iOS simulator also emulate AOT errors and crashing due to limited iPad memory?
     
  3. Dustin-Horne

    Dustin-Horne

    Joined:
    Apr 4, 2013
    Posts:
    4,568
    Nope... no emulator is going to do that. The AOT compiler is specific to iOS and the hardware architecture. Don't think it's possible to emulate it on x86.
     
  4. KheltonHeadley

    KheltonHeadley

    Joined:
    Oct 19, 2010
    Posts:
    1,685
    An extension called "MMO Maker" where it makes your game for you. Just input your data and BOOM. All finished.
     
  5. squared55

    squared55

    Joined:
    Aug 28, 2012
    Posts:
    1,818
    We sort of already have that... except you have to enter a million lines of data into the code editor.
     
  6. TylerPerry

    TylerPerry

    Joined:
    May 29, 2011
    Posts:
    5,577
    Then all you need to do is hit build, never been simpler!
     
  7. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    I'm making an extension that recreates the Unity engine inside Unity. I'm calling it Uniception.

    --Eric
     
  8. eskimojoe

    eskimojoe

    Joined:
    Jun 4, 2012
    Posts:
    1,440

    Try not to cause Uniception to create another game engine inside itself. It may cause an infinite loop. :D


    Source:
    4Chan.
     
  9. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Well, if I succeed, then Uniception will be able to run itself. ;)

    --Eric
     
  10. AndrewGrayGames

    AndrewGrayGames

    Joined:
    Nov 19, 2009
    Posts:
    3,821
    The dreaded "Auto-game".

    By pressing a button, the extension in question randomly chooses from a few built-in game templates, art/sound assets, and some other junk, and creates a completely non-sensical game for you.

    A quasi-Slenderman is one of the core templates, due to this time last year on these forums.
     
  11. superpig

    superpig

    Drink more water! Unity Technologies

    Joined:
    Jan 16, 2011
    Posts:
    4,659
    Stick this in a file called 'InspiringPictureOfDavidHelgason.cs' inside an Editor folder in your project:

    Code (csharp):
    1.  
    2. using UnityEngine;
    3. using System.Collections;
    4. using UnityEditor;
    5.  
    6. public class InspiringPictureOfDavidHelgason : EditorWindow {
    7.  
    8.     [MenuItem("Window/Inspiring Picture of David Helgason")]
    9.     public static void Init()
    10.     {
    11.         CreateInstance<InspiringPictureOfDavidHelgason>().Show ();
    12.     }
    13.  
    14.     private readonly string[] pictureURIs = new[]{
    15.         "http://thisweekin.com/wp-content/uploads/2011/06/DavidHelgason.png",
    16.         "http://media.edge-online.com/wp-content/uploads/edgeonline/2012/09/david_helgason.jpg",
    17.         "http://i56.photobucket.com/albums/g175/nisute/nisuteTwo/DavidHelgason1.jpg",
    18.         "http://www.develop-online.net/files/images/news/People/David_Helgason_Unity_Evolve_Conf_350.jpg"
    19.     };
    20.  
    21.     private WWW _www;
    22.     private Texture2D _tex;
    23.     public void OnEnable()
    24.     {
    25.         title = "David Helgason";
    26.         _www = new WWW(pictureURIs[Random.Range (0, pictureURIs.Length)]);
    27.  
    28.         EditorApplication.update += Update;
    29.     }
    30.  
    31.     private void Update()
    32.     {
    33.         if(_www == null) return;
    34.  
    35.         if(_www.isDone)
    36.         {
    37.             _tex = _www.textureNonReadable;
    38.  
    39.             var p = position;
    40.             p.width = _tex.width;
    41.             p.height = _tex.height;
    42.             position = p;
    43.  
    44.             Repaint ();
    45.             _www.Dispose();
    46.             _www = null;
    47.             EditorApplication.update -= Update;
    48.         }
    49.     }
    50.  
    51.     public void OnDisable()
    52.     {
    53.         EditorApplication.update -= Update;
    54.         if(_tex) DestroyImmediate(_tex);
    55.         if(_www != null) {_www.Dispose (); _www = null; }
    56.     }
    57.  
    58.     public void OnGUI()
    59.     {
    60.         if(_tex)
    61.         {
    62.             GUI.DrawTexture(new Rect(0, 0, _tex.width, _tex.height), _tex);
    63.         }
    64.         else
    65.         {
    66.             GUILayout.Label ("Loading...");
    67.         }
    68.     }
    69. }
    70.  
    Then look in your Window menu:



    Soon your Unity could look like mine:

     
  12. KheltonHeadley

    KheltonHeadley

    Joined:
    Oct 19, 2010
    Posts:
    1,685
    Popped collar swag.
     
    Deleted User likes this.
  13. Cartographer

    Cartographer

    Joined:
    Mar 19, 2013
    Posts:
    78
    A productive day! How very awesome :)
     
  14. LaneFox

    LaneFox

    Joined:
    Jun 29, 2011
    Posts:
    7,536
    what happens when you close it?


    ...... am i even really typing this?
     
  15. NutellaDaddy

    NutellaDaddy

    Joined:
    Oct 22, 2013
    Posts:
    288
    An extension that will give me ideas for more extensions!
     
  16. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    Nope, you're another one of my Unity extensions.

    --Eric
     
  17. TylerPerry

    TylerPerry

    Joined:
    May 29, 2011
    Posts:
    5,577
    What if, Eric5h5 is a Unity extension made by Uniception....
     
  18. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    1,137
    If anyone could develop an extension that automatically fixes all Unity bugs...
     
  19. TylerPerry

    TylerPerry

    Joined:
    May 29, 2011
    Posts:
    5,577
    Someone should make a virtual pet of David Helgason and you have to feed him and stuff, and he runs around on the bottom of the editor. Infact, you could add other people from Unity like Aurore and Aras and then you train them up and they fight... the ones you don't like you can starve so they are more likely to lose fights.
     
  20. Tiny-Tree

    Tiny-Tree

    Joined:
    Dec 26, 2012
    Posts:
    1,315
    a bitcoin generator instead of Iads but it will eat all ressources and it will be a bit like a virus
     
  21. skoandi

    skoandi

    Joined:
    Jul 9, 2012
    Posts:
    67
    That's a great idea!

    Btw why not create a "App Store" but for fun little unity editor extensions? Maybe I'm going to far but would't it be cool?
     
  22. skoandi

    skoandi

    Joined:
    Jul 9, 2012
    Posts:
    67
    Ok so after 3h I've made it! The only thing left to implement is to get XML data!
    $pic1.png $pic2.png
    But before I do that I'd like to know if there's any interest in this!
    If anyone is interested in the code, you can download it here: https://www.mediafire.com/?zydhtk2qdd1wlbf
     
  23. skoandi

    skoandi

    Joined:
    Jul 9, 2012
    Posts:
    67
    Ok I guess no one.. :/
     
  24. Cartographer

    Cartographer

    Joined:
    Mar 19, 2013
    Posts:
    78
    I think it would be pretty sweet! :)
     
  25. skoandi

    skoandi

    Joined:
    Jul 9, 2012
    Posts:
    67
    Ok I'll finnish this project when I find some time, I'm currently super busy with school this week lol