Hi all,
I've a few annoying bugs with my game currently which has been driving me crazy. xD So here we go:
1. Press M key, now press Spacebar on an item this will bring up the action menu bottom right. Next press spacebar on anything but the Equip entry. Now press down on the keyboard and notice it will still have the item equipped. Despite not pressing on Equip. =/
2. Using the arrows move around and pickup items. Now try Equipping lots of them. The weapons, shields, helms etc all have a correct place to go but sometimes they go in the wrong place. Why?
Would appreciate help on the above if someone can figure it out.
Equipment bugs
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Equipment bugs
Is it supposed to render like this?
- Lacotemale
- Citizen
- Posts: 75
- Joined: Sat Mar 08, 2014 9:01 pm
Re: Equipment bugs
No the items are usually spread apart. :S ... the white boxes are the collision boxes so that is normal.
I might need to upload a new version... thats weird.
I might need to upload a new version... thats weird.
Re: Equipment bugs
I think the culpirit is somewhere here in menu.lua
It looks like you equip the item the moment you select the item in the inventory, where as it should just mark the item "to be inspected". So it doesn't equip it even if you press info.
Code: Select all
if inventory[itemSelectedPos].attack > 0 and inventory[itemSelectedPos].attack ~= nil then
table.insert(party[1].equipment,1, inventory[itemSelectedPos])
print(party[1].equipment[1].name)
end
- Lacotemale
- Citizen
- Posts: 75
- Joined: Sat Mar 08, 2014 9:01 pm
Re: Equipment bugs
Ah that looks like the issue. Thanks Muris!
In relation to the items displaying weird. I broke something in my latest build. Found it though. I'll update when I've tried what Muris was saying first.
In relation to the items displaying weird. I broke something in my latest build. Found it though. I'll update when I've tried what Muris was saying first.
Who is online
Users browsing this forum: Bing [Bot] and 9 guests