1. Post #1721
    DeadKiller987's Avatar
    September 2010
    1,070 Posts
    Oh. Thanks!

    Edited:

    Without Jookia I would have a broken and buggy Linux port.

    He helped me get stuff right according to standards and specifications.

    a++ would recommend
    I think if more people like you two would work together, they could do some awesome shit. One guy who just thinks about making an awesome game and another one who wants perfect code.
    Reply With Quote Edit / Delete Windows 7 Lithuania Show Events

  2. Post #1722
    ASK ME ABOUT MY PLAYBOOK INSTEAD OF COLLEGE
    icantread49's Avatar
    April 2011
    1,627 Posts
    i finished the first tutorial for phyzicle here's how it looks in the app





    tapping "Play Result" will automatically download the end result of the tutorial and let you mess around with it
    Reply With Quote Edit / Delete Windows XP United States Show Events Winner Winner x 6 (list)

  3. Post #1723
    Gold Member
    Jookia's Avatar
    July 2007
    6,768 Posts
    cool but what does that have anything to do with what i said
    It's a factor in to which distribution service to use.
    You seem to forget context a lot.
    Reply With Quote Edit / Delete Linux Australia Show Events Zing Zing x 1 (list)

  4. Post #1724
    Hates php
    high's Avatar
    May 2006
    2,415 Posts
    Encoding data in images is fun. Made a class to do it which you can set how many bits per pixel it uses. Going to use it in a program which encodes/decodes data in images.

    R-G-B, 3-2-3 bits (1 byte of storage per pixel). 361KB of storage space filled with random data.


    R-G-B, 4-4-4 bits (1.5 bytes of storage per pxiel). 722KB of storage space filled with random data.


    Pretty cool that even with only 1 bit of each color you can still see the original.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Programming King x 6Optimistic x 5Funny x 2Dumb x 1Artistic x 1 (list)

  5. Post #1725

    April 2010
    2,432 Posts
    Electricity costs money too.
    Hibernate at least then.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 4Disagree Disagree x 1 (list)

  6. Post #1726
    Gold Member
    Jookia's Avatar
    July 2007
    6,768 Posts
    Encoding data in images is fun. Made a class to do it which you can set how many bits per pixel it uses. Going to use it in a program which encodes/decodes data in images.

    R-G-B, 3-2-3 bits (1 byte of storage per pixel). 361KB of storage space filled with random data.


    R-G-B, 4-4-4 bits (1.5 bytes of storage per pxiel). 722KB of storage space filled with random data.


    Pretty cool that even with only 1 bit of each color you can still see the original.
    You'd hate that I store my 10.2 megapixel photo raws with 16bits per colour then.
    Also, obligatory:

    Reply With Quote Edit / Delete Linux Australia Show Events Funny Funny x 31 (list)

  7. Post #1727
    I am a moderator.
    Swebonny's Avatar
    August 2006
    13,248 Posts
    Why doesn't SFML work with Visual Studio 2010? D:
    Didn't you get the book a few days ago? If I was you I'd familiarize myself with it first before attempting to play around with SFML.
    Reply With Quote Edit / Delete Windows 7 Sweden Show Events Zing Zing x 7Agree Agree x 1 (list)

  8. Post #1728
    Hates php
    high's Avatar
    May 2006
    2,415 Posts
    You'd hate that I store my 10.2 megapixel photo raws with 16bits per colour then.
    Also, obligatory:

    Why would I hate that?

    Also I don't get it.. (thejjokerr & Nigey, I get the joke, I just don't get what it has to do with my post...)
    Reply With Quote Edit / Delete Windows 7 United States Show Events Dumb Dumb x 3 (list)

  9. Post #1729
    Paid for a title.
    Maurice's Avatar
    June 2005
    6,175 Posts
    You'd hate that I store my 10.2 megapixel photo raws with 16bits per colour then.
    Also, obligatory:

    ... why did he change color in frame 3?
    Reply With Quote Edit / Delete Windows 7 Germany Show Events Agree x 35Zing x 4Funny x 4Programming King x 1Winner x 1Informative x 1Friendly x 1 (list)

  10. Post #1730
    Gold Member
    Darwin226's Avatar
    January 2009
    4,159 Posts
    Wow, Unity scripting is really weird.

    To do GUI you need to have a OnGUI function that gets called every frame, then, to make a button or something you kind of have to remind unity every frame that you want a button there.
    You literally call GUI.Button() function every frame.

    I have no idea how it keeps track if that's the same button because you do the same for TextAreas.
    Except it's even weirder! The GUI.TextArea() returns a string. That string changes as you make changes to the TextArea.

    Does that actually mean that you can't access any of the properties of the text area? I don't understand this OOP without objects.
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events

  11. Post #1731
    ASK ME ABOUT MY PLAYBOOK INSTEAD OF COLLEGE
    icantread49's Avatar
    April 2011
    1,627 Posts
    Wow, Unity scripting is really weird.

    To do GUI you need to have a OnGUI function that gets called every frame, then, to make a button or something you kind of have to remind unity every frame that you want a button there.
    You literally call GUI.Button() function every frame.

    I have no idea how it keeps track if that's the same button because you do the same for TextAreas.
    Except it's even weirder! The GUI.TextArea() returns a string. That string changes as you make changes to the TextArea.

    Does that actually mean that you can't access any of the properties of the text area? I don't understand this OOP without objects.
    immediate mode GUI

    https://mollyrocket.com/861
    Reply With Quote Edit / Delete Windows XP United States Show Events Informative Informative x 2Useful Useful x 1 (list)

  12. Post #1732
    Gold Member
    Darwin226's Avatar
    January 2009
    4,159 Posts
    Whaaaaaaat....

    I did some testing and set it up so that GUI.TextArea is called only every 10 frames. Now, as expected, it's flickering but it still somehow manages to keep my input! And I don't mean the currently typed string because I'm obviously telling it that every time it's displayed. It actually keeps the current mouse selection and everything.

    How? How does it differentiate between different TextAreas? I never give it any names.

    Edited:

    Thanks for the link. Never heard of it before. I wonder if I'll find it good.
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events

  13. Post #1733
    ASK ME ABOUT MY PLAYBOOK INSTEAD OF COLLEGE
    icantread49's Avatar
    April 2011
    1,627 Posts
    probably uses an implicitly generated ID from the line-number or something
    Reply With Quote Edit / Delete Windows XP United States Show Events

  14. Post #1734
    Gold Member
    Darwin226's Avatar
    January 2009
    4,159 Posts
    probably uses an implicitly generated ID from the line-number or something
    So basically if I did something like
    if (a == 1)
    test = GUI.TextArea(new Rect(0, 0, 100, 100), test);
    else
    test = GUI.TextArea(new Rect(100, 0, 100, 100), test);

    Those two would be separate TextAreas.
    But what if I for example want that to represent the same one, just that it's moved 100 px to the right if a != 1?
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events

  15. Post #1735
    Gold Member
    BlkDucky's Avatar
    May 2008
    6,503 Posts
    ... why did he change color in frame 3?
    I'm also rather confused by the gravity defying tie.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Disagree Disagree x 2 (list)

  16. Post #1736
    Gold Member
    Darwin226's Avatar
    January 2009
    4,159 Posts
    Ok, as far as I can tell. It generates an ID based on the order in which they are created. So if you make TextField A first every frame but then decide to make TextField B before it, it will think that B is A and the selection you had on A will be transferred to B.

    Not a huge problem, I could get used to it.
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events

  17. Post #1737
    I made WAYWO a better place
    OldFusion's Avatar
    September 2011
    1,311 Posts
    Immediate GUI is rather poor when you build something really big because it just becomes a huge cluster fuck.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 4 (list)

  18. Post #1738
    Gold Member
    Darwin226's Avatar
    January 2009
    4,159 Posts
    Immediate GUI is rather poor when you build something really big because it just becomes a huge cluster fuck.
    His argument is to the contrary actually. He says that it's much cleaner with bigger projects.
    He also says that immediate is better and that's why we use immediate graphics so I'm not 100% sure you can take his word for it.

    I don't really like the idea to be honest. Having one state on the whole UI seems very unflexible. What about multi-touch for example? More than one object can be active at the time when his system assumes that there's only one active element.

    It also assumes that there can be only one "Hot" element. For example, if you mouse over something, it's hot because it might become active. That too is kind of wrong. What if I wanted my mouse hovering to affect more than one button (say, they're on on top of another)?
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Agree Agree x 1 (list)

  19. Post #1739
    I made WAYWO a better place
    OldFusion's Avatar
    September 2011
    1,311 Posts
    His argument is to the contrary actually. He says that it's much cleaner with bigger projects.
    He also says that immediate is better and that's why we use immediate graphics so I'm not 100% sure you can take his word for it.

    I don't really like the idea to be honest. Having one state on the whole UI seems very unflexible. What about multi-touch for example? More than one object can be active at the time when his system assumes that there's only one active element.

    It also assumes that there can be only one "Hot" element. For example, if you mouse over something, it's hot because it might become active. That too is kind of wrong. What if I wanted my mouse hovering to affect more than one button (say, they're on on top of another)?
    Imagine if you have something as complicated as a MMO GUI something EVE like complicated where you might just have a thousand GUI elements on the screen. You would seriously go true checking if every element has been triggered and do something with it, Even if you divide stuff in clusters and separate functions its all just a big mess.

    I see how this has advantages for smaller projects but no way i would ever do something like this in a big project.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Agree Agree x 1 (list)

  20. Post #1740
    ASK ME ABOUT MY PLAYBOOK INSTEAD OF COLLEGE
    icantread49's Avatar
    April 2011
    1,627 Posts
    that's actually why i'm so surprised unity uses it
    Reply With Quote Edit / Delete Windows XP United States Show Events

  21. Post #1741
    Gold Member
    Darwin226's Avatar
    January 2009
    4,159 Posts
    Fuck. Didn't know there's no way to get my game on my iPhone without a Mac. Good bye Unity.
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Funny Funny x 9 (list)

  22. Post #1742
    ASK ME ABOUT MY PLAYBOOK INSTEAD OF COLLEGE
    icantread49's Avatar
    April 2011
    1,627 Posts
    Fuck. Didn't know there's no way to get my game on my iPhone without a Mac. Good bye Unity.
    hello marmalade

    Edited:

    on a separate note, i'm at the "finished app, just polishing/bug-fixing/writing a guide" stage. feels good
    Reply With Quote Edit / Delete Windows XP United States Show Events

  23. Post #1743
    Gold Member
    Darwin226's Avatar
    January 2009
    4,159 Posts
    hello marmalade

    Edited:

    on a separate note, i'm at the "finished app, just polishing/bug-fixing/writing a guide" stage. feels good
    I'm not that hyped about iOS (or any kind of mobile) dev but since I had a free Unity thing and it allows me to use C# I thought, "Hey, why not give it a go?".

    But as I usually do, no research on my side...
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Friendly Friendly x 1 (list)

  24. Post #1744
    Gold Member
    synthiac's Avatar
    June 2007
    1,100 Posts
    3-2-3 bits
    2 bits for green

    oh god why
    Reply With Quote Edit / Delete Windows 7 United States Show Events Funny Funny x 6Agree Agree x 4 (list)

  25. Post #1745
    T3hGamerDK's Avatar
    January 2011
    2,551 Posts
    I'm not that hyped about iOS (or any kind of mobile) dev but since I had a free Unity thing and it allows me to use C# I thought, "Hey, why not give it a go?".

    But as I usually do, no research on my side...
    I did this once with Unity, as they have previously given out free licenses. I tried it once, and never looked back. No way I'm ever touching that shit again.
    Reply With Quote Edit / Delete Windows 7 Denmark Show Events

  26. Post #1746
    Hates php
    high's Avatar
    May 2006
    2,415 Posts
    2 bits for green

    oh god why
    2 bits are used for storage. So green would retain 6 bits of the original color.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Informative Informative x 1 (list)

  27. Post #1747
    Rayjingstorm's Avatar
    June 2010
    1,536 Posts
    Got a little work done on checkers:
    Code:
    Jumped: 
     --1---2---3---4---5---6---7---8--
    1|aX |   |bX |   |cX |   |dX |   |
     ---------------------------------
    2|   |eX |   |fX |   |gX |   |hX |
     ---------------------------------
    3|iX |   |jX |   |kX |   |lX |   |
     ---------------------------------
    4|   |   |   |   |   |   |   |   |
     ---------------------------------
    5|   |   |   |   |   |   |   |   |
     ---------------------------------
    6|   |aO |   |bO |   |cO |   |dO |
     ---------------------------------
    7|eO |   |fO |   |gO |   |hO |   |
     ---------------------------------
    8|   |iO |   |jO |   |kO |   |lO |
     ---------------------------------
    Player X, enter checker to move: 3,3
    2,4
    4,4
    
    Jumped: 
     --1---2---3---4---5---6---7---8--
    1|aX |   |bX |   |cX |   |dX |   |
     ---------------------------------
    2|   |eX |   |fX |   |gX |   |hX |
     ---------------------------------
    3|iX |   |jX |   |kX |   |lX |   |
     ---------------------------------
    4|   | 1 |   | 2 |   |   |   |   |
     ---------------------------------
    5|   |   |   |   |   |   |   |   |
     ---------------------------------
    6|   |aO |   |bO |   |cO |   |dO |
     ---------------------------------
    7|eO |   |fO |   |gO |   |hO |   |
     ---------------------------------
    8|   |iO |   |jO |   |kO |   |lO |
     ---------------------------------
    Player X, enter position to move to:
    Checkers are now serialized with letters, and once you choose a checker all of the possible moves are serialized with numerals for quick selection(once I get around to it). I don't much like how I achived this (instead of integrating the markers with the original board I just added another array to draw "on top" of the original) but it works.
    Reply With Quote Edit / Delete Windows 7 United States Show Events Informative Informative x 1 (list)

  28. Post #1748
    Gold Member
    HiredK's Avatar
    November 2006
    437 Posts
    I've implemented CSM (Cascaded Shadow Mapping) a few days ago as a stand alone demo... However to get it working with my engine I had to remove all the older OpenGL call (glLoadMatrixf,glMultMatrixf blah blah) from the demo and replace it with custom glm uniforms that I could use in a scene graph implementation. Also I fixed some nasty z-fighting artifacts in the process.

    Reply With Quote Edit / Delete Windows 7 Canada Show Events Programming King Programming King x 3Winner Winner x 2Friendly Friendly x 1 (list)

  29. Post #1749
    BOSSMAN
    leontodd's Avatar
    January 2009
    4,492 Posts
    Going on a gifted and talented course at a university next week about engineering. Apparently we do some programming on one of the days which should be pretty cool.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Programming King Programming King x 1 (list)

  30. Post #1750
    Icedshot's Avatar
    April 2010
    2,361 Posts
    Encoding data in images is fun. Made a class to do it which you can set how many bits per pixel it uses. Going to use it in a program which encodes/decodes data in images.
    Just as a tip, the human eye is more sensitive to changes in green and red (blue is not a particularly natural colour), and green moreso than red, so its probably more worth storing it as 3-3-2 rather than 3-2-3 to make it looks slightly better to us, perhaps
    Reply With Quote Edit / Delete Windows Vista United Kingdom Show Events Agree Agree x 1Dumb Dumb x 1 (list)

  31. Post #1751
    quincy18's Avatar
    September 2007
    1,018 Posts
    Currently doing some homework from my course, current programming class is optimization and whe are doing Fixed point math and SIMD (Single instruction multiple data).
    Reply With Quote Edit / Delete Windows 7 Netherlands Show Events Programming King Programming King x 1 (list)

  32. Post #1752
    Gold Member
    Lexic's Avatar
    March 2009
    6,123 Posts
    Just as a tip, the human eye is more sensitive to changes in green and red (blue is not a particularly natural colour), and green moreso than red, so its probably more worth storing it as 3-3-2 rather than 3-2-3 to make it looks slightly better to us, perhaps
    As I understand it, those numbers refer to the number of bits removed from each channel, rather than preserved. Therefore 3-2-3 leaves green the most in tact.
    Reply With Quote Edit / Delete Windows 7 United Kingdom Show Events Agree Agree x 6Friendly Friendly x 1 (list)

  33. Post #1753
    Gold Member
    Darwin226's Avatar
    January 2009
    4,159 Posts
    Just as a tip, the human eye is more sensitive to changes in green and red (blue is not a particularly natural colour), and green moreso than red, so its probably more worth storing it as 3-3-2 rather than 3-2-3 to make it looks slightly better to us, perhaps
    It's probably more worth it to encode based on which color's ranges are more saturated in the picture than based on the human eye which can only see marginally better.
    Reply With Quote Edit / Delete Windows 7 Croatia Show Events Agree Agree x 1 (list)

  34. Post #1754
    ASK ME ABOUT MY PLAYBOOK INSTEAD OF COLLEGE
    icantread49's Avatar
    April 2011
    1,627 Posts
    not exactly programming i suppose, but it's related to Phyzicle - i'm working on the web-based guide which includes documentation on every tool, several tutorials, a feedback section, and a credits section
    Reply With Quote Edit / Delete Windows XP United States Show Events Friendly Friendly x 3Winner Winner x 2 (list)

  35. Post #1755

    August 2011
    192 Posts
    one of my wisdom tooth had to be removed and I have ever since the worst "toothache" in history. even pain killers can't stop the horrific pain I'm enduring (no I'm not kidding...)

    even though i was home all the time I couldn't get anything done, the pain is stopping me from being productive. Today was the first day I got something done, but even this took my longer than it should have. I hope this pain goes away soon...

    enjoy my newest hero
    Reply With Quote Edit / Delete Windows 7 Switzerland Show Events Friendly Friendly x 9Funny Funny x 2Artistic Artistic x 1Winner Winner x 1 (list)

  36. Post #1756
    Andrew McWatters
    Dennab
    March 2011
    4,658 Posts
    God dammit, I have to get a wisdom tooth drilled out, through piece by piece deconstruction, because it's impacted at a 90 degree angle.

    I've been kinda avoiding the procedure because ever time I muster up the will to go get it taken care of, someone mentions something like this, or I hear about it on TV or somewhere else.

    I have the least common impaction:

    Wikipedia posted:
    Horizontal impaction (3%) is the least common form, which occurs when the tooth is angled fully 90 degrees sideways, growing into the roots of the second molar.[SUP][citation needed][/SUP]
    Reply With Quote Edit / Delete Windows 7 United States Show Events Friendly x 6Agree x 1Artistic x 1Programming King x 1Informative x 1 (list)

  37. Post #1757
    Map in a box's Avatar
    July 2009
    7,420 Posts
    Eat an apple.

    Edited:

    They have calcium which makes your teeth grow big and strong!
    Reply With Quote Edit / Delete Windows XP United States Show Events

  38. Post #1758

    August 2011
    192 Posts
    God dammit, I have to get a wisdom tooth drilled out, through piece by piece deconstruction, because it's impacted at a 90 degree angle.

    I've been kinda avoiding the procedure because ever time I muster up the will to go get it taken care of, someone mentions something like this, or I hear about it on TV or somewhere else.

    I have the least common impaction:
    Well I had a special case as well, i had to pull both of my upper wisdom teeth and the dentist said this should be done within a few seconds... good joke it took him for both almost 5 minutes as they just wouldn't give in, even though they were already highly damaged... well at least their gone but still.. ARGH the moment when painkillers stop working is the worst...
    Reply With Quote Edit / Delete Windows 7 Switzerland Show Events

  39. Post #1759
    Gold Member
    jaybuz's Avatar
    May 2006
    5,516 Posts
    Make a LUA game about wisdom teeth
    Reply With Quote Edit / Delete Mac United Kingdom Show Events Funny Funny x 4 (list)

  40. Post #1760
    ASK ME ABOUT MY PLAYBOOK INSTEAD OF COLLEGE
    icantread49's Avatar
    April 2011
    1,627 Posts
    holy shit. i must be really lucky. my 2 bottom wisdom teeth were impacted and made my gums inflamed and i couldn't bite down at all. i got all 4 out in 8 minutes (including application of local anesthesia) and i had fries and steak the next day. no pain at all. i really lucked out considering how many horror stories i keep seeing.
    Reply With Quote Edit / Delete Windows XP United States Show Events Programming King x 7Winner x 5Agree x 2Friendly x 1Informative x 1 (list)