Giter VIP home page Giter VIP logo

arcade-custom-menu's People

Contributors

riknoll avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

arcade-custom-menu's Issues

Setting refresh speed with variable bug

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.