Git Product home page Git Product logo

candybox2.github.io's People

Contributors

cktang88 avatar jeros-xyz avatar jiyeonnn03 avatar kvaps avatar raijinili avatar slayershadow avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

candybox2.github.io's Issues

Application cache removed in Chrome 85

Hello,
I have been playing Candybox 2 for a few weeks. Today I updated my browser and I noticed that suddenly Browser Save stopped working. I see the following message :

Your browser does not seem to support HTML5. (local storage and application cache)
You should update your browser in order to use the local saving feature.

I checked the code and realized the issue was that the following returned false : "applicationCache" in window && window.applicationCache !== null
(code from here)

After some research I learnt that it was actually disabled on purpose on the latest version of Chrome (85) : https://developers.google.com/web/updates/2020/07/chrome-85-deps-rems

Could you please update the code to make Browser Save work again ?

Thanks in advance ! :)

Teleport skill with Octopus King obsidian crown can softlock the run

Kind of a funny interaction between the teleport skill and the Octopus King obsidian crown, since the summoned Octopus Kings will always run towards the player, using the teleport skill can actually softlock you, since you'll have Octopus Kings blocking your path. They still do their job of killing incomming enemies, but since they have a collision box preventing you from going forward, you get locked and they keep spawning, and spawning, and spawning, creating funny situations.

Screenshot

Maybe a simple solution would be to remove collision between the summoned entity and the player?

Suggestions

Suggestions, maybe add some more weapons and a variety of different armours and weapons, just some more stuff for people to collect, and maybe add a cheat mode, where you get really op armour and sword. Also, update the Arena as well

Dragon quest does not advance if tabs are switched

If you leave the Dragon to go to another tab, and then you go back to the MAP tab, you're stuck in place.

The reason is that the Dragon doesn't use the 10/second quest ticker, but instead makes its own interval timer to update. It is not clear why it's done this way, but the ticker is removed when the Dragon screen becomes inactive, and then it's not replaced when the screen becomes active again.

this.timerIntervalID = setInterval(this.actionInterval.bind(this), 100);

// willStopBeingDisplayed()
public willStopBeingDisplayed(): void{
clearInterval(this.timerIntervalID);
}

Should this be fixed? The other quest that uses that technique, and which also breaks, is the Tower's initial animation, but leaving the Tower lets you skip that animation anyway. I believe speedruns are not hindered by the current behavior. Tool-assisted speedruns will be, though, since in a TAS, it's possible to reach the Dragon while still needing to plant lollipops every second.

Please let us specify the number of candies we eat

Quite simple request, it would be really interesting to have an input field asking us how many candies we want to eat after clicking the eat candies button. That way we could eat an specific number instead of everything at once.

A "plant all lollipops" button

There should be another button beside the number buttons. If you press it it will plant all the lollipops that you have.

Yui-compressor

Hello there. So recently ive been bored and have decided to have some fun and develop custom levels for candybox2. The problem is is that Yuicompressor, at least on the latest version of Java for me, isnt working. The jar file for it just refuses to open. So i was wondering if you happen to have an alternative to yuicompressor and if so how could I integrate that into the compile.bat file.
Thank you.

Content Security Policy causes JS to not load

The Application Cache API (AppCache) is deprecated and will be removed at a future date.  Please consider using ServiceWorker for offline support.
candybox2.github.io
Loading failed for the <script> with source “https://candybox2.github.io/libs/jquery-1.9.1.min.js”.
candybox2.github.io:10
Loading failed for the <script> with source “https://candybox2.github.io/candybox2.js”.
candybox2.github.io:11
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src 'none'”). Source: (function(a,w,v,I){var c={safeWindow:{},....
candybox2.github.io:1
Content Security Policy: The page’s settings blocked the loading of a resource at https://candybox2.github.io/libs/jquery-1.9.1.min.js (“script-src 'none'”).
Content Security Policy: The page’s settings blocked the loading of a resource at https://candybox2.github.io/candybox2.js (“script-src 'none'”).

Using Firefox 58.0.2

Glitch with the "move towards" thing e.g. Octopus King

The game makes a mistake when deciding if the entity is close enough to the player (or whatever it's targetting). The x and y distance seem to cancel each other out. It seems to calculate the distance from the top left corner of the Octopus King, so if you are on the ground, it will stop a few tiles to the right of you, but if you are high in the air, it will stop several tiles to the left or right of you, depending on where it is. It will only move up close to you from the right side if you are close to the top of its sprite. This means the Octopus King will never attack if you're not moving and don't jump, as it won't get close enough.

There is a similar problem with the nougat monster: if it's angry and approaches you, it may stop before touching you if you're wearing the Boots of Introspection, because it's trying to move 3 tiles but can only move 1 or 2. Simply use the black hole spell at the start of the fight and it may stop in front of you, not close enough for it to hit you. From there, you can kill it with magic with no chance of being hit.

Invulnerability potion

when I try to make the Invulnerability potion i put 2000 candies and mix for 60 second till my arms start hurting and them i put it into bottles it says i didnt manage to make anything. this is in candy box 2 am i doing something wrong or bugged?

NaN candies\etc

Eating 1e9999 or Infinity candies makes it bugged "You have NaN candies" and it cant grow or be spended in any way

Addallspikes is painful to read

Couldn’t you make an array and had a generic function where you loop through the array values since all the other values are constant in the add all spikes method? Right now it looks kind of ugly.

Date format on saves can be confusing

I'm an American and the date on my save slot had me confused for a second. Could you change it to YYYY/MM/DD (2021/05/22) instead of DD/MM/YYYY (22/05/2021)? Leaving it is fine too.

Consider adding aniwey's game YWMI

This isn't quite the right repository for this issue, but I'm not really sure where else to ask about this :P

If you didn't already know, "You Won't Make It" is another game made by aniwey (GPL-licensed) that disappeared when they took their site down. It's a fun game, and I think it deserves proper preservation as well.

Also, if you don't want deal with scraping it from the Web Archive, I would gladly handle that.

Tree Spirit doesn't respect ammunition

The Tree Spirit has a max ammunition of 5,

this.maxAmmunition = 5;
this.ammunition = 5;

generating ammo every 2 seconds (20 frames)
if(this.ammunitionTimer <= 0){
if(this.ammunition < this.maxAmmunition)
this.ammunition += 1;
this.ammunitionTimer = 20;
}
else this.ammunitionTimer -= 1;

and using it up every shot
this.ammunition -= 1; // We lower the ammunition

However, nothing in the code actually prevents it from shooting if it doesn't have ammunition.

Visualising issue

Screenshot_25
So I have this issue entering the page. Same thing happens with map, houses and everything. I was trying to fix it myself but didn't work
Screenshot_26
Screenshot_27

How do/did you even compile this?

I've spent the last hour or two trying to compile it on Windows, so that I can play around with some features.

Here's what I learned:

  • Requires TypeScript installed globally and on the PATH.
  • Requires yuicompressor on the path. NPM global install with NPM's scripts on the PATH works.
  • Requires 7zip's bin folder on the PATH.
  • There's a bug (at least for Windows 10) in the syntax of the batch file.
  • Expects Python 2.
  • TypeScript 2 is too new: Enforces TS17009.
  • TypeScript 1.4. is too old: Does not return 0 if there are no arguments (which the script uses to detect Typescript).
  • The batch script doesn't stop if something goes wrong.
  • The code doesn't properly import all names used. For example, "main.ts" doesn't import MainLoadingType.

At the last step, I give up. I can't easily fix all of the import errors.

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.