how I can create a weapon using BGT. for example a sword
eg like this
That question is way to broad. There are any number of ways to code in a weapon and a lot of it depends on how you plan to use it in any given game.
Some people might choose to create an entire weapon object. Some programs may not need that approach.
Are there other types of weapons? Do your weapons change during the course of the game? How do they change: upgrade, leveling, spontaneous transmutation?
You need to be much more specific in your question and how your program will work. And remember not many people here are willing to write your code for you. If you have a question about particular syntax, we would be happy to point you in the right direction--maybe even outline some pseudo code for you. But I, for one, would like you to narrow your question quite a bit before I could truly help you.
You can follow me on twitter @s_luttrell and an almost never used Facebook account at skluttrell.
@2, this is pretty much a terrible way to make weapons. With those kinds of variables, you might as well put them in a class for more flexability, cleaner code, and more maintainable systems.
Plus, i'm 99.9 per cent sure that code is from dizafio mortle or ultrapower. I know i've seen that somewhere before.
its from zombie arena
@3 I want to create a weapon without any special conditions
#8 (edited by adel.spence 2019-03-05 02:55:30)
sorry to be the reaper here, but I hav some questions to ask.
<li>1 can someone give me a item class and a invantorry class?</li>
<li>2can someone tell me how to make long wange weapons?</li>
<li>3how do you implement 3d sound with bgt?</li>
<li>4can someone help with makeing a steircace class?</li>
woops, cant post html in the forom.