RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Random

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 89
I am yourself!
Hi...
Does anybody know how to generate a random number on ruby (exactly, RGSS)?
I kinda need it.

Thanks
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%

***
Rep:
Level 90
var = rand(360) # random number from 0 to 360
var = 120 + rand(240) # random number form 120 to 360

***
Rep:
Level 89
I am yourself!
Hey, simply what I need...
Thanx!
Symphony of Alderra : Memoirs of Life

Storyline : 200% (Overimaginatives)
Scripting : 100% (At last...)
Eventing  : 100%
Mapping   : 0.125%