{"id":2282,"date":"2022-09-21T16:52:38","date_gmt":"2022-09-21T16:52:38","guid":{"rendered":"https:\/\/smartfoxserver.com\/blog\/?p=2282"},"modified":"2022-10-18T14:47:40","modified_gmt":"2022-10-18T14:47:40","slug":"new-examples-pack-for-unity","status":"publish","type":"post","link":"https:\/\/smartfoxserver.com\/blog\/new-examples-pack-for-unity\/","title":{"rendered":"New examples pack for Unity"},"content":{"rendered":"\n<p>We have updated the Unity examples pack and tutorials for SmartFoxServer 2X.<br>The new pack contains the following demo examples:<\/p>\n\n\n\n<ul><li>Connector<\/li><li>Lobby: Basics<\/li><li>Lobby: Buddies<\/li><li>Lobby: Matchmaking<\/li><li>Tic-Tac-Toe<\/li><li>First Person Shooter<\/li><li>MMO Basics<\/li><li>SpaceWar 2<\/li><\/ul>\n\n\n\n<p>What&#8217;s new?<\/p>\n\n\n\n<!--more-->\n\n\n\n<ul><li>The new\u00a0<strong><em>Connector<\/em><\/strong>\u00a0example merges the previous\u00a0<em>Connector<\/em>\u00a0and\u00a0<em>Advanced Connector<\/em>\u00a0examples, showing how to perform the\u00a0<strong>connection and login process<\/strong>\u00a0including optional\u00a0<strong>HTTP tunneling<\/strong>\u00a0and\/or\u00a0<strong>protocol encryption<\/strong>\u00a0activation.<\/li><li>Three\u00a0<strong><em>Lobby<\/em><\/strong>\u00a0examples substitute and largely improve the previous\u00a0<em>Lobby<\/em>\u00a0and\u00a0<em>Buddy Messenger<\/em> examples, showing how to create a progressively more complex lobby scene, featuring\u00a0<strong>game launch<\/strong>,\u00a0<strong>Buddy List<\/strong>\u00a0management and interaction,\u00a0<strong>match-making<\/strong>,\u00a0<strong>invitations<\/strong>, public and private\u00a0<strong>chat<\/strong>, etc.<\/li><li>The\u00a0<strong><em>Tic-Tac-Toe<\/em><\/strong>\u00a0example (previously called\u00a0<em>Tris<\/em>) implements a\u00a0<strong>fully-featured lobby<\/strong>, game\u00a0<strong>spectators<\/strong> and\u00a0<strong>invitations<\/strong>.<\/li><li>The\u00a0<strong><em>MMO Basics<\/em><\/strong>\u00a0example merges and updates the previous\u00a0<em>Object Movement<\/em>\u00a0and\u00a0<em>MMORoom Demo<\/em> examples, now featuring a\u00a0<strong>new 3D environment<\/strong>\u00a0and the implementation of\u00a0<strong>map limits<\/strong>\u00a0and\u00a0<strong>Area of Interest visualization<\/strong>.<\/li><li><strong><em>SpaceWar 2<\/em><\/strong>\u00a0is a new version of the old example; other than updating the\u00a0<strong>overall game flow<\/strong>, new features have been added: it is now possible to play with a\u00a0<strong>planet<\/strong>\u00a0attracting starships and weapon shots, starships have a\u00a0<strong>shield<\/strong>\u00a0and they can be destroyed, starships can fire a\u00a0<strong>secondary weapon<\/strong>, the game has a defined objective and a proper ending.<\/li><li>All examples featuring multiple scenes have been updated to make use of a singleton class acting as a\u00a0<strong>connection manager<\/strong>, representing the best practice when sharing the connection to SmartFoxServer among all the project scenes is needed.<\/li><li>All examples feature a\u00a0<strong>new UI<\/strong>.<\/li><li>All examples have been upgraded to SFS2X C# API v1.7.17.<\/li><\/ul>\n\n\n\n<p>You can download the new example pack here:<br><a href=\"https:\/\/smartfoxserver.com\/download\/sfs2x?fbclid=IwAR0Xw4U60m6W_ssZJmObRNkvMipYE3y6yCALIcM1vNNxgVs1dNU-AqoUGVw#p=examples\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/smartfoxserver.com\/download\/sfs2x#p=examples<\/a><\/p>\n\n\n\n<p>And also check the new tutorials in our documentation:<br><a href=\"http:\/\/docs2x.smartfoxserver.com\/ExamplesUnity\/introduction?fbclid=IwAR1gIo-3LC4SPvrQ5yrBpec8OCJSGldWwijGOY5QuvAPS8Ntv5iHlxYDeEA\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/docs2x.smartfoxserver.com\/ExamplesUnity\/introduction<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have updated the Unity examples pack and tutorials for SmartFoxServer 2X.The new pack contains the following demo examples: Connector Lobby: Basics Lobby: Buddies Lobby: Matchmaking Tic-Tac-Toe First Person Shooter MMO Basics SpaceWar 2 What&#8217;s new?<\/p>\n","protected":false},"author":1,"featured_media":2283,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1,6],"tags":[43,7,24,42],"_links":{"self":[{"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/posts\/2282"}],"collection":[{"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/comments?post=2282"}],"version-history":[{"count":6,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/posts\/2282\/revisions"}],"predecessor-version":[{"id":2291,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/posts\/2282\/revisions\/2291"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/media\/2283"}],"wp:attachment":[{"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/media?parent=2282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/categories?post=2282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartfoxserver.com\/blog\/wp-json\/wp\/v2\/tags?post=2282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}