Jump to content


Photo
- - - - -

Inventory, Equipment,Enchanting & Loot Example


  • Please log in to reply
61 replies to this topic

#41 Boysano

Boysano

    GMS Pro Member

  • GMC Member
  • 133 posts
  • Version:Unknown

Posted 17 May 2011 - 09:37 AM

Got it to work in GM8.1 Standard (Pro), but
I had to remove all the room codes!! seems like GM8.1 fixed the view height and width issues.


1. Shop window popup not drawn on correct depth, still some objects that draws above it?
2. Only the Inventory and Character window popups are drag-able, all interfaces should be plz?
3. You need a big resolution for the window popups to fit on your screen since they do not auto resize. 1280x720 to 1920x1080 pixels
  • 0

#42 Boysano

Boysano

    GMS Pro Member

  • GMC Member
  • 133 posts
  • Version:Unknown

Posted 17 June 2011 - 11:25 AM

I got a issue, which I only realise now and cant for the life of me fix.

The game starts ar oPlayer.level = 31

But I set it to level = 1 in the oPlayer create event,
and can't find any place or any value of 31 overwriting it.

I've disabled the shift and enter commands to adjust the level,
since the players level will now change with xp acqruired doing quests.

Is there some kind of bug with this example or GM8.1 that it keeps old variable values in registry or memory?

please help me, if this works then i'm pretty much well integrated into my game and happy.

thanks

I can also send u my game if it helps.
  • 0

#43 Jacuu

Jacuu

    GMC Member

  • GMC Member
  • 167 posts
  • Version:GM8

Posted 17 June 2011 - 02:29 PM

Found an error, but the engine is very well made nonetheless

Error:
Spoiler

  • 0

#44 Boysano

Boysano

    GMS Pro Member

  • GMC Member
  • 133 posts
  • Version:Unknown

Posted 20 June 2011 - 08:47 PM

I got a issue, which I only realise now and cant for the life of me fix.

The game starts ar oPlayer.level = 31

But I set it to level = 1 in the oPlayer create event,
and can't find any place or any value of 31 overwriting it.

I've disabled the shift and enter commands to adjust the level,
since the players level will now change with xp acqruired doing quests.

Is there some kind of bug with this example or GM8.1 that it keeps old variable values in registry or memory?

please help me, if this works then i'm pretty much well integrated into my game and happy.

thanks

I can also send u my game if it helps.


I found the stupid line of code that start the char at wrong level. It is in the oPlayer's create event on later line (231)
just remove this code:

gain_level(30)

  • 0

#45 muerte17

muerte17

    GMC Member

  • New Member
  • 4 posts

Posted 04 July 2011 - 05:37 PM

I using this on my game , still only undertand 50% of the code , im looking to fix a "bug" but cant do it.
Im using so when a item equipped variable is true it draws the sprite blabla but looks like im having a problem , because if equipament windows is not visible im right click the item on inventory but looks like it dont change the equipped variable so it dont draw my sprites till equipament windows is visible again , :( can anyone helps me.
Sorry about my very bad english.
  • 0

#46 Boysano

Boysano

    GMS Pro Member

  • GMC Member
  • 133 posts
  • Version:Unknown

Posted 23 July 2011 - 06:25 PM

Found another small bug, the "Farmers Cloak" item equips to the main hand weapon slot.
  • 0

#47 Boysano

Boysano

    GMS Pro Member

  • GMC Member
  • 133 posts
  • Version:Unknown

Posted 24 July 2011 - 06:50 AM

Yay I fixed another issue I had, with the shops always not displaying at correct depth.
The shop will appear below my own new game items that I set at depth = -y.

I fixed this by adding a depth variable to the oShop create event and setting it to:
oShop (create event) set:
depth = -y+global.active_depth

  • 0

#48 fluffydino2000

fluffydino2000

    GMC Member

  • GMC Member
  • 219 posts

Posted 11 August 2011 - 07:18 PM

Would you be interested in helping me make a inventory system in my game, I need it like TES: Oblivion, With encumbrance but with a part at the side like your equipment screen? PM me if you are.
  • 0

#49 Erigad Greatwood

Erigad Greatwood

    GMC Member

  • GMC Member
  • 3 posts
  • Version:GM:Studio

Posted 26 August 2011 - 01:41 AM

This is fabulous, great example. I will use some of the concepts and formulas in my own RPG, and give you credit of course. I wont stick too much to the example though :thumbsup: Thanks
  • 0

#50 Altreal_Gaming

Altreal_Gaming

    GMC Member

  • New Member
  • 10 posts

Posted 28 August 2011 - 06:21 PM

I must say this seems amazing, hopefully I will be able to implement it correctly into my game. I appreciate this opportunity to learn from your scripts.
  • 0

#51 loverock125

loverock125

    GMC Member

  • GMC Member
  • 1597 posts
  • Version:GM8

Posted 29 August 2011 - 11:44 AM

Thank you everyone for your posts. It's been a long time since I posted this example and I wasn't experienced enough (No line comments, very hard to understand code and even though it's faster than most inventory examples it's very slow for an inventory). That is why I started programming a new inventory which is faster but not complete and requires Pro Version. (In the forum as well) I didn't use surfaces in this inventory for two reasons.

1) I wasn't experienced enough at that time to use surfaces.
2) I wanted to create an inventory that doesn't require the pro version of game maker.

I've read all the comments you posted and I want to thank you everyone for your feedback. I've fixed some bugs that you posted but some others are not occurring to me. If these bugs continue to exist please send me a message with more information.

If you are having trouble adding this example to your game please read the first post for more information on what objects to place and where. If that doesn't help please send me a message that includes a link to your game and I will implement it myself.

Additionally I would be more than grateful to explain to you the purpose of each variable and what to do to modify something for your game. If you need help with this then please don't hesitate to send me a message or a post.

Thank you very much
I appreciate your help and I'll be more than happy to help any of you : )
  • 0

#52 _229189

_229189

    GMC Member

  • New Member
  • 3 posts

Posted 24 September 2011 - 04:33 PM

Why the file to download is gm81?
Isnt it for GM8? I wanted to check out but I cant, i only have the gm8 pro
  • 0

#53 Dylan93

Dylan93

    GMC Member

  • GMC Member
  • 866 posts
  • Version:GM8

Posted 22 January 2012 - 04:13 PM

Link is dead...
  • 0

#54 BaLLer_Tr

BaLLer_Tr

    GMC Member

  • New Member
  • 9 posts
  • Version:GM8

Posted 24 January 2012 - 12:13 AM

Good job. My man. :biggrin: :thumbsup:
  • 0

#55 wickedboy

wickedboy

    GMC Member

  • New Member
  • 1 posts
  • Version:Unknown

Posted 13 May 2012 - 02:42 PM

Does anyone have the file or a link that is active?
  • 0

#56 Ventus

Ventus

    GMC Member

  • New Member
  • 21 posts
  • Version:GM8.1

Posted 13 September 2012 - 08:53 PM

the links broken, can you plz fix it? i need this for my game
thanks
  • 0

#57 sombra

sombra

    GMC Member

  • GMC Member
  • 62 posts
  • Version:GM8

Posted 24 September 2012 - 08:04 PM

Could you re-upload the file, please? I'm planning to do my first inventory, and this would help a lot. Thanks!
  • 0

#58 Sathirax

Sathirax

    GMC Member

  • New Member
  • 11 posts
  • Version:GM:Studio

Posted 25 September 2012 - 06:22 AM

Please an reload file !NOT FOUND! LoL
  • 0

#59 DerGreif

DerGreif

    GMC Member

  • GMC Member
  • 18 posts

Posted 05 December 2012 - 09:20 PM

I would like to download this, too. Posted Image

Kind regards,
G.
  • 0

#60 raphaelle

raphaelle

    GMC Member

  • GMC Member
  • 95 posts
  • Version:GM:Studio

Posted 06 December 2012 - 10:49 AM

another link please... no item there...
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users