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 revisionPrevious revision
Next revision
Previous revision
guides:beginners:jelly_monsters [2017/06/12 20:17 (7 years ago)] sausageen:guides:beginners:jelly_monsters [2018/06/28 08:39 (6 years ago)] (current) – external edit 127.0.0.1
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 32: Line 32:
 [MonsterAnimationSet] [MonsterAnimationSet]
 Texture = monster.png Texture = monster.png
 +KeyDuration             = 0.1
 FrameSize = (32, 32, 0) FrameSize = (32, 32, 0)
 MonsterWobbleAnim = -1 ;use the entire sheet MonsterWobbleAnim = -1 ;use the entire sheet
Line 38: Line 39:
 Pivot = center Pivot = center
  
-[MonsterWobbleAnim] 
-KeyDuration = 0.1 
 </code> </code>
  
Line 64: 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 79: Line 78:
 </code> </code>
  
-And add "monsterto 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 89: 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 95: 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.1497323859.txt.gz · Last modified: 2017/06/12 23:17 (7 years ago) (external edit)