Unity Community


Page 1 of 3 123 LastLast
Results 1 to 20 of 57

  1. Posts
    1,286

    Unity Web Suite (Examples, Tutorials)

    Unity Web Suite
    Examples and Tutorials

    License
    # License Information

    Description
    Unity Web Suite is a collection of examples, tutorials and assets for demonstrative and instructional purposes. All project scripts are written in C#.

    Updates
    • 2009.06.04 - Web Suite compiled.
    • 2009.04.17 - PHPHandler 2.0 released.
    • 2009.02.09 - PHPHandler 1.0 released.
    • Generate E-Mail from Unity.


    Examples & Tutorials
    http://waddlefarm.org/blog/?p=368

    Questions, Comments and Suggestions
    Let me know any questions, suggestions or comments you have by replying to this topic or sending me a private message via the forum.

    ================================================== =====

    BrowserHandler
    Version
    0.1 Beta, 2009.06.04

    Description
    Interface between Unity and a browser web page.

    Features:

    ================================================== =====

    PHPHandler
    Version
    0.1 Beta, 2009.06.04

    Description
    Interface between Unity and a PHP web page, mySQL database and PHP functionality.

    Features:
    • Demonstrates Coroutines (yields), in C#, with callbacks.
    • Callbacks used in C# and PHP, allowing for maximum flexibility/scalability.
    • Send/Receive/Parse/Display HighScores
    • Generate E-Mail from Unity.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  2. Location
    The sunken city of R'lyeh
    Posts
    2,061
    Very nice start for your tutorial!

    One suggestion though.

    The second field is called hash and contains a secret code which the PHP script will verify before processing any actions.
    As has been shown in a recent thread on security, declaring your hash string in the source makes it the opposite of 'secret.' Anyone with reflection will know what your hash string is and how it's built.

    An inspector variable is a little more obscure.


  3. Posts
    1,286
    Ah, thanks.

    I was trying to just demonstrate the concept of a hash, though I will take your advice and make it an inspector variable.

    Would you happen to have a link to that security topic?
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  4. Location
    The sunken city of R'lyeh
    Posts
    2,061
    Quote Originally Posted by Tempest
    Would you happen to have a link to that security topic?
    http://forum.unity3d.com/viewtopic.php?t=18253

    The discussion relevant to protecting your hash strings is on page 4.


  5. Posts
    1,286
    I fixed the link to the project files (never used Wordpress to place downloadable files, forgive me )

    Thanks for the link to the topic. Just read through it all. For now I'm going to leave it as is. I'm going to see what HiggyB says about how UT might assist in the security issue.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  6. Posts
    1,286
    Part 2 has been added. This one specifically talks about how to generate an e-mail in PHP from a Comment Form in Unity.

    I know there are *many* security issues in regards to this, so everyone should remember that none of this should be used "out of the box". Anyone considering using elements like this in their own project(s) should look into how best to secure their information.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  7. Posts
    1,286
    I've updated the first post. Part 3 and 4 are finished, but not online yet.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  8. Posts
    546
    This will be nice...
    ----
    Game Developer
    Odin Game Studio - www.odingamestudio.com.br


  9. Posts
    1,286
    Updated original post.

    PHPHandler 2.0 is now released.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  10. Posts
    1,286
    I've just updated the zip with a second version of the PHP script. This second version (phphandler_nosql.php) is a version which does not integrate with a database.

    If you don't have mysql set up, and you try to run the Unity script, the Test Connection will fail, because the script is failing to connect to your database.

    If you just want to run the test, and send an e-mail, use the nosql version of the script.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  11. Posts
    546
    Please,

    The tutorials are ready to download?
    ----
    Game Developer
    Odin Game Studio - www.odingamestudio.com.br


  12. Posts
    1,286
    It's a three-day weekend here in Germany, so I'll write them for sure this weekend. Maybe if I can scrap enough time together I'll do a video tutorial as well.

    Woo, PHP in Video! Exciting.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  13. Posts
    546
    Nice, I already got your zip file from your site, did nto open it yet, but I will take a look.

    The good point to me is that I program in PHP for years =)

    But still dont know if it will be very good use.

    I'm still waiting for your tutorial multiplayer project

    Keep up the good work.
    ----
    Game Developer
    Odin Game Studio - www.odingamestudio.com.br


  14. Posts
    546
    Hey Tempest,

    when are you going to update this topic?
    ----
    Game Developer
    Odin Game Studio - www.odingamestudio.com.br


  15. Posts
    1,286
    Tomorrow (Thursday,June 4), actually.

    I'm going to go through the last release and write some tutorials.

    After that I will look into how to expand, or progress with this script. Anyone who has used this, or would like to see something related to this demonstrated, let me know.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  16. Posts
    546
    Well, actually, I'm using your script for one of my games. It will be a Web Browser game mixed with 3D Game in Unity

    I'm already learning your codes and understanding... if I get the idea behind your script, Unity WWW, it will be perfect. I'm a PHP programmer already, so no problem with this language to me.
    ----
    Game Developer
    Odin Game Studio - www.odingamestudio.com.br


  17. Posts
    1,286
    I do plan on writing a sister-script for this class, which will encompass communication between the browser window and the web app.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio


  18. Posts
    546
    Thats nice.

    I just tested your code... its working good with my local domain and server. I use mySQL too.

    I will make some changes on your script and make it good to my game... I will post the code later
    ----
    Game Developer
    Odin Game Studio - www.odingamestudio.com.br


  19. Posts
    546
    Hey Tempest,

    I saw that your code are all in C#
    I'm still learning...

    Can you make one in Javascript Unity please?
    ----
    Game Developer
    Odin Game Studio - www.odingamestudio.com.br


  20. Posts
    1,286
    Currently working on some tutorials/examples, etc. Trying to round this out to be more than just the PHP communication.

    My first priority is the example/tutorials. I may consider the JavaScript when I have some time, yes.
    Nick Breslin, Social & Unity Developer
    Founder of Etiquette Studio

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •