Re: My Rpg.........problems
Yes, you can do this by using the Layer object (either by index or by name).
You could also look into doing an inventory/menu screen through sub-applications.
Re: My Rpg.........problems
ok thx......now I have another problem.
I am using DanielRehn's inventory example.It is on a layer above my Interface, but it always shows below everylayer. Does anyone know how to fix this?
Also, when I pick up a knife, it goes to my inventory and is destroyed, but Every knife in the fram is also destroyed.That isnt good.
My MFA: http://darkesoft.co.nr/Darkenesse.mfa
Re: My Rpg.........problems
(I'll frequently update the link)
Re: My Rpg.........problems
On the pickup event: Move the Destroy action before the Start Loop action. Loops tend to mess up object picking.
And it seems that some objects are on the incorrect layer. The Inventory string for example isn't in then Inventory Layer.
Re: My Rpg.........problems
Thanks for the knife thing, but the inventory string should always be on the top layer, because it changes through inventory, equipment, spells, etc.
Also, with the 8-dir movement, how is it possible to make the character run when shift is pressed? Setting the speed when shift is pressed doesnt seem to work.
Re: My Rpg.........problems
Set max speed instead of speed.
Re: My Rpg.........problems
Ok thx...do you know why the inventory wont work though?
Re: My Rpg.........problems
Quote:
Originally Posted by Darkwing
Ok thx...do you know why the inventory wont work though?
1. Change the Inventory Layer Properties and uncheck 'Visible at Start'
2. In the 'CreateInventory' loop (event 7), you are creating the inventory boxes on the wrong layer. Change it to create them on layer 3 instead of 1
3. I think there was a third one but I've forgotten it sorry ...
Re: My Rpg.........problems
thx that works! NOw for the ardruous task of making my game have a playfield :D