ichomancer
1 month ago
Thank you :) my favorite part thanks to the community. Love the vibe on your site, cheers!
ichomancer
1 month ago
It started with just animating some animated GIFs to move across my background, and then got complicated very quickly and evolved over quite a period of time. You can inspect my /dragon.js to check out what's going on. A good answer to this question would require a pretty lengthy answer. Awesome website btw, thank you for the follow!
ichomancer
1 month ago
So first I had animated GIFs moving across the background. Then I made it that you could click on them with a little disappearing animation. Then it started turning into a game when I added a points system and an upgrade shop and a secret pet. The most work went into the secret pet haha- the basics of it aren't all too hard to achieve. Thanks for playing :)
ichomancer
1 month ago
If you have more specific questions, feel free to ask. That might be easier to answer properly
ichomancer
1 month ago
I use CSS keyframes to define my flight animations (the simplest way to start), and then I have some JavaScript to create the GIF, randomize where it starts, and apply the animation.
ichomancer
1 month ago
PS. thanks for applying to join the Aquarium! I'm really excited to see your fish and add it but the img link you shared 404s :(
wwwdotdeepblueme
1 month ago
So, is the entire screen like one big gif or do you just have the image move around the screen itself? Does the JS decide the X and Y coords for the image? And how does it do it without interfering with DIVs?
ichomancer
1 month ago
So, regarding div interference you always use CSS to make sure it's where you want on the z-index.. My Z-index is a total mess, but anyways.. Using keyframes I basically have an animation to go from one side of the screen to the other, pretty simple to get the hang of once you've tried it- definitely what I would recommend learning about. JS is mostly for spawn location/timing etc. Not enough wordcount lol
ichomancer
1 month ago
Oh always nice to start the day with a message from you :) Heyo Pengat! Hope you've been doing well and keeping it nice n chill my friend. It's 4am here and I can barely keep my eyes open jeez
ichomancer
1 month ago
My pleasure! Your website is just so well made and fun to explore. Really great work. I learned lots of new things. Found the secret area, and look forward to a blog one day :) The bratz fish tank game is new to me as well! But looking at it gave me such nostalgia for those times. Thanks mindmaiden!
ichomancer
1 month ago
Hi Navi! Thanks so much for the kind words! I adore the work you've done, such a cozy place- but also so cool and lively :) cheers!
Making some html games to celebrate :)
Hell yeah! Games!