Ir para conteúdo

Welcome to Wemakeagame - Fórum ©
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

Regras do Shoutbox
Flood {mensagens seguidas}: Não há limites, mas evitem poluir o shout.
Links: Proibido links de outros sites, a não ser de tópicos, vídeos no fórum e vídeos do canal dentro de spoilers.
Conversas: Se tiver duvidas sobre projetos, script e modelagem etc, abra um tópico na área desejada e aguarde ser respondido.
Somente é permitido links de imagens com o link direto, se tiver com sites de blogs será removido.
Vídeos: Somente videos relacionados ao assunto do momento no shout e dentro de spoilers.
Spam: Mensagens sem sentido, excesso de emoticons, fontes de tamanho exagerado, repetição de mensagens iguais.
Banimento: Postagens de links com conteúdo pornográfico, mensagens ofensivas (palavrões),mensagens preconceituosas, acarretará em avaliação do moderador e pode causar expulsão do fórum..

-- [ Converse a vontade, mais cumprindo as regras acima. ]--

@  Gameslee01 : (27 outubro 2018 - 09:54 ) rrrrrrrr
@  MrGabrielSBr : (24 outubro 2018 - 02:16 ) Verdade!
@  Matrirxp : (23 outubro 2018 - 12:08 ) ALGUÉM PRECISA REVIVER ESSE FORUM!
@  Jonydante : (21 outubro 2018 - 12:50 ) teste
@  MrGabrielSBr : (15 outubro 2018 - 02:25 ) Eae!
@  GabryelfAbreu : (25 setembro 2018 - 09:20 ) algueme ai ?
@  moises20xx : (22 setembro 2018 - 08:58 ) opa
@  sables12 : (02 setembro 2018 - 04:50 ) alguem ai sabe como modelar personagens de anime/manga?
@  sables12 : (02 setembro 2018 - 04:49 ) nossa ja comecei escrevendo errado
@  sables12 : (02 setembro 2018 - 04:45 ) oi seu novo acabei de registrar
@  maozao : (22 julho 2018 - 08:00 ) Se puderem dar uma olhada em meu tópico sobre estrutura de servidor e opinarem agradeço :)
@  Afonso0606 : (22 junho 2018 - 10:42 ) como fasso para o raycast colidir em todos os lados x y z?
@  Matrirxp : (25 maio 2018 - 01:25 ) faz um topico
@  andarilho ro... : (25 abril 2018 - 01:44 ) Abaixo, deixarei o meu script no caso de alguém me ajuda:


using UnityEngine;
using System.Collections;

public class PlayerStatsController : MonoBehaviour {

public static PlayerStatsController intance;

public int xpMultiply = 1;
public float xpFirstLevel = 100;
public float difficultFactor = 1.5f;

// Use this for initialization
void Start () {
intance = this;
DontDestroyOnLoad (gameObject);
Application.LoadLevel ("GamePlay");

}

// Update is called once per frame
void Update () {
if (Input.GetKeyDown (KeyCode.A))
AddXp (100);
if (Input.GetKeyDown (KeyCode.R))
PlayerPrefs.DeleteAll ();
}

public static void AddXp(float xpAdd){
float newXp = (GetCurrentXp()+xpAdd)*PlayerStatsController.intance.xpMultiply;
while (newXp >= GetNextXp ()) {
newXp -= GetNextXp ();
AddLevel ();

}

PlayerPrefs.SetFloat ("currentXp", newXp);

}
public static float GetCurrentXp(){
return PlayerPrefs.GetFloat ("currentXp");
}

public static int GetCurrentLevel (){
return PlayerPrefs.GetInt ("CurrentLevel");
}

public static void AddLevel (){
int newLevel = GetCurrentLevel()+1;
PlayerPrefs.SetInt("currentLevel", newLevel);
}

public static float GetNextXp(){
return PlayerStatsController.intance.xpFirstLevel*(GetCurrentLevel ()+1)*PlayerStatsController.intance.difficultFactor;
}

void OnGUI(){
GUI.Label (new Rect (0, 0, 100, 50), "Current Xp = " + GetCurrentXp ());
GUI.Label (new Rect (0, 15, 200, 50), "Current Level = " + GetCurrentLevel ());
GUI.Label (new Rect (0, 25, 200, 50), "Current Next Xp = " + GetNextXp ());

}
}
@  andarilho ro... : (25 abril 2018 - 01:43 ) Criei todo o script certinho e mesmo assim o, ao apertar a tecla "A" (na qual o personagem recebe Xp) o Level não sobe...posso ficar apertando para receber Xp e mesmo assim o level não modifica, fica no 0
@  andarilho ro... : (25 abril 2018 - 01:41 ) Olá pessoal, estou acompanhando a serie "Criando um RPG na UNITY", os primeiros vídeos se tratam sobre Level,Xp e Hp do personagem e ai que está o meu problema...
@  Ɲɨƈk Đɨąʂ : (17 abril 2018 - 10:30 ) http://forumwmag.com...enhador-rápido/
@  Ɲɨƈk Đɨąʂ : (17 abril 2018 - 06:00 ) Boa tarde pessoal, que bom que o forum está voltando, estou terminando um GDD e ainda essa semana estarei criando um tópico pra podermos trabalhar, é bem simples e muito divertido.
@  LeonTrotski : (16 abril 2018 - 12:23 ) Agradeço ao Paulo do Wemakeagame por ajudar muito no canal dele falar sobre emprego na área de programação.
@  Guilherme Rohr : (07 abril 2018 - 11:01 ) ta em MODELAGEM, Blender, Tutoriais, Pedidos

Tópico de Ajuda: Gallery


The gallery can be used to upload images you wish to share with the community. To access it, click the "Gallery" tab at the top of any page.

Gallery Home Page
The gallery has two areas: Categories and albums. Administrators will create the categories that you can upload images into, or create albums within. If you have permission to create albums, you will be able to create them within the categories that administrators designate as accepting new albums. The homepage may show a feed of recent images, featured images, categories and/or recently updated albums, depending upon the administrator's configuration selections.


Viewing Categories and Albums

Image Listing
You will see a tiled layout of images that the album contains. You can click on any thumbnail to see the full-size image. The information will initially display inline, allowing you to navigate the images without leaving the page, however you can view more details about the image by clicking on the image caption within the window.
If the category has any sub-categories or albums, you will see these listed.


Slide Shows
You may be able to see a slide show of all images in that category or album by pressing the slide show link when viewing the list of images. Click on the Slidehow link to enter the slideshow mode.



Viewing Images

Information, ratings and options
To the side of the image, you will see more information about the image such as who uploaded it, when they uploaded it, how many views and comments the image has, and how big it is.

You may see a number of stars which show the image's rating. You may also be able to rate the image yourself by selecting one of the stars. If you are able to rate an image, the stars will change color as you move your pointer over them.


To the side of the image you will see a photostrip of other images in the category or album, which you can use to quickly jump to those images. You can cycle through these images by clicking the < and > buttons to the left and right of the photostrip.

Sharing Images

Below the image, you will have several options to share it with others, such as Facebook, Email, or Twitter.
Embed Images
Each image has unique HTML and BBCode embed links for you to embed them on your website or within the forums. To display these, click on the "Options" drop down, and then click on "Share Links"
Comments
At the bottom of the image's page, you will see any existing comments on the image. You can add a comment by pressing the " Add Comment" button, and you can use the "Reply" and "Multiquote" links, and the Fast Reply box, just like in the forums.


Adding your Images

Clicking an upload link or button will take you to the media upload page. This is a two step process.
The first step is to select or create an album (or category) to upload the images into. Once the album or category has been set, you can upload images right away when the upload form reveals itself.
When you have uploaded the images you wish, you click the 'Review & Publish' button which will allow you to rotate the image or edit the image's details.