User Tools

Site Tools


en:guides:beginners:jelly_monsters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:guides:beginners:jelly_monsters [2018/02/14 04:47 (10 months ago)]
iarwain ↷ Page moved from guides:beginners:jelly_monsters to en:guides:beginners:jelly_monsters
en:guides:beginners:jelly_monsters [2018/06/28 12:39 (6 months ago)]
sausage In line with init projects
Line 5: Line 5:
 {{ :​guides:​beginners:​monster.png?​nolink |}} {{ :​guides:​beginners:​monster.png?​nolink |}}
  
-Right click and save to the data/anim folder as "​monster.png"​.+Right click and save to the ''​data/texture'' ​folder ​in our project ​as "​monster.png"​.
  
-Create ​graphics ​from the sprite sheet in the config:+Create ​a graphic ​from the sprite sheet in the config:
  
 <​code=ini>​ <​code=ini>​
Line 23: Line 23:
 Graphic ​     = MonsterGraphic Graphic ​     = MonsterGraphic
 AnimationSet = MonsterAnimationSet AnimationSet = MonsterAnimationSet
-Position ​    = (9090, 0)+Position ​    = (-310-210, 0)
 Scale        = 2.0 Scale        = 2.0
 </​code>​ </​code>​
Line 63: Line 63:
 Graphic ​     = MonsterGraphic Graphic ​     = MonsterGraphic
 AnimationSet = MonsterAnimationSet AnimationSet = MonsterAnimationSet
-Position ​    = (9090, 0)+Position ​    = (-310-210, 0)
 Scale        = 2.0 Scale        = 2.0
 Body         = MonsterBody Body         = MonsterBody
Line 78: Line 78:
 </​code>​ </​code>​
  
-And add "monster" ​to the PlatformBody so that collisions work on both object types:+And add ''​monster'' ​to the ''​PlatformBody'' ​so that collisions work on both object types:
  
 <​code=ini>​ <​code=ini>​
Line 88: Line 88:
 </​code>​ </​code>​
  
-Run it again and the monster should drop nicely ​onto a platform.+Run it again and the monster should drop down onto a platform.
  
 {{:​guides:​beginners:​beginners-41-monster-gravity.png?​nolink|}} {{:​guides:​beginners:​beginners-41-monster-gravity.png?​nolink|}}
Line 94: Line 94:
 ---- ----
  
-Next: [[guides:​beginners:​timeline_tracks|Part 17 – Timeline Tracks]].+Next: [[en:guides:​beginners:​timeline_tracks|Part 17 – Timeline Tracks]].
  
-{{section>​guides:​beginners:​toc&​noheader&​nofooter&​noeditbutton}}+{{section>​en:guides:​beginners:​toc&​noheader&​nofooter&​noeditbutton}}
en/guides/beginners/jelly_monsters.txt · Last modified: 2018/06/28 12:39 (6 months ago) by sausage