21
Other Discussion / Re: Game Maker on Linux(Ubuntu) :D
« on: October 24, 2007, 04:49:29 am »
GM will not work on any Linux distribution, it relies on DirectX, which is a proprietary software by Window$.
Well I never released an example of this, but since you mentioned muh name and it's in muh game, I'll share the theory.
But I must know, will Link only be lifting pots, or other stuff as well? If just pots then you should have the pot sprites built into the lifting / carrying sprites, otherwise it could take some hairy code to make the sprites match Link with a global lifting system.
Anyways start by using collision_line() to check for a pot directly in front of Link when you press the lift button while holding a movement key. If there is one, check if it's within range, and if so, save the id to a global variable and deactivate it.
It's best to use "dummy" objects or just sprites to simulate the carrying, so you don't end up with collision problems.
'Will explain more after your response.