This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:guides:beginners:shooting_and_spawners [2018/06/28 05:15 (6 years ago)] – In line with init projects sausage | en:guides:beginners:shooting_and_spawners [2021/07/15 15:10 (3 years ago)] (current) – minor grammar and spelling corrections creampuff | ||
---|---|---|---|
Line 54: | Line 54: | ||
{{: | {{: | ||
- | Great so that's working for us. Now, how to stop it from shooting. The function that is available to us for this purpose is: orxObject_Enable() | + | Great, so that's working for us. Now, how to stop it from shooting. The function that is available to us for this purpose is: orxObject_Enable() |
- | If we disabled our hero object, yes it would shop him from shooting, but it would also make him disappear. Not quite what is expected. | + | If we disabled our hero object, yes it would stop him from shooting, but it would also make him disappear. Not quite what is expected. |
There are a number of ways to solve this situation. Let's go with a simple one. | There are a number of ways to solve this situation. Let's go with a simple one. | ||
Line 120: | Line 120: | ||
Compile and run. | Compile and run. | ||
- | Hmmm... | + | Hmmm... |
< | < | ||
Line 136: | Line 136: | ||
Compile and Run. | Compile and Run. | ||
- | Fantastic! Our hero can now run, jump and shoot. | + | Fantastic! Our hero can now run, jump, and shoot. |
---- | ---- |