Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: xhidnoda on February 12, 2014, 07:32:38 AM
-
Hi...use this code and translate to playmaker style.
This code is for a random Spawn Obstacle according to values of you decide.
See youtube link how to use: Maybe Jean is the guy of can translate this code in playmaker! is the best!
:P ;D :'(
HEY JEAN...!!!! HELP :)
using UnityEngine;
using System.Collections;
public class SpawnObstacle : MonoBehaviour {
public GameObject obstacle;
float x = 0;
void Update () {
float y = Random.Range(15.43331f, 29.42488f);
if(x < 1000) {
Instantiate(obstacle, new Vector3(x * 6.0f, y, 0),Quaternion.identity);
x++;
}
Debug.Log(x);
}
}
Modify message
-
If there was one thing the world needed, it was definitely another flappy bird clone ;D
-
Hell yeah!
HAHAHAHA
but in PLAYMAKER ;D
-
Here you go! Cloned 1 hr 30 mins since I saw your post.
Send me a postcard when you get rich! :D
-
What amazing is you just share!!
:D
You use Unity 4.3?
-
Yep! The mechanics is all there. You'll need to balance, add scoring and achievements and of course textures and animations.
-
Thanks!!
I open the scene in my house! so i well tell you!
<3
-
Is Works!
But why you don't use a 2D tool of Unity?
-
Oh. You can do this using sprites too.
-
yes....but in my knowledge...i late for do that. :-[
-
Took me about an hour to clone Flappy Birds. We should all team up maybe 8-10 of us and create a contract together; the formula to these games seems to be a "skinners box" where it is highly difficult due to luck (player has very poor control over bird due to the sudden drop) giving the illusion of it being "easy" so they are compelled to play due believing "one more time and I'll do much better".
We each spend one week creating a game and if any of them go viral then we split the money evenly. It's like winning the lottery.
-
@Flying Robot here the source of Flappy Bird
http://www.spriters-resource.com/mobile_phone/flappybird/sheet/59537/
make it happen! :P
@ IceMaker you have a webplayer of your game? or just share the code like @Flying Robot :)
-
Spare me the horror! :-X
-
I fear that you have unleashed untold terrors, dude.
-
Brandon Wu has made a nice Flappy Bird video tutorial (with some neat Playmaker tips):
http://www.pepwuper.com/how-to-flappy-bird-a-quick-tutorial-on-how-to-make-a-flappy-bird-style-prototype-using-unity-playmaker-in-under-50-minutes-1/
-
OOOOHHHHH...!!!! this kind of tutorial is like a drug ;D ;D ;D ;D ;D :o :o :o :o
so many thanks!!!
-
why...don't use a playmaker and unity 2D?
Playmaker 2D is not ready really jet?
-
Hi,
Physics 3d can do pretty much everything physics 2d can do, I believe this was more a strategic advertizing feature to align with competitors then a manadatory feature.
PlayMaker 2d is ready tho, all the custom actions are there. If you see a missing feature, let me know:
https://hutonggames.fogbugz.com/default.asp?W1150
Bye,
Jean
-
So...if is true, why add force 2D don't have a "force mode" like add force (3D)?
See...in the example of Brandon Wu, in player FSM, use add force with force mode:change....
In 2D mode...this feature is not have. why?
-
Hi,
The unity 2d physics is using a different physics engine that do not have the same features. Unity 2d uses Box2d and unity 3d physics using Physx engine.
I am not too sure how to implement the same force mode seen in 3d into the 2d. Interesting question though.
bye,
Jean
-
:o Yes...i know
OK so, i get 2D toolkit + playmaker actions to do this game in 2D (sprites) and 3D physics.
::)
-
HAHAHA.....i kill my self :-[
I use tk2dcamera for the scene. The FSM player is not work. Is like the gravity is soooo more! and the player fall heavy.
anyone know why?
-
Flappy Planes - All FSM source here. Enjoy
http://hutonggames.com/playmakerforum/index.php?topic=6841.0