Search Results

Search found 4936 results on 198 pages for 'unity 2d'.

Page 14/198 | < Previous Page | 10 11 12 13 14 15 16 17 18 19 20 21  | Next Page >

  • Unity: Assigning String value in inspector

    - by Marc Pilgaard
    I got an issue with Unity I can't seem to comprehend, and it is possibly very simple: I am trying to write a simple piece of code in JavaScript where a button toggles the activation of a shield, by dragging a prefab with Resources.load("ActivateShieldPreFab") and destroying it again (Haven't implemented that yet). I wish to assign this button through the inspector, so I have created a string variable which appears as intended in the inspector. Though it doesn't seem to register the inspector input, even though I changed the value through the inspector. It only provides the error: "Input Key named: is unknown" When the button name is assigned within the code, there is no issues. Code as follows: var ShieldOn = false; var stringbutton : String; function Start(){ } function Update () { if(Input.GetKey(stringbutton) && ShieldOn != true) { Instantiate(Resources.load("ActivateShieldPreFab"), Vector3 (0, 0, 0), Quaternion.identity); ShieldOn = true; } } Hope somebody can help, in advance... Thanks

    Read the article

  • Is it safe StringToHash() to use in Unity?

    - by Sebastian Krysmanski
    I'm currently browsing through the Unity tutorials and saw that they're recommending to use Animator.StringToHash("some string") to created unique ids for animation properties (see here). Since I'm a programmer, to me the word "hash" doesn't represents something unique. Like the Java documentation for hashValue() states: It is not required that if two objects are unequal [...], then calling the hashCode method on each of the two objects must produce distinct integer results. So, according to this (and my definition of "hash"), two strings may have the same hash value. (You can also argue that there are an infinite number of possible strings but only 2^32 possible int values.) So, is there a possibility that StringToHash() will give me an id that actually belongs to another property (than the one I requested the hash for)?

    Read the article

  • vlc issue with unity

    - by bob
    I'm using ubuntu 12.04 with unity 3d. I am having troubles to lock vlc (version: VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)) to the left panel. It doesn't behave the same way other applications do. This is a fresh install from the repo, I didn't change any settings. Ubuntu 12.04 is also a fresh install. For example, (left) clicking on it doesn't bring it to front, but creates a new instance (this in particular is very annoying, if it gets behind another window, that happens to be maximized, there is no way to bring it back up). It also doesn't have a right arrow to say the number of instances there is. Any way around that ?

    Read the article

  • Unwanted application icons showing on unity taskbar

    - by shaneo
    I installed my Ubuntu 12.04 desktop after a dependency loop hell. After I re-installed the Unity panel shows all application icons whenever the app is loaded. For example I can now always see VMware and X-Chat where on every previous install these icons never showed no matter how much I wanted them too sometimes. These indicators are starting to fill up my taskbar and was wondering how to make them go away. For example I want Thunderbird, Empathy and X-Chat to be able to be closed to the messaging menu like they did in all my other previous installs. Also I have X-Chat indicator installed but it will not allow me to close to messaging menu - I have to have the indicator icon enabled in order to close it. Any assistance in these issues would be greatly appreciated.

    Read the article

  • Unity environment way too slow in Ubuntu 13.10

    - by Santiago
    Unity and its apps open too slowly whenever I open one. It takes a while for them to appear completely. Everything works properly when the window is already open. The biggest problem is with the dash: it's SO SLOW when I'm looking for an app although I have removed some lenses. What should I do or what can I do? These issues only occur with Ubuntu 13.04 and 13.10 whereas 12.04 works AMAZNGLY but I have issues when updating a package or installing a new one, that's why I don't opt for that one. Specifications: RAM: 2GB, Processor: Intel® Atom™ CPU N2600 @ 1.60GHz × 4, Graphics card: Gallium 0.4 on llvmpipe (LLVM 3.3, 128 bits)

    Read the article

  • 12.04 - Disable the HUD trigger key [ALT] in Emacs & Terminal

    - by EoghanM
    An answer on How to disable HUD in Unity 2D? points to https://bugs.launchpad.net/unity-2d/+bug/947613 where the ALT key will be made reconfigurable. Apart from emacs usage, I'm reasonably happy with using the ALT key to bring up the HUD. While using emacs though, the ALT key is tapped frequently to invoke commands. Should emacs be special cased with respect to the ALT key? I'm wondering what the situation is with games; surely lots of games repurpose the ALT key for their own use, e.g. to fire a weapon? If so, could the same be applied to Emacs, i.e. prevent the ALT key in emacs from triggering the HUD. Edit: just realized how extensively I use the ALT key in the terminal: a quick tap of ALT+B to move back a word loses focus of the terminal and brings up the HUD. Aghch

    Read the article

  • How to improve Unity Performance?

    - by Wolter Hellmund
    I installed ubuntu netbook edition on my netbook* expecting to get the best performance out of it, but apparently, that didn't turn out. Unity is a bit slow on it, and when I click on Files and folders it takes a while to load the respective interface and the bar at the top disappears and then loads in. Is this expected? Is there anything I can do to improve the performance? Is this problem specific to my netbook? *Netbook info: Acer - Aspire One 1.6 GHz Intel Atom Processor 1 GB RAM Memory Intel GMA 950 graphics card

    Read the article

  • Some help understanding and modifying a 2D shader

    - by electroflame
    I have a similar question as the one posed here, except that I don't wish to use a 1D Color Palette. I simply wish to have it display 1 color of my choosing (red, for example). I plan to use this as a "shield" effect for a 2D ship. I also wish to understand how it works a little bit better, as I'll be the first to admit that shaders in general are not my strongest suit. I'm not asking for an overview of HLSL (as that is too broad of a subject), just an explanation of how this shader works, and the best way to implement it in a 2D game. Code examples would be ideal (even if they are theoretical) but if the answer is explained well enough, I might be able to manage with plain old text. This is also in XNA 4.0. Thanks in advance.

    Read the article

  • Is Unity's Random seeded automatically?

    - by Lohoris
    I seem to recall Unity's Random is automatically seeded; checking the documentation it doesn't say it outright, but a certain interpretation of their words might seem to imply it. The seed is normally set from some arbitrary value like the system clock before the random number functions are used. This prevents the same run of values from occurring each time a game is played and thus avoids predictable gameplay. However, it is sometimes useful to produce the same run of pseudo-random values on demand by setting the seed yourself. (emphasis added)

    Read the article

  • Help comparing Cocos2d and Unity3d for this project [closed]

    - by Omega
    I will not go into details, but I would like to hear your opinions about this: Essentially, my project will be a 2d game, with lots of complex levels, where some might be simple and others might be a bit more deep, with physics, etc. We want to implement our very own online structure: logging in, leaderboards, achievements, friends etc with our own servers. This means no OpenFeint nor GameCenter at all. We expect this game to be very large in both graphics and audio. We wish to use in-app purchases. Now, we considered two options. Cocos2d and Unity3d. We need help deciding using the factors I mentioned before (networking, good performance even for a large game in terms of graphics and audio like this, in-app purchases, etc) which option would fit better this? Technically, both options can create 2d games. I'd like to hear your opinion.

    Read the article

  • Clicking on active apps on unity launcher stopped working

    - by Tim
    I don't know how it suddenly became this but here's what's happening right now: e.g. I have 2 firefox windows open, so I see 2 small arrows on the left side icon of the unity launcher. Before, when I click on the firefox icon, I see 2 small windows of the firefox so I can choose which one. Now it suddenly stopped working. (super+W still works though). The bug on my system applies to all progams with multiple window instances like nautilus, terminal, etc. Please help, I don't know what to do. I also have cairo dock, compiz, myunity installed in my 12.04. I tried searching online to no avail.

    Read the article

  • Removing CrossOver Games from Unity Start panel

    - by Cássio Amary
    I'm new to Ubuntu and recently installed CrossOver Games Trial on Ubuntu 12.04, didn't like it, tried to uninstall it but simply refused to go away , so I just went on and deleted the folders in the File System. Problem is that now there are 4 icons left on the Unity Start Panel under "installed applications", and I don´t know how to remove it. Actually, could anyone tell me how to delete any shortcut that is created on the Start Panel? Is there a way to do it? Thank you very much!

    Read the article

  • Non persistent keyboard shortcuts in Unity

    - by nblumoe
    I did change the keyboard shortcuts for window navigation in Unity to use hjkl (vim movement). I did reassign the shortcuts via GUI in System Settings Keyboard Shortcuts. Here are two examples of the assigned shortcuts: Move window one workspace to the left = Shift+Ctrl+Alt+H Switch to workspace left = Ctrl+Alt+H Occasionally, when restarting the maching, these shortcuts are being reset to theit default values: Move window one workspace to the left = Shift+Ctrl+Alt+Left Switch to workspace left = Ctrl+Alt+Left How can I make these changes permanent? Can someone help me, narrowing down the problem?

    Read the article

  • Sudden crash with gnome and unity

    - by cent89
    I've a Toshiba Satellite Pro U400 with Ubuntu 11.10. Very often when I'm working on the pc reboots itself, or close all programs and return to the login screen. This is very annoying, often I lose my job I'm doing, sometimes I make bad figures while projecting slides or movies in public. What happens is that with Unity 3 with Gnome, so I do not depend on these. I also checked the log files but with little success because I can not interpret them the best. Can you help me solve this serious problem? thanks. Roberto

    Read the article

  • Free Models and Related Animations for AI project in Unity [on hold]

    - by zhed
    Does anybody know a good website where to find free models and animations for AI projects? I'm not talking about anything good looking, like stuff you would look for when building a proper game, but, for example, a bunch of male/female models that are able to walk around and that would substitute my ugly "capsules", just to give a better -yet, still rough - idea of what's going on in the scene. On the Unity Asset Store there are a bunch of nice male/female models, but i haven't found any free general-purpose(i.e. normal walking) animation attachable to them. Any tip would we appreciated, thanks :)

    Read the article

  • Clone Unity Dock for All Users?

    - by jduc
    I've spent 3 days trying to figure out how to clone the Unity dock from my firstuser profile in Ubuntu 12.04 to all of the other profiles I'm hoping to create. I've read where the /etc/skel folder contents get populated to all new profiles but this doesn't seem to include the dock or the desktop folders and icons. I've also copied the entire contents of my /home/firstuser folder to my /home/seconduser folder (including .* files) but the dock is still showing the stock icons and not the icons I've designated in my firstuser profile dock. Does anyone have any suggestions?

    Read the article

  • Render 2D textures on a 3D object's face

    - by www.Sillitoy.com
    I am not familiar with 3D graphics, and I'd like to know the right way to render some 2D figures on different points of a wider face of a 3D object. My 3D object is just a cube representing a poker table. I have a 2D png for players' placeholders, and I'd like to render these figures on the 3D object where needed. An alternative solution would be to render the whole face with a big picture containing all the placeholders figures. However, it would be a waste of memory and thus less efficient. What do you suggest?

    Read the article

  • Textures selectively not applying in Unity

    - by user46790
    On certain imported objects (fbx) in Unity, upon applying a material, only the base colour of the material is applied, with none of the tiled texture showing. This isn't universal; on a test model only some submeshes didn't show the texture, while some did. I have tried every combination of import/calculate normals/tangents to no avail. FYI I'm not exactly experienced with the software or gamedev in general; this is to make a small static scene with 3-4 objects max. One model tested was created in 3DSMax, the other in Blender. I've had this happen on every export from Blender, but only some submeshes from the 3DSMax model (internet sourced to test the problem)

    Read the article

  • Gnome 2 style user account settings (how to edit user accounts in Unity)

    - by user104140
    Back in Gnome 2 there was a very useful user account editing gui tool whereby I could easily add or edit a user to a group. For example, I could give a standard user access to something that they hadn't installed or don't have default access too, such as Me-TV. How do I do this in Gnome 3 / Unity? I am not allowed to create the tag "edit user accounts" or similar and there isn't anything similar existing, strangely. I'm guessing there is a totally different way to edit user accounts or no one bothers - perhaps no one shares PCs anymore.

    Read the article

  • Oh Unity Launcher scrambled with color dots after log on or restart

    - by Cominatyalive
    The left hand side Unity launch bar is color scrambled after reboot, or log on. When touching it with the mouse arrow, it comes back to normal. I installed gnome shell color before this started happening. I will uninstall gnome shell color & see if this problem goes away. Any one ever see this happen. I run a Nvidia 550ti ge-force graphic card. I have the latest 295.33 driver from Nvidia installed and it does show activated in my restricted driver window. Oh yeah, before you inform me, I can tell you that yes, I do see the instructions to report bugs to the correct source. But I really don't know if this is a bug or not. Could be something else.

    Read the article

  • Calendar icon in unity shows wrong date

    - by felix
    There is a column of icons in unity on the far left and one of them has the number "31" in big numerals. If you mouse over it it says "Google Calendar" and if you click on it you get google calendar which of course shows the correct date. Today is November 3. Shouldn't it say "3" instead? If I type "date" from the command line I get Sun Nov 3 21:19:37 GMT 2013 I see this was fixed for Chrome at least in 2011 http://gmailblog.blogspot.co.uk/2011/04/5-years-of-google-calendar-and-new.html .

    Read the article

  • Have windows key (meta) trigger Gnome-do instead of Unity Dash (12.04)

    - by Jason O'Neil
    On my laptop the Unity Dash often launches really slowly. I might press the Windows button, and sometimes it will take up to 15 seconds to open, and the system becomes unresponsive during this time. This is especially likely if I haven't opened the launcher in a few hours. I have Gnome-Do installed, and I currently launch it with "Ctrl + Space", and it launches instantly and is very responsive. I would like to swap my shortcut keys, so Meta (the Windows key) launches Gnome Do, but I can't figure out where to change the keyboard shortcut for the dash. Any clues?

    Read the article

  • How do I replace Unity?

    - by Krista O'Connors
    I wanted to use Ubuntu 12.04 for its long term support. But I cannot stand Unity. I cannot find a way to replace it with compizconfig, so I tried replacing it with Lubuntu. When I restarted my computer started to load lubuntu, then just went right on with ubuntu as if nothing had happened. Likewise, it shows lubuntu when it shuts down. What is the deal? I'm confused here, is ubuntu 12.04 supposed to be an operating system or a desktop interface? Can I even run ubuntu with a Lubuntu interface? Is there a way to do this in compizconfig that I should be doing instead?

    Read the article

  • Unity freezes when laptop screen is closed

    - by Giacky98
    I have an Asus laptop running Ubuntu 12.04. It's configured to do nothing when the laptop screen is closed. But sometimes, when I close the screen and when I reopen it, after I move the mouse to reactivate the screen, my Unity interface is frozen and I can't click on anything. I can move the cursor, and if there's a music playing it keeps playing, but I can't click on anything. I can open a bash shell typing Ctrl+Alt+F2, but there I don't know what to do, I can only login and type sudo reboot to reboot the machine... Is there someone that has the same problem or that knows the solution?

    Read the article

  • 12.10 Unity GUI Not Displaying

    - by lolajl
    I had 12.04 installed and had no problems at all, having had it setup on my Compaq Presario CQ62 for about 2 weeks (I'm new to Ubuntu and I had a spare laptop to experiment with). Last night, I installed 12.10 through the update manager. Now, I'm not seeing the Unity GUI if I select Default or Ubuntu, at all, just the Eclipse launcher which I had created sitting on the desktop. Even hitting the Windows key to bring up Dash doesn't work. But, when I select GNOME during login, I'm able to access everything in the GUI, including the menu folders for games, internet, system settings, etc. There was a couple error message saying that a system file wasn't loading properly but I forgot to write these down, and now these error messages aren't loading when I restart. Will I need to wipe clean and reinstall?

    Read the article

< Previous Page | 10 11 12 13 14 15 16 17 18 19 20 21  | Next Page >