Posts By :

New_bluecreazione

Adobe After Effects 17.0 Released 490 306 New_bluecreazione

Adobe After Effects 17.0 Released

 

Adobe After Effects recently released in November 2019 release version 17.0 with new features and multiple enhancements.

Highlights below:

  • Preview and Playback performance improvements:
    • This release comes with threading improvements. With GPU accelerated display, we can achieve clearer and performant rendering than previous versions.
  • Content-Aware Fill for video:
    • Remove unwanted objects from video faster and reduce memory usage.
  • Shape Improvements:
    • This release comes with performance improvements when working with shape layers. Now we can right-click to group and ungroup shape layers using add drop down menu. Additionally, select multiple shapes in the timeline panel with single right-click.
  • Enhanced EXR Workflows:
    • This release comes with a faster compositing process and improved setup process via importing EXR files. Working with large files is more performant than previous versions.
  • Cinema 4D Lite R21 and New Cineware render
    • When we install After Effects, installer installs ‘Maxon cinema 4D R21’ and creates folder in application’s location. For rendering After Effects with Cineware account is not needed.
  • Text Style Expressions:
    • We can now directly access new text property option and we can set text style properties using Expressions.
Text to speech in Unity WebGL 490 306 New_bluecreazione

Text to speech in Unity WebGL

I and my team just finished up an awesome POC with our client. We used some really simple tricks to get our 3d character model to speak whatever we typed in the text area in HTML. Before I go into this, you should be aware of Unity, Javascript, HTML.

Believe it or not, but to convert text to speech there is a very simple Javascript function. This function is not difficult to find online when you know the keywords like Speech Synthesis. Most of the top browsers including Apple’s Safari has this feature. Below is the code which converts Text to Speech,

   function Speak(str) {
  var msg = new SpeechSynthesisUtterance(str);
  msg.lang = ‘en-US’;
  msg.volume = 1; // 0 to 1
  msg.rate = 1; // 0.1 to 10
  msg.pitch = 1; //0 to 2

  // stop any TTS that may still be active
  window.speechSynthesis.cancel();
  window.speechSynthesis.speak(msg);
}

Above function is a simple Javascript code which can be used in any HTML file. And doesn’t require server to run. The above function takes in a parameter “str”. This is the string which you need computer to speak. Call the Speak function and see how the computer speaks.

As its fairly easy to use the above function of JS in your HTML, most developers would prefer that. However if in case you want to access such functionality in C# of unity, you can do following steps.

1: Create a .jslib file (Simple text file) and place it under “Plugins” folder in your “Assets” folder in unity.

2: Edit the .jslib file you created and add below code to it.
var MyPlugin = {
Speak: function(str){
  var msg = new SpeechSynthesisUtterance(str);
  msg.lang = ‘en-US’;
  msg.volume = 1; // 0 to 1
  msg.rate = 1; // 0.1 to 10
  msg.pitch = 1; //0 to 2
// stop any TTS that may still be active
  window.speechSynthesis.cancel();
  window.speechSynthesis.speak(msg);
}
}

3: Now you are ready to use this function in your MonoBehaviour C# code. Add the “using System.Runtime.InteropServices;” on top of the C# file.
Right above your “Start()” function, make sure you declare the function you want to call by adding
“[DllImport(“__Internal”)]
private static extern void Speak(string str);”

4: That’s it, now you can call ” Speak(“Text you want to speak”);” function anywhere inside Start, Update, FixedUpdate, etc…

The Example C# file would be like this.
using UnityEngine;
using System.Runtime.InteropServices;
public class NewBehaviourScript : MonoBehaviour {
[DllImport(“__Internal”)]
private static extern void Speak(string str);

void Start() {
Speak(“Text you want to speak.”);
}
}

There you go, we just saved you a few $$ by above code. If you have any of such cool stuff to do in Unity, connect with me. I and my team will be glad to help you and your team.

Cocos2dx error argument value 10880 fix 1024 450 New_bluecreazione

Cocos2dx error argument value 10880 fix

There has been a strange Xcode error which has been causing lot of issues lately. Here is a fix to that.

When building your Xcode project for Cocos2dx, you would encounter an error which would say “Argument value 10880 is outside the valid range [0, 255] btVector3.h“. Till Cocos2dx team fixes this issue in their next update after 3.17.2, here is a quick fix.

Find the below Line in the btVector3.h file,

#define BT_SHUFFLE(x,y,z,w) ((w)<<6 | (z)<<4 | (y)<<2 | (x))

Replace the above line with below line,

#define BT_SHUFFLE(x, y, z, w) (((w) << 6 | (z) << 4 | (y) << 2 | (x)) & 0xff)

That’s it, this should temporarily fix the issue.

Below is the reference for this post,

https://discuss.cocos2d-x.org/t/xcode-11-ios-13-cocos-not-running/46825

Dragon Kombat’s new update New_bluecreazione

Dragon Kombat’s new update

It has been quiet a few months since we last updated our game Dragon Kombat. We have been exploring many options to improve the performance of the game Along side adding more depth to our graphics.

With the Dragon Little Fighters 2 in development we came across various techniques to improve not just the quality but the over all performance of the game as well. For Android we were able to crunch upto 75MB build size from approx 95MB. Giving less Ram utilisation and space saving for users. For iOS devices we could now achieve 60fps on our game.

To know more about this exciting game check out the game on IOS, Android, MacOS and Web.

Dragon Kombat online game 490 306 New_bluecreazione

Dragon Kombat online game



Game will start automatically. It’s approximate 100MB big.

Play Full Screen
Dragon Kombat

Experience over-the-top arcade fighting of Dragon Kombat!
We bring the power of arcade fight game to mobile device with similar controls and actions. This game could also be installed on your Mobile devices. For mobile download game from IOS App Store and Android Google Play.

The last of us – Part 2 150 150 New_bluecreazione

The last of us – Part 2

Last of us franchise has been a fascinating one for all the game enthusiasts. The last of us game has been well known for its Cinematics and Dynamic story telling through out the game. Following the same style, Naughty Dogs have pushed their boundaries to the very edge.

The Last of us part 2 has been in development since 2014. And recently Naughty Dog is finally ready to show some gameplay. Looking at what they have shown so far it seems the gameplay is changing in a good way.

There is a new Dog sniffing system, where the dogs can catch your trails and scent, and they will try to get to you if you make even a slightest mistake. What they have shown seemed more like a stealthier gameplay. Also Joel is returning in the game which was recently unveiled. There is also a Workshop where Ellie is shown customising and reloading her weapon. Which seems very realistic approach to the scenario.

Check out the Gameplay they released along side the Release date of 2-21-20.

Check out more about it on the home page below. Also available for Pre-Order.

Sayonara Wild Hearts New_bluecreazione

Sayonara Wild Hearts

“For a mobile game this felt perfect. Although never quite felt like a mobile game while playing. It simply is amazing.” – Inquest.

When I first saw this game on Apple Event. It felt like just another endless runner. And honestly never really thought of playing it on my iPhone. But as Apple launched the new Apple Arcade. There were bunch of many games which looked great and made more sense than this ‘bit’. However looking at the preview video of Sayonara Wild Hearts, I felt like giving it a try just this one time for one day.

And so “the story begins” from the very first narration in the game I found myself in a whole new world of endless AWww! The game just took off and never stopped until I completed the first Level! The game didn’t even stop for loading. Also when the level completed it felt like Game was resting more than me! As literally my phone was on fire! Literally the performance(phone) was sweating to keep up with the beauty/graphics of the game.

Game and the music felt like they were made for each other. And on the other hand I am sure who ever was playing the game was having super fun.
Although I ranked Bronze and Silver On every level, I just wanted to see what the game had for me next. And never did I ever skipped the “bit”. Well the game will keep asking you if you wanted to skip the level “bit”. Truth be said I did do it the first time and then I super regretted it! And never did that again till the very end.

Levels in this game are really fun and complete. The game has 2d, 3d, 2.5d gameplays through out various levels. Which keeps this game very much connected to the players. The story narration also feels great till the very end. Mostly you will be filled with awesome music of the game ringing in your head till you finish the game and beyond!!

Sayonara wild hearts could be 1 game making you buy that Apple Arcade subscription. Just check out this whole and soul perfect game.
The game is available on Apple Arcade, Nintendo Switch, PS4.


Black is the new Apple White with iOS 13 New_bluecreazione

Black is the new Apple White with iOS 13

With the new OS finally out after a year, iOS 13 definitely feels straight out new. Even though it has the same Icons layout, same Dock, same Settings etc. iPhone feels new only because of a new feature, “Dark Mode”.

It has been seen coming ever since Mac OS got the Dark Mode. Everyone wanted to see the same White changing feeling on iPhones and iPads.

With the new release of iPhone 11 series, came in the new IOS 13. Perfect companion for an iPhone or iPad, iOS and iPadOS 13 feels great.

The speed of unlocking has been definitely increased. Visual increase in app opening speed makes iOS devices even snappier. When I say iOS devices, its literally all the iOS 13 supported devices which have got all these speed bump, Apple Arcade and Dark Mode.

Apple Arcade is yet another awesome feature by Apple. Although you would wonder that already iOS games were great and sharp! But it just got all new Shinier with Apple Arcade. Apple Arcade will only showcase non In App Purchase, completely free to play games which had great gameplay and looked visually stunning. Apple Arcade comes with a month of free subscription and after that it comes to $4.99/Month.

Apple TV + has been released as well with the new iOS 13. It will stream great new shows. Its similar to Amazon Prime, Netflix and other streaming services. But there will be limited series and high quality content.

Download iOS 13 now. For more on iOS 13 check out Apple site below.

Cordova v5 Push notifications for IOS and Android 150 150 New_bluecreazione

Cordova v5 Push notifications for IOS and Android

Push notifications are very useful in the mobile applications and it is fast and efficient way to communicate directly with customers.

Push notifications are used to send real time updates,share important news and exciting offers to customers, To achieve the Cordova v5 Push notifications for iOS and Android, We used Firebase API which is provided by google.

There are different process of Push notifications for iOS and Android, we discuss it one by one.

The plugin used for Push Notifications for iOS and Android is “phonegap-plugin-push” and you have to run command in command prompt by cordova plugin add phonegap-plugin-push

Push Notifications for Android

To Recieve push notifications in Android, we need device Id or token of Android device and API_Server_Key

Here is the below code to get the device token or Id.

var devicetoken; 
document.addEventListener('DOMContentLoaded', function () {
   
    main();
    
    document.addEventListener('init', function(event) {
  
          var push = PushNotification.init({
            "android": {
                "senderID": "810340046523",
                 sound: "true",
                vibrate: "true",
                forceShow: "true"
            },
           
        push.on('registration', function(data) {
        
        devicetoken= data.registrationId;

        
  });
  push.on('error', function(e) {
    // e.message
});

By using above code we can get the device token or id from android device and Above senderID is mentioned in google.json file which is downloaded from Firebase.

To get the API_Server_Key, We need to Register the Android application into firebase by using app’s package name and after registering the app into the firebase we can get the API_server_key and legacy server_key from firebase.

By using this API_server_key, we need to put this into PHP code for cordova-Android Push notification which is as follows.

$path_to_firebase_cm = 'https://fcm.googleapis.com/fcm/send';   
 $fields = array(
        'registration_ids' => array($user_device_key),
        'priority' => 10,
        'notification' => array('title' => $_POST['notification_title'], 'body' =>$_POST['notification_text'] ,'sound'=>'Default','image'=>'Notification Image' ),
    );
    $headers = array(
        'Authorization:key=' .'API_server_key',
        'Content-Type:application/json'
    );  

    // Open connection  
    $ch = curl_init(); 
    // Set the url, number of POST vars, POST data
    curl_setopt($ch, CURLOPT_URL, $path_to_firebase_cm); 
    curl_setopt($ch, CURLOPT_POST, true);
    curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
    curl_setopt($ch, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4 );
    curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($fields));
    // Execute post   
   $result = curl_exec($ch );
curl_close( $ch );
 //echo $result;
 $this->Flash->success(__('Notification sent to Android.'));
                  return $this->redirect(['action' => 'index']);

After Putting the above php code and entering the API_server_key, You are able to send the push notification for android by using Cordova v5.

Push Notifications for iOS

To receive the push notification in ios by using cordova v5, we need to register the iOS app into the firebase console by putting the Bundle Id of iOS app and after that we can download the googleinfo.plist file which can be placed in root folder of app.

We also need the Authentication key in iOS which is not needed in Android, To get the Authentication key and Team_id, We need to follow some steps which are as follows.

1.In Apple developer account,go to Certificates, Identifiers & Profiles, and under Keys, select All.

2. Click the Add button (+) in the upper-right corner.

3. Enter a description for the APNs Auth Key

4. Under Key Services, select the APNs checkbox, and click Continue.

5. Click Confirm and then Download. Save your key in a secure place. This is a one-time download, and the key cannot be retrieved later.

After getting the APN_Authentication_key, We need to put it into iOS application in firebase console under APNs Authentication Key.

We also need to create Provisioning profile and upload it into firebase console, To create this we need to follow some steps which are as follows.

  1. Navigate to the Apple Developer Member Center and sign in.
  2. Navigate to Certificates, Identifiers and Profiles.
  3.  the drop down menu on the top left corner, select iOS, tvOS, watchOS if it’s not already selected, then navigate to Provisioning Profiles > All.
  4. Click the + button to create a new Provisioning Profile.
  5. Select iOS App Development as provisioning profile type, then click Continue.
  6. In the drop down menu, select the App ID you want to use, then click Continue.
  7. Select the iOS Development certificate of the App ID you have chosen in the previous step, then click Continue.
  8. Select the iOS devices that you want to include in the Provisioning Profile, then click Continue. Make sure to select all the devices you want to use for your testing.
  9. Input a name for this provisioning profile (e.g. Firebase Sample App Development Profile), then click Generate.
  10. Click Download to save the Provisioning Profile to your Mac.
  11. Double-click the Provisioning Profile file to install it

By following above steps we can get the Provisioning  profile, we need to upload this profile into fireabase console and we also need to enable the Apple Push notification service in the Xcode.

After Following above all steps now we need to get the device token of iOS device, we can get it by using following code.

var devicetoken;
document.addEventListener('init', function(event) {
  
          var push = PushNotification.init({
           
            "ios": {"alert": "true", "badge": "true", "sound": "true"}, 
            "windows": {} 
        });
        push.on('registration', function(data) {
        
        devicetoken= data.registrationId;
      
        
  });
  push.on('error', function(e) {
    // e.message
});

Since we already registered our iOS app into firebase console, So we can easily get API_server_key in the Project settings and we use this ApI_server_key into the below PHP code.

define( 'API_ACCESS_KEY', 'Your API_server_key' );
$registrationIds = array($user_device_key );
// prep the bundle
$msg = array(
        'body'  => $_POST['notification_text'],
        'title'     => $_POST['notification_title'],
        'vibrate'   => 1,
        'sound'     => 'Default',
    );
$fields = array(
            'registration_ids'  => $registrationIds,
            'notification'      => $msg
        );

$headers = array(
            'Authorization: key=' . API_ACCESS_KEY,
            'Content-Type: application/json'
        );

$ch = curl_init();
curl_setopt( $ch,CURLOPT_URL, 'https://fcm.googleapis.com/fcm/send' );
curl_setopt( $ch,CURLOPT_POST, true );
curl_setopt( $ch,CURLOPT_HTTPHEADER, $headers );
curl_setopt( $ch,CURLOPT_RETURNTRANSFER, true );
curl_setopt( $ch,CURLOPT_SSL_VERIFYPEER, false );
curl_setopt( $ch,CURLOPT_POSTFIELDS, json_encode( $fields ) );
$result = curl_exec($ch );
curl_close( $ch );
//echo $result;
$this->Flash->success(__('Notification sent to iOS.'));
                 return $this->redirect(['action' => 'index']);
}

After Putting the API_server_key into the above code,Now we are able to send push notifications into iOS App.

So By following above steps for Android and iOS we are able to send the Push notifications by using Cordova V5.

Reference Links:

https://firebase.google.com/docs/cloud-messaging/ios/client

https://console.firebase.google.com/

https://firebase.google.com/docs/android/setup

Dragon Little Fighters 2 – Heroes Reveal New_bluecreazione

Dragon Little Fighters 2 – Heroes Reveal

Releasing soon in November. These are the main Playable heroes in your team. They have got each other’s back in times of grave danger!! Stay tuned for more updates on Dragon Little Fighters 2. Click below to follow this game on Facebook.