Collaboration time!

oofus idk how

(StickMan Randomness Preview11-16-2020_4-20-28PM.wick

I added a point system but idk how to make a saving system

you mean adobe flash player is going to die?

yes https://www.adobe.com/ca/products/flashplayer/end-of-life.html#:~:text=As%20previously%20announced%20in%20July,(“EOL%20Date”).

can anyone make a saving system bc idk how

actully nvm ill make it

try using javascript local storage

i am going to use that ok

i was trying to do it but it didn’t save can anyone do it

i’ll ad some stuff on StickMan Randomness and when i uninstall adobe, i’ll send it

ok send me the file when u done

I’m in school rn, but I’ll make a saving system when I have time

ok then ill just do some stuff

pixilart-drawing (2)

nice drawing

anyways im adding some stuff…

ok im just taking a break

here’s how to use local storage:

window.localStorage.setItem("foo", "bar"); //save something
window.localStorage.getItem("foo"); //load something
window.localStorage.removeItem("foo"); //delete something
window.localStorage.clear(); //remove everything

example:

var gameData = {
  coins: 923,
  stars: 123,
  jiggies: 912,
  rings: 50,
  keys: 89,
  bonfires: 153
  souls: 90
}

//This function would save the game data onto a certain slot
//like slot A, slot B, slot C, or slot D
//So you could have multiple slots
//It will save the game data as a JSON string
function saveGame(slot) {
  window.localStorage.setItem("gameSave" + slot, JSON.stringify(gameData));
}

//This function will load the save data from a slot
function loadGame(slot) {
  var savedGameData = window.localStorage.getItem("gameSave" + slot);
  gameData = JSON.parse(savedGameData);
}

function deleteSave(slot) {
  window.localStorage.removeItem("gameSave" + slot);
}

function clearAllSaves() {
  window.localStorage.clear();
}

ok then ill see what i can do

What was something dumb you did as a kid?