generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Equation

Previous Thread :: Next Thread 
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
18 Jan 2016 11:29 PM
I want to make something that will give me a certain number of points, and also can be upgraded.

What would be a good equation to have the amount of points received, and the cost of the upgrade to increase?
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
18 Jan 2016 11:39 PM
I will be singing off in a bit, can you guys bump this thread until there is a good response?
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
18 Jan 2016 11:41 PM
5



#Code print("Song Link: http://www.roblox.com/Deorro-vs-Swedish-House-Mafia-Save-The-5-Hours-item?id=340827217")
Report Abuse
AtheisticAnon is not online. AtheisticAnon
Joined: 12 Jan 2016
Total Posts: 94
18 Jan 2016 11:45 PM
Hmm. Your statement seems somewhat vague. Do you want such an equation to increase in direct proportion? Please specify the relativity between the operands.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
18 Jan 2016 11:45 PM
Example equation:

local Points = 10
local cost = (Points^2)-(Points/2)
function OnUpgrade()
Points = cost
end

-- I want something like this, but a different equation... Something that goes up at a different rate.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
18 Jan 2016 11:46 PM
And yes, I want the two directly related
Report Abuse
128Gigabytes is not online. 128Gigabytes
Joined: 17 Apr 2014
Total Posts: 3616
18 Jan 2016 11:46 PM
The price of cost should go up but not the amount of change

Or the price should go up more than you would if the amount of change didn't go up
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
18 Jan 2016 11:51 PM
Yes, that is what I am looking for, and what is a decent equation to do this with?

Sorry if some stuff I say is not making since, it it 1 am here for me, I've been working with my robotics team all day and came home only to do college work, I'm a bit tired lol
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
18 Jan 2016 11:57 PM
Last bump for now, I am signing off :)
Report Abuse
cxcharlie is not online. cxcharlie
Joined: 26 Aug 2009
Total Posts: 1414
19 Jan 2016 02:39 AM
Test around with random equations using the Desmos site
It's an online dynamic graph that lets u test things really quickly.
I used it to find a random algorithm for exponential increments.




http://www.roblox.com/a-item?id=212802893local D = Instance.new('RocketPropulsion',me) D.Target = OP D:Fire()
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image