Maybe someone can help me on where to start.....I need help starting this program please.
Most computer games use formulas to define what happens when a user interacts with the environment. For example, the formula for how much damage a player inflicted on a monster might be something like: damage = (player strength + player weapon) – monster's protection Assume that there are 100 possible values for each of the variables on the right side of this formula (from 0 = weak to 99 = strong).
Can u help me please
So can u?
Can someone help me please?
what is the program supposed to do?
Calculate the damage a player can inflict on a monster but I am having trouble starting it out right
Well you need to give values to the variables on the right
100 for each of them apparently
Yeah but it supposed to be in VB as a from box
virtual basic?
yeah or Visual Studio which I have both programs
sorry, I'm not familiar with either.
:(
does VB have arrays?
idk
hmm, sorry bud. maybe someone else can help
Where are the values going to be fetched from? Just from a variable, or from a form element, or randomly ?
The question gives the variables that are needed
damage = (player strength + player weapon) – monster's protection) these would be the Variables
@blurbendy Yes, VB has arrays.
"damage = (player strength + player weapon) – monster's protection) these would be the Variables" Not quite. Those are he values you need to represent with variables. Because they are to be 0 to 99, I would dimension them as integers. However, you need to remember the naming conventions. For example, "player weapon" can not be a variable because it has a space in it. it will need to be one word, or use _ in place of space. Abbr. can also help reduce typing, like: plr_wep instead of Player Weapon. http://msdn.microsoft.com/en-us/library/office/ee440536%28v=office.12%29.aspx
Aaron, be more specific. Do you need the actual commands in VB? Lots guidance in the posts above. What else are you looking for?
I am looking for some of the actual commands to start it to get an idea of how it is started.
Can u help me?
The first place you want to start is familiarizing yourself with the VB language: http://msdn.microsoft.com/en-us/library/xk24xdbe%28v=vs.80%29.aspx After a few of their sample programs you can look into some of the tutorials out there: www.homeandlearn.co.uk/net/vbNet.html Playing around with the IDE will help you build the forms but only practice and familiarity will help you with the commands you are looking for.
Another thing that can help is a lecture to go over things you missed, examples of simple things, etc. Here are 200 short videos using VB.NET 2010. http://thenewboston.org/list.php?cat=39 While 200 seems like a large number, it is not. The cover a ton of topics, but there is one or two topics per video, and they can be watched in order or skip to a topic you know you need help with.
Join our real-time social learning platform and learn together with your friends!