Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
if global.ObjectPickedUp = "True"
{
In between the brackets, you can add a code or an action that will create a moving object. This will represent the object that you are trying to throw.
}
If you use the drag-and-drop interface, you can use the action Create Moving Instance. If you're using Game Maker code, you can use:
instance_create(self.x, self.y, ObjPickedUp);
If you use the 'instance create' code snippet, the Create Event for ObjPickedUp should have code or actions that will cause it to move. You should also make sure that the thrown object has friction with a value low enough that causes it to slow down enough. Adding friction can be done via drag-and drop or with this Game Maker code:
friction = 0.1;
If you need any in-depth assistance, I can advise you further through Steam chat.