Skip to content

Commit

Permalink
add animations
Browse files Browse the repository at this point in the history
  • Loading branch information
jm1021 committed Nov 25, 2023
1 parent 65de343 commit ea8f744
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
27 changes: 27 additions & 0 deletions _posts/2023-11-28-CSSE-animation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
toc: true
comments: false
layout: post
title: Animation Transitions
description: Provide a lesson on enemies.
type: ccc
courses: { csse: {week: 16} }
---

## Player Animation Improvements
Make a lesson and code around Parallax. Integrate ideas so they can be adapted by Teacher project.

Improve animations and movements of player.

- Idle Animation, idle(). Add an idle animation that plays when the player is not moving.
- Include subtle movements to make the character appear more dynamic.
- Transitioning Movement, moveLeft() and moveRight()

- Gradually transition from walking to running animations based on the duration of key presses.
- Implement a deceleration effect when the player stops moving.

- Attack Animation attack(). Create an attack animation/scene that plays when the player interacts with enemies.
- Implement logic to avoid enemy kills through proper timing of attacks.

Google search
[Platformer transition animation](https://www.google.com/search?q=platformer+transition+animation&oq=platformer+transition+an&gs_lcrp=EgZjaHJvbWUqBwgBECEYoAEyBggAEEUYOTIHCAEQIRigATIHCAIQIRigATIHCAMQIRigATIHCAQQIRirAjIHCAUQIRirAtIBCTExNzkyajBqN6gCALACAA&sourceid=chrome&ie=UTF-8)
2 changes: 2 additions & 0 deletions _posts/2023-11-28-CSSE-selection.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ courses: { csse: {week: 16} }
---

## Player Selection Screen
Make a lesson and code around Parallax. Integrate ideas so they can be adapted by Teacher project.

Pick your Player. Look into a technique to change player froom default Mario sprite to alternate Sprite. Save the Player to personal settings.

Sprite Selection
Expand Down

0 comments on commit ea8f744

Please sign in to comment.