This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:guides:beginners:objects [2018/06/27 05:15 (7 years ago)] – In line with init projects sausage | en:guides:beginners:objects [2024/11/17 02:49 (7 months ago)] (current) – sausage | ||
---|---|---|---|
Line 11: | Line 11: | ||
Copy this file into your '' | Copy this file into your '' | ||
- | Next, we need to create a graphic in the config that knows about the soldier.png image: | + | Next, we need to create a graphic in the '' |
< | < | ||
Line 29: | Line 29: | ||
When a HeroObject is created in code, he will be placed at co-ordinates -350, 100 on the screen (from the center) and scaled up 2x in size. | When a HeroObject is created in code, he will be placed at co-ordinates -350, 100 on the screen (from the center) and scaled up 2x in size. | ||
- | In the Init() function, replace the default object | + | In the Init() function, replace the '' |
< | < |