Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

geckoo

Moderators
  • Content Count

    2,818
  • Joined

  • Last visited

  • Days Won

    158

Everything posted by geckoo

  1. geckoo

    Time.timeScale

    I found a solution with your help, and it works pretty well, but I have another problem with the animations, which remain at 24 fps per second. As a result, there is a jerk when Time.timeScale is ten times lower. How to solve this problem to gain fluency. Thank you to you + + var curTimeScale : float; var maxMoveSpeed = 1.0; function Update(){ if (Time.timeScale < .1) Time.timeScale = .1; else Time.timeScale = Mathf.Lerp(SuperHotFX(), curTimeScale, .1); } function SuperHotFX (){ var controller : CharacterController = GetComponent(CharacterController); var overallVelocity : Vector3 = controller.velocity; overallVelocity = Vector3(controller.velocity.x, controller.velocity.y, controller.velocity.z) / maxMoveSpeed; var overallSpeed : float = overallVelocity.magnitude; if (overallSpeed > maxMoveSpeed) return maxMoveSpeed; else return overallSpeed; }
  2. geckoo

    Time.timeScale

    Thx OcularCash. I understand idea. I'll try it today ++
  3. It's an alpha. We must wait. Graphics are very simple, but it's an interesting style and concept. I think it's not a pure FPS, but only a puzzle/platform game like the amazing Portal. I like playing with the time. If they can find the money through GreenLigth, finally this game will be a indy bomb ++
  4. geckoo

    Time.timeScale

    Interesting. Thx ++ Do you have some code - a little example to understand please? Thx boys ++
  5. geckoo

    Time.timeScale

    I was very impressed by the game superhot and I looked for a similar code to associate with player movement a time variation. I tried different methods with Time.timeScale, but the result is not very smooth. I joined the slow motion script like in FPSKit. It's work, but result not really fine. Do you have any idea about the principle or you have known a similar code? Thank you for your help + + // simply example with forward movement function Update(){ if (Input.GetKeyDown (KeyCode.W)) Time.timeScale = 1.0; if (Input.GetKeyUp (KeyCode.W)) { Time.timeScale = 0.1; Time.fixedDeltaTime = 0.02 * Time.timeScale; } }
  6. You can find a really good example in the Tutorial_FPS to create an interesting turret. Compare your work with this original script. It's very usefull. Thx for sharing ++
  7. Yes. SuperHot is not very explicite. They must find another name... but it's not a problem. How many games changes his name during creation ?
  8. Really interesting. Very addictive. It's built with Unity?
  9. geckoo

    BF4 on PS3?

    IT WORKS ! Look this map Dude - china rising. It's great
  10. Thank you for this information. What do you think about this tool? I tried with Animeeple, but I didn't like. I don't know much about entertainment, and that is why I was looking for an alternative. I will try it ++
  11. geckoo

    BF4 on PS3?

    Hum... nearly all platforms, you said... I got a ZX81 (my first computer). It works?
  12. geckoo

    BF4 on PS3?

    A simple question. It seemed that BF4 would come out on PC, XboxOne and PS4. But on amazon, it also provides for PS3. Is this possible?
  13. geckoo

    Horror help!

    Yes. I made a mistake in terms, but I think he understands the explanation exposed. Trigger or triggered are for me a generic term for the same result in this case... You're right. We must differentiate functions ++
  14. geckoo

    Horror help!

    You can use a simple trigger and when the player passes through - nearly door, a script will change XYZ of the mobile part, but the easiest way is to make a door closing or opening animation and play it by script when triggered ( use OnCollisionEnter and animation.Play() ). Where's the problem ? Can you explain plz ? In FPSkit 1.3.5, you will find an example, a code to use trigger OnCollisionEnter (monster's instantiation) ++
  15. Use RotateAround. Pass it the transform.position of the object (target) you want to rotate around. It's just an example. I try with a camera. It looks interesting : // Simple orbit script // choose your way // in this case, camera runs around a simple axis X var xSpeed : float = 10; var ySpeed : float = 0; var zSpeed : float = 0; var target : Transform; // camera automatically looks at the target function Start(){ transform.LookAt( target ); } function Update (){ transform.RotateAround( target.position, Vector3.right, ySpeed * Time.deltaTime ); transform.RotateAround( target.position, Vector3.up, xSpeed * Time.deltaTime ); transform.RotateAround( target.position, Vector3.forward, zSpeed * Time.deltaTime ); } Boum Boum ++
  16. 3.14 billion years. I was banned by the Gods and I wander the earth as a tramp. I participated in the development of an alternative poker FPS. Суета сует и погоня за ветром. Всё суета - даже моё существование. Ухожу?
  17. Bioshock 1 BF3 CoD modern warfare TeamFortress Source Halo 3 Portal Portal 2 Counter-Strike 1.6 Counter-Strike Source DayOfDefeat Source
  18. it looks interesting. Your MG is very... impressive
  19. It's a great idea (generous), but it seems we can found it on the web ? I'm a beginner in JS and I learned many lessons just with web. See it : http://wiki.unity3d.com/index.php/Beginner%27s_Scripting_Guide (it's an example). I wait your book. I think it's really good thing. I wish not to waste my time and money (too) ++
  20. Really good, but you don't discover anything. This site is free and you can watch these videos on the web site of autor. You can buy it if you like. Why use adf? I don't understand your desire. Money is your motivation? http://www.gamertogamedeveloper.com/
  21. geckoo

    JS or C

    I understood his thinking. When you are accustomed to JS, the syle C seems a little confused. I'm really in doubt. I do not know where to focus my efforts. Thank you for your comments ++
  22. geckoo

    Multi tutorial

    Thanks you Connor Gibson for this large explanation. I will remember Photon for my project. Thanks you Legend for the link to GTGD. It's a usefully site ++
  23. geckoo

    Multi tutorial

    I found many tutorials to understand how instantiate a cube or a sphere in mutiplayer environnement. These tutorials aren't enough to explain the network feature in Unity and i wanna more. Sorry for this words but english isn't my natural language. I do simply. Do you know where i can found a really good tutorial to understand network with unity (or a source - style red vs blue) ? What do you prefer - personnal code for multiplayer or an asset like uLink ? Thank you for your support ++
  24. geckoo

    JS or C

    There are two distinct schools to develop with Unity - Java and C. I asked myself the following questions: what is the most efficient? I think JS is easier to write, but what is it about the final result? Why choose one or the other? I imagine that each of you has an opinion. Thank you for the explanation + +
×
×
  • Create New...