User Tools

Site Tools


devlogs:22_5_2022

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
devlogs:22_5_2022 [2022/05/22 02:36]
root
devlogs:22_5_2022 [2023/10/19 15:25] (current)
Line 24: Line 24:
  
  
-{{:devlogs:movingduck.gif?direct&200|}}+{{:devlogs:movingduck.gif?direct&200|}}<wrap lo>click to watch the gif</wrap>
  
 wow!((iphone)) wow!((iphone))
Line 33: Line 33:
 The only kinda cool thing I did on my own was get the duck to quack! there is no sfx yet but the way I got em quacking is Kinda clever? idk maybe The only kinda cool thing I did on my own was get the duck to quack! there is no sfx yet but the way I got em quacking is Kinda clever? idk maybe
  
-{{:devlogs:duckgame_0.gif?direct&200|}}+{{:devlogs:duckgame_0.gif?direct&200|}}<wrap lo>click to watch the gif</wrap>
  
 I basically have two animations for idle and run. One quacking and one not quacking.  I basically have two animations for idle and run. One quacking and one not quacking. 
Line 49: Line 49:
 </code> </code>
  
-Then all I do in the animation update is set a variable quack equal 0 or 16 based on if the button is played. We then will play the idle/run frame + quack. If the quack button is not held this will be the initial animation otherwise it will add 16 and play the quack animation. This works clean while the player is running or jumping as the duck body keeps its current motion and only the mouth snaps to its place.((the one small downside is that the mouth wont always smoooothly animate.))+Then in the animation update a variable "quack" equals 0 or 16 based on if the button is played. We then will play the idle/run frame + quack. If the quack button is not held this will be the initial animation otherwise it will add 16 and play the quack animation. This works clean while the player is running or jumping as the duck body keeps its current motion and only the mouth snaps to its place.((the one small downside is that the mouth wont always smoooothly animate.))
  
 <code lua> <code lua>
Line 88: Line 88:
  
 Yeaaa that was bascially my weekish and day. Hope I didn't forget my rust. Oof  Yeaaa that was bascially my weekish and day. Hope I didn't forget my rust. Oof 
 +
 +btwdubs nglw/btc here is the link to the live cart.. [[https://quackypaddy.com/duckgame/|These words right here, please and thank you]]
  
 ~~DISCUSSION~~ ~~DISCUSSION~~
devlogs/22_5_2022.1653204984.txt.gz ยท Last modified: 2023/10/13 16:43 (external edit)