One of the most interesting elements of Medium is the new technology for two worlds. Developers will show the action in two dimensions simultaneously so players can see the events from two perspectives.
Medium has an amazing ability to move in two dimensions, and the most important thing for the developers is to show what two different worlds looked like. The developers prepared a reflection of natural reality, and it was possible to create it thanks to the appropriate colors and inspiration – for example, the creators translated elements of Zdzisław Beksiński paintings. Interestingly, the team wanted to make sure that even the smaller locations where players spend a relatively short time had a large number of details and were properly polished.
I have the impression that Medium can surprise you with an alternate reality in a very positive way – discovering another dimension should be very interesting, considering the amount of work that has been put into various elements.
function statusChangeCallback(response, forced) {
if (response.status === 'connected') {
// Logged into your app and Facebook.
FB.api('/me', function(response) {
if (forced == 1) {
console.log('Próba logowania przez przycisk');
} else {
console.log('Próba autologowania');
}
console.log(JSON.stringify(response));
fbAutoLogin(JSON.stringify(response), forced);
});
//fbAutoLogin(fb_user_id);
} else if (response.status === 'not_authorized') {
// The person is logged into Facebook, but not your app.
console.log('Please log into this app.');
} else {
// The person is not logged into Facebook, so we're not sure if
// they are logged into this app or not.
console.log('Please log into Facebook.');
} }
// This function is called when someone finishes with the Login
// Button. See the onlogin handler attached to it in the sample
// code below.
function checkLoginState() {
FB.getLoginStatus(function(response) {
statusChangeCallback(response, 1);
});
}
window.fbAsyncInit = function() {
FB.init({
appId: '113502828807977', // App ID
cookie: true, // enable cookies to allow the server to access the session
xfbml: true, // parse social plugins on this page
version: 'v2.2' // use version 2.2
});
FB.getLoginStatus(function(response) {
statusChangeCallback(response, 0);
});
}
// Here we run a very simple test of the Graph API after login is
// successful. See statusChangeCallback() for when this call is made.
function testAPI() {
}
// Load the SDK Asynchronously
(function(d) {
var js, id = 'facebook-jssdk',
ref = d.getElementsByTagName('script')[0];
if (d.getElementById(id)) {
return;
}
js = d.createElement('script');
js.id = id;
js.async = true;
js.src = "https://connect.facebook.net/pl_PL/all.js";
ref.parentNode.insertBefore(js, ref);
}(document));