:O Thank you! You are my hero... oh my... I can't believe I didn't think of that. You've saved my life... :DDraw event:
draw_sprite_ext(sprite_index, image_index, round(x), round(y), image_xscale, image_yscale, image_angle, image_blend, image_alpha)
- Game Maker Community
- → Viewing Profile: Posts: Muffinn
Muffinn
Member Since 29 Jan 2012Offline Last Active Feb 18 2012 06:57 PM
Community Stats
- Group New Member
- Active Posts 30
- Profile Views 273
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Version
GM8
0
none
Friends
Muffinn hasn't added any friends yet.
Posts I've Made
In Topic: Sprite Mutation...
08 February 2012 - 07:35 PM
In Topic: Simple inventory
06 February 2012 - 04:40 AM
I think I finally got it! Thanks so much! I'll try it out in a moment and let you know how it goes. You're awesome... I'll be sure to give you credit when I finally get around to finishing my game :)
In Topic: Simple inventory
06 February 2012 - 03:56 AM
Thanks. So I have all the components. Now I just need to put them in the logical order. Can you help me out and tell me if this is right? I understand all of the code, I'm just not sure where to place everything.
1. define_Inventory: create global variable "Inventory"
2. create_Inventory: create inventory list
3. Put the inventory information (name, description, sprite)... where? Do I put it in the room creation code, or the create_Banana, or... where?
4. Use add_Item_To_Inventory when there's something to add...
5. Use remove_Item_from_Inventory when there's something to remove...
6. Use position_Inventory_Item after some change in the inventory
Am I right?
And finally, what should I all put in the room creation code?
That's all my simple mind needs to know! :)
1. define_Inventory: create global variable "Inventory"
2. create_Inventory: create inventory list
3. Put the inventory information (name, description, sprite)... where? Do I put it in the room creation code, or the create_Banana, or... where?
4. Use add_Item_To_Inventory when there's something to add...
5. Use remove_Item_from_Inventory when there's something to remove...
6. Use position_Inventory_Item after some change in the inventory
Am I right?
And finally, what should I all put in the room creation code?
That's all my simple mind needs to know! :)
In Topic: Simple inventory
05 February 2012 - 04:44 AM
Thank you, thank you. You have been most kind. But I don't understand what you mean when you say derivation. What's the purpose of define_Item and create_Item? Are they the parents of all other items? I don't see what in the code makes them parents. And do I need to create a new script for every item (define_apple, create_apple, define_pear, create_pear, etc.)? Sorry, I'm still not the smartest when it comes to GML
But you have been a great help! Thanks for taking the time to help a poor soul like me out
In Topic: Simple inventory
04 February 2012 - 11:36 PM
OK, thanks. Last question - how would I display the information in the draw script in a simple way?
- Game Maker Community
- → Viewing Profile: Posts: Muffinn
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content