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: Posting


The Post Editor
There are two versions of the post editor: the standard editor and the rich text editor. Which one you use can be configured from your settings. With the rich text editor, you'll see how the post will look when it's finally posted, like a live preview.

The toolbar buttons on each editor are very similar, and each button is explained below, from left to right:

  • - This will toggle between RTE and Standard modes.
  • - This will turn off all formatting tools currently in use.
  • - Shows available custom bbcodes.
  • Fonts - This menu allows you to set what font your post is displayed in.
  • Sizes - This menu allows you to set what size the text in your post is.
  • - This menu allows you to set the color of the text in your post.
  • - This menu will allow you to insert an emoticon into your post.
  • - This will allow you to link to media, such as a video or song.
  • - This will allow you to search the text for a specific word or phrase.
  • - This will allow you to replace words or phrases in the text.
  • - This will undo the last change made.
  • - This will redo the last undone change.
  • - This will copy the selected text
  • - This will paste test at the cursor position.
  • - Paste content with plain text formatting.
  • - Paste content from Word
  • - This will display configurable editor options such as paste as plain text and clearing saved content.
  • - This will make the text bold.
  • - This will make the text italic .
  • - This will make the text underlined.
  • - This will make the text striked out.
  • - This will make the text subscript.
  • - This will make the text superscript.
  • - This will start a bullet-point list.
  • - This will start a numbered list.
  • - This will insert a link.
  • - This will remove a link from selected text.
  • - This will insert an image.
  • - This will insert a codebox.
  • - This will insert a quote.
  • - Decrease Indent
  • - Increase Indent
  • - This will make the text aligned to the left.
  • - This will make the text aligned to the right
  • - This will make the text aligned in the center

Polls
Depending on where in the at community you are posting your message at, you may have the option to add a poll that other members can vote in. If so, you will see a "Manage Poll" link. Click on this to configure the poll.

You can optionally enter a title for the poll in the "Poll Title" box. You may then also be able to set it as a public poll by checking the "Public Poll?" box. In public polls, all members will be able to see who voted for which option.

You can then add your questions by typing the first question into the Question box. You must then choose if you want this question to be multi-choice (allowing users to select an arbitrary number of answers) or single-choice (users will only be able to select one answer). To make the question multi-choice, check the "Allow users to select multiple answers?" box, otherwise, leave it blank.

Then enter the possible answers for the questions into the boxes below. To add more answers, press the "add.png Add Another Choice" button, or to remove an answer, click the bullet_delete.png icon. You can see how many choices you are allowed per question at the bottom of the list of questions.

To add additional questions, press the "add.png Add Another Question" button. You can see how many questions you are allowed at the bottom of the list of questions.

To remove a question, press the "delete.png Remove Question" button, or to cancel adding a poll, press the "cross.png Close Poll Form" button.


Post Options
Depending on where in the community you are posting your message at, you may have additional options including whether or not to add your signature, what post icon to use, and more. To see and configure these options, press the "add.png Click to configure post options" link if it is available.


Attachments
Depending on where in the community you are posting your message at, you may be able to upload attachments to your message. There are two types of uploaders available: the default uploader and the flash uploader.

Default Uploader
The default uploader allows you to upload attachments one at a time. To begin, press the button. A box will appear for you to select the file on your computer that you want to attach. Select the file you want to upload.

If you change your mind, you can press the button and then choose a different file.

Once you have selected the file you want, press Attach the file.
If there are any errors uploading the file, you will receive an error message, otherwise, you will see the attachment appear.

Flash Uploader
You can enable the flash uploader from your settings menu. When enabled, you will be able to easily upload more than one file at a time.

To start, press Click to Attach Files. A box will appear for you to select the file or files on your computer that you want to attach. Select the file or files you want to upload. You can select more than one file at a time by holding Ctrl (on Windows) or Command (on Mac) and click on the files.

Once you have selected your files and clicked "Open", they will begin uploading. If there are any errors uploading the files, you will receive an error message, otherwise, you will see the attachments appear.

Managing Attachments
Regardless of which uploader you use, once the files are uploaded you will see them on your screen. By default, all attachments are added to the bottom of your message, however, you can add any attachment to a particular section of your post by pressing the "Add to Post" link.

If you wish to remove an attachment and have it not appear in your post, simply press the "Delete" link.