I'm hoping today will be a pretty productive day, so I have a list of things that I worked on or done.
1. finished the menu system - you can now un-equip gear from the menu system(armor and helm)
2. fixed a bug with the weapon depth, and drawing weapon based information when not supposed to
3. started on npc generation - trying to remember to make any system kind of modular sucks, just having an idea of how you want things to work isn't enough. you have to make the code as modular as possible so you know what "properties" you will need later. So in my case I have npc stats, which don't really have anything to do with character generation but later for the combat system we will need these things already in there so i threw that together so I could refer to them. Race is what desides how the object should look. So I made a way of changing the race with the player character, most of the code for how the player looks, and reacts to input will work with the npc's, definantly saving some time there. digging into the npc's at first i collected averything from the player
So another note, when your working with INTEGERS and FLOATS remember when you say something like
variable = random(number) // this will give float in gamemaker
variable = irandom(number) // this will give integer in gamemaker
if variable == 0{
}else if variable == 1{
}
this caught me up for a couple hours be cause the number was .49 rather then 1 or 0. It wasn't until I debugged everything down to drawing the variables out that i realized what was going on. So after so many hours of coding it's not a bad idea to take a break...... >_< .
Notice how the heads are wrong, lol, this was a problem immediately after so again, deep diving into the code to see why things were backwards. I have now fixed the races in the game, and there are naked npc's so that is done. The menu and npc's are ahuge win for today, I'll continuie to work on them, I already have a dialog system to put in there. Clothing them shouldnt be hard. I have to work on the sprites. I initially wanted to go with a star trek type theme but I feel like I could come up with something a little more original so I think im going ot leave that for through the week and move on.
The races as of now, will be unlocks, After you help liberate the Systems you will be able to play as the race. This will give different bonus's to stats and classes, maybe some races are simply better then others at things and that's simply how things are