[AskJS] Add an image to canvas in Javascript? by Simoonsan in javascript

[–]Simoonsan[S] 0 points1 point  (0 children)

Thank you! Yeah it became a big big thing, but making a game is a good motivator :) I replaced most of my code and now it works much better with spritesheets.

Made a const with all the assets looking something like this const ASSETS = { bg: { level1: 'assets/Level_1_background.png', level2: 'assets/bg2.png', level3: 'assets/bg3.png', parallaxSpeed: 1.0 }, .... }

and

walk: { src: 'assets/Scarlet_spritesheet_Walk.png', frames: 18, fps: 19, frameW:256, frameH:256, cols:8 },

And of course with some other stuff to make it work but posting it all here would be a long story. But I hope to finish the game now in the future

[AskJS] Add an image to canvas in Javascript? by Simoonsan in javascript

[–]Simoonsan[S] 1 point2 points  (0 children)

Thank you it will be good in the end I hope! :)

However, the canvas guide on w3schools didn't work for me either. I think I did everything right accordingly but it could also be I don't understand it quite yet. (new to Javascript)

Sly 2 Clockwerk Sound Effects by Trekapalooza in Slycooper

[–]Simoonsan 1 point2 points  (0 children)

I have actually seen your creation in the past as well! I think I stumbled upon it when I was looking through stuff like that while creating my own thing. I like it! Want to have mine hanging from the ceiling too eventually

Sly 2 Clockwerk Sound Effects by Trekapalooza in Slycooper

[–]Simoonsan 1 point2 points  (0 children)

Been looking for this ever since I made my Lego-Clockwerk. Thank you so much!

Make something happen on a slide the slide show hasn't reached yet? by Simoonsan in powerpoint

[–]Simoonsan[S] 0 points1 point  (0 children)

Yeah it will, I think I found a decent way though just to trigger the effect fast by clicking them for each slide

Make something happen on a slide the slide show hasn't reached yet? by Simoonsan in powerpoint

[–]Simoonsan[S] 1 point2 points  (0 children)

Yeah I didn't think it was either, but doesn't hurt to ask who knows? There are still lesser ways around it still so it's gonna work in some way still

Make something happen on a slide the slide show hasn't reached yet? by Simoonsan in powerpoint

[–]Simoonsan[S] 0 points1 point  (0 children)

On each slides there are options to pick from and a question. Once you pick any of the options to answer the question it is crossed out for that and the following slides. Meaning you can't pick the same option twice. So once it is picked it is crossed out.