riknoll / arcade-custom-menu Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED! Use riknoll/arcade-mini-menu instead
License: MIT License
DEPRECATED! Use riknoll/arcade-mini-menu instead
License: MIT License
Hello,
Very much enjoying the interface of this menu extension, thank you for making this available!
I am implementing the block-menu into an existing project and I've stumbled across an issue I can't explain.
See code here: https://makecode.com/_c5H7b1Lmv9EJ - single player and 2p co-op should be functioning.
I created a variable called "refreshspeed" and assigned it as a refresh rate to an on game update every refreshrate block and set it to 500. This was previously declared with some other initializing variables in my 'on start' code block. After adding the menu selection blocks and moving code from 'on start' to 'on menu option selected' there's a significant increase in the quantity of bees spawned from my game update block that uses the refresh rate.
Here's the rub... I added a sprite say block to confirm the refresh rate and it's indeed still 500, but if I change the game update block to a constant 500, there is no issue. If I set the variable in the 'on start' block there is no issue. I created a new variable and a new on game update block to ensure this wasn't a corrupted code issue and the issue persists.
I am able to work-around the issue by setting the variable in the on start block, but I thought I should post a bug report. Perhaps there's something I'm doing wrong in my code?
Let me know if this makes sense or if you need more details.
Thanks,
Andrewski
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.