Like our game on Facebook!

Showing posts with label scripts for unity. Show all posts
Showing posts with label scripts for unity. Show all posts

5/28/2014

From GameSalad to Unity: what i found for now.


Hello guys! How are you? It's Dario and today i want to talk with you about the scariest step you could ever take: Programming from "no code" to "real code".

If you are used to gamesalad,in which everything is so easy to set (you just import your image, you just drop it as an actor, you just make it DO actual things) , to make the big jump to something "better" looks really scary (and believe me, it is!).

BUT. There is a hope if you have never programmed anything. It will be a long road, but if you take it patiently, you probably will go actually SOMEWHERE.

If you don't know anything about javascript, your first step is: codeacademy.com

Then, after two or three months you will come back here, and you will say:
"Alright, now javascript has no secrets, but still i can't do anything with Unity".

And that's okay if you started with GameSalad. How do you move objects? How do you use timers? How do you make "rules" as they are called on GS?

Let's see a LITTLE comparison list:

On GS you can have only ACTORS, IMAGES, SOUNDS, SCENES, and TABLES.
 >On UNITY you have Prefabs(ACTORS), SCENES, IMAGES, MATERIALS(textures), SCRIPTS(The CODE PART of the ACTOR), Physics elements (PHYSICS part of the actor).. aaaand a lot of other things. 


On GS every actor has everything attached to it, all the above: physics, codes, etc. 
>On Unity you can dismiss the useless parts: not everything needs physics!

On GS you have "change attribute" without a rule?
>On Unity you have "function OnStart(){.........}";

On GS You have Timer: Every 0 seconds.
>On Unity you have "function OnUpdate(){...}"

On GS you have "random(10,20)?
>On Unity you have "Random.Range(10,20)";

On GS You have Timer: after 1 seconds.
>On Unity you have "yield WaitForSeconds(1);"

On GS you have "game.points = game.points +1?
>On Unity you have "var points += 1;";

On GS you have "Spawn Actor"?
>On Unity you have "Instantiate(objectName , position, rotation)"; <-- this is a bit  more complex when used.

On GS you have "Destroy"?
>On Unity you have "Destroy(gameObject, secondsToDestroyIt); <-- you can destroy all the object, or whatever part it has attached.

On GS you have "self.position.x"?
>On Unity you have transform.position.x; <--- transform is just like "self". It IS the object.

-and more- (Updating as i find them...)

Do you know something else? Just pop a comment and we will be all happy!


5/16/2014

Presenting a new game!: Jumpy Boy!

Hey guys it's Dario. I want to start this blog by talking about "the Jumpy Boy". It is a game i am currently developing from scratch with gamesalad. Gamesalad it's a no-code application to develop games for ios, html5, android and so forth. So, here is a screenshot:undefined

The main idea here is to replicate those great old-school 16bits games, which is actually not a really simple job after all! Society turned all the people of the world into squares, that think, do, communicate all in the same way. Your main role is to run and get the hell out of that place... You got missions, coins, gems, powers, in app purchases and so on! It's still in alpha-mode, so, it's not yet fully playable.

SO. Cool story uh?

Here some other screenshots:undefined undefined


Yes, if you are asking, it's an endless game, for now. It will have levels, story game mode, and even a 2p mode, maybe... one day.. ahah :D

So what do you think? Am i wasting my time or would you try it? It will be free with in-app purchases :) Let me know your opinion! I am open minded and i am evolving it with comments by people like you!

Dario