tulamide's Recent Forum Activity

  • It seems to still work good. Servers act in mysterious ways ;)

  • Currently it runs nice and fast. I keep my fingers crossed, too!

  • Sluggish all weekend.

    As of 8:30 am GMT site is virtually unusable - 30 seconds to login; 20-30 secs per link.

    *UPDATE*

    10am GMT site responsiveness good; 3 sec login, 2 sec link response.I experience the same. Right now it is very slow again. But there are also times, where everything works fine. But the slow times are much more often.

  • tulamide, ah I found random doesn't spit out nice integers for me like I try to force it into, although the clamp wouldn't solve that either.@Jayjay: I see. Maybe this could help.

    Internally a random function calculates a float that is always greater than 0 (zero) and lesser than the number you hand over. If CC detects a number without fraction part, it returns the calculated float without fraction part, too. That's why the range is [0, i-1]

    Throughout CC there's the problem of slight inconsistencies with very small or very high fractional numbers. That's due to the single precision floats CC is based on and can't be avoided. For example, you might experience some number like 1.234e-9 (=0.000000001234) where you expected a 0 (zero).

    If you want to have more freedom over the numbers generated by random(), you could use floats instead of integers and do the conversion yourself.

    floor(random(3.0)) => integer in the range [0, 2]

    round(random(3.0)) => integer in the range [0, 3]

    ceil(random(3.0)) => integer in the range [1, 3]

    pseudo code

    on function "myrandom"

    set return value to round(random(param(2) - param(1)) + param(1)

    set text to function.myrandom(3, 8) => integer in the range [3, 8]

    set text to function.myrandom(2.5, 4.75) => float with integer steps in the range [2.5, 4.5] (2.5, 3.5, 4.5)

    Hope it helps :)

  • I know I should stay out of it, but since it is important and I am kind of a nitpicker who sometimes cares for examples being correct:

    Edit, as a further example you can also bring randomness into it: Go to layout -> "Level" & clamp(random(3) + 5, 5, 8)

    This would go to a level between Level5 and Level8<img src="smileys/smiley1.gif" border="0" align="middle" />No, it wouldn't. It would go to a level between "Level5" and "Level7". Also, clamp() isn't neccessary. The number range is already clamped through the use of random()

    random(3) spits out one integer of 0, 1 or 2. In general, random(i) => [0, i-1]

    random(3.0) on the other hand spits out any float >0.0 and <3.0 (e.g. 0.000001, 1.27 or 2.99999)

    I apologize for being meticulous, but it makes a difference. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • I'm afraid not many people will see the danger in such a design. The camera is active all day, interpreting everything you do. You can't switch off the camera, the console doesn't even start if the camera is deactivated.

    The software recognizes if you're happy or sad, attending, if your eyes are open or closed, if your mouth is open or closed, etc. All of that for up to 6 people in the camera's view.

    The system knows who is in the room, what you are doing, how long you do it, etc.

    This combined with the fact that you are forced to have an online connection and an XBox Live account. Microsoft gathers informations that even Google will never get. And how long until the first hacker crews break into this system?

    But people nowadays are so indifferent that the XBox One surely will be a success...

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The newest release 14 of Cinema 4D Studio is available as a free version for students around the world. This version is almost complete (incl. BodyPaint 3D, Hair, Character, Mograph, etc.), just network rendering isn't included.

    Restrictions:

    • students only
    • licence valid for 18 months
    • no commercial use

    Link:

    CINEMA 4D R14 Student Version

  • Thanks a lot!

  • So, here's a question for the experienced C2 users:

    I stumbled upon this service. As it claims to support HTML5 I wonder if one could create a simple webpage with just the game frame, and use AppsGeyser to convert it to an Android app with no effort? Has someone tried it, or is someone willing to try? Or is my train of thought too simple? Or, last but not least, is the current method from C2 simple enough?

  • Although it's not a unique thing. Flash is running Unreal Engine since last year, as you can see in this thread: scirra.com/forum/unreal-engine-3_topic53128.html

    So, if this demonstrates a solid platform, it just demonstrates that the wrapper used to present a game (e.g. stand-alone-application, browser) isn't important anymore, as long as you have proper hardware.

  • As a string, just use FormatDecimal, e.g.

    FormatDecimal(5.96000003814967, 5) results in the string "5.96000"

    If you need to keep a number, multiply by 10^number_of_decimals, floor() it and divide again by 10^number_of_decimals, e.g.

    floor(5.96000003814967 * 100) / 100 results in the number 5.96

    I answer just because it was a wonderful sunny day with a clear blue sky (the first since almost 4 months), which gave me some extra energy.

  • Thank you guys, hope it helps someone somehow!

tulamide's avatar

tulamide

Member since 11 Sep, 2009

Twitter
tulamide has 3 followers

Trophy Case

  • 15-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

17/44
How to earn trophies