Classes/Objects/Vectoring (week 3)
Part 1:
I wanted to use Sprites from Itch.io for this project and found a cute and free pack of them here.
The features I want to add within this part are:
*Sprites (each instance of the object should be a random sprite from the set) *Random size within a certain range *Random Tint
After reading the excerpt from The Nature of Code, I wanted to make the movement in my code reliant on switching directions based upon mouse position and use mirroring to display the gif’s directional movement more naturally.
I implemented a simple if function to change a speed multiplier (-1 or 1) for both the x and y directions. Here’s the current code.
Further work on this project could be using some kind of tethering function to have the fish circle around certain points or something similar.
DSMC (Spring 2025)
| Status | In development |
| Category | Other |
| Author | Paul |
More posts
- Final (Gunter 2025, How it Feels to Need to Write)May 13, 2025
- how it feels to need to writeMay 05, 2025
- Final Project (how it feels to need to write/journal sim)Apr 29, 2025
- Squirrel Eat Squirrel Eat SquirrelApr 22, 2025
- exploring algoravingApr 08, 2025
- EcosystemMar 11, 2025
- ALFIE BOT (Week Five)Mar 11, 2025
- Seeding Poems in the Earth (week 4)Feb 25, 2025
- icebergs (week 2)Feb 11, 2025
Leave a comment
Log in with itch.io to leave a comment.