Jump to content

  • Log In with Google      Sign In   
  • Create Account


theseven

Member Since 02 Jul 2013
Offline Last Active Jun 17 2014 09:52 AM
-----

Posts I've Made

In Topic: Is Unity 2D worth it?

12 May 2014 - 01:14 PM

The Unity engine works very well on mobile devices. Assuming you write high-quality code, your game will also work well across all mobile devices. The supported languages are C#, UnityScript (a very slightly modified version of JavaScript), and Boo (a slightly modified version of Python).

 

 

Yes, that I do know, as I have learnt some stuff about Unity in the past, thank you. But what do you mean with "high-quality code" exactly?


In Topic: Is Unity 2D worth it?

12 May 2014 - 12:44 PM

Thank you all so much for your replies.

So if I wish to build it on Unity, you're telling me that there is no problem to build it for mobile devices and it is reliable? I don't wanna make the mistake of realizing halfway through that I need to make it in Javascript or another language to make it efficient


In Topic: Is Unity 2D worth it?

12 May 2014 - 10:59 AM

 

I've heard that you have to convert it to make it operational and that may lead to slower and heavier programs etc.


Convert what? I've used Unity for a couple years now at work and nothing really rings a bell...

 

Maybe converting is not the expression I was looking for but I've heard that the user may need some Unity plugin to be able to play the game in their mobile device.


In Topic: Is Unity 2D worth it?

12 May 2014 - 10:58 AM

 


From what we have seen, we can either program it in Java or C# with Unity, the problem is I HATE Java.

 

Well Javascript actually, there is no Java in Unity3D, and it depends of the 2D game you have. If you can roll with C++ maybe better to go with a simpler route.

 

Nono, what I meant was, I either use Java and its tools to develop or use Unity.


In Topic: How to write a undertemined size array to a txt file?

23 October 2013 - 12:41 PM

hm no i stil haven't used vectors for anything, up until now i can succesfully write all the variables and array to the file, and trying to see how to read them back.

(looking again to the vectors i understand what you're doing, although i wanna assign those values into my own variables, maybe your code can do that and i'm just too noob to realise)

 

 this is my writing code:

ofstream myfile("data\\checkpoint01.txt", ios::trunc);
         if(myfile.is_open()){
             myfile << playerInfo[0] << endl;
             myfile << playerLocation << endl;
             myfile << roleNr << endl;
             myfile << role << endl;
             myfile << playerName << endl;
             myfile << gold << endl;
             myfile << playerHealth << endl;
             myfile << playerStrength << endl;
             myfile << playerAgilty << endl;
             myfile << playerEndurance << endl;
             myfile << playerMaxHealth << endl;
             myfile << playerItemCount << endl;
             for(int i=0; i<playerItemCount; ++i){
                 for(int j=0; j<3; ++j){
                    myfile << playerItems[i][j] << endl;
                                        }
                                                }
             for(int i=0; i<3; ++i){
                for(int j=0; j<3; ++j){
                    if(playerEquippedItems[i][0]!=0){
                        myfile << playerEquippedItems[i][j] << endl;
                                                    }
                                        }
                                    }
             myfile << questUpdate1 << endl;
             myfile.close();

                        }

          else cout << "Unable to open quest file.\n";

i hope this answers to all that you asked


PARTNERS