Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

game was fine. it might be needs a power-up RNG for clear the mine faster

Yeah i thought about that but i dont know how i would make a true RNG in puzzlescript but im working on a map switcher so every time you play a new map shows up. but im still making the maps. Also thanks for playing.

what about class that can access random() or something like that or you maybe can use time if time were even do this or time were odd do that? you can do rng by yourself doing that but thats predictable

(1 edit)

So ive been looking into thing for puzzlescript for rng and i think i got it working  but its kinda broken. As in it spawn a blank map and wont use my teleport spots wont appear, so ive been looking into it and i appreciate the feedback. 


i had seen about puzzlescript and it was html5 libraries. So i do have a bit knowledge about html5. Basically you need to use Math.floor() to round up the Math.Random() so the codes it looks like this

Math.random() //<< it returns double number from 0 - 1. example 0.189281, 0.83823, 0.90823879, 0.49874965

Math.floor(Math.random() * 10);  //<< return a number 0 - 9

function getRndInteger(min, max) {
  return Math.floor(Math.random() * (max - min + 1) ) + min;
} //<< this return an int number with threshold

i found it at this place

https://www.w3schools.com/js/js_random.asp

Deleted 5 years ago

also the Math.random isnt a thing on puzzlescript. also rn im using a random spawn script but it keeps turn the player into the spawner for the ore so it may tak a little but longer to work out 

owh! glad to hear you can work that out...

(1 edit)

yeah it took some playing with but right now it works but not very well. It will auto complete each level witch sucks but i have to edit the Player rules and the win conditions but it should be working in the next day because i have school tmr  

good job then!

(1 edit)

thanks ive tried pretty hard to branch from Martins Idea