Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
4 registered members (AndrewAMD, Quad, soulman3, Ayumi), 675 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Neverending space? [Re: tompo] #124986
04/26/07 22:56
04/26/07 22:56
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
Quote:

But you've wrote: 2000000/120 = 833.33333333333
for me this is 16666.66666666s
So he final result is about 4,6h




? 833 * 2 is not 16666, so it's 43 hours

Re: Neverending space? [Re: Joey] #124987
04/26/07 23:39
04/26/07 23:39
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
With 60 fps and move 2 per frame = 120 quants per second.

max var is from -1000000 till 1000000 = 2000000
2000000/120 quants = 16666s = 278min = 4,63h

around travel =
2 * pi *r = 2 * 3,1415926 * 1000000 = 6283185 quants
6283185/120 quants = 52360s = 873min = 14,5h


Never say never.
Re: Neverending space? [Re: tompo] #124988
04/30/07 16:05
04/30/07 16:05
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
2000000/120 = 833.33333333333 => 2,3148148148148148148148148148148 hours
2000000/120 = 16666.66666666 => 4,6h

considering you were only complaining about the 833 and not about 833/3600 = 2,3 i thought it should be at least 10 times as big. you're right, obviously... another prove that you shouldn't rely too much on other user's posts but on your own calculator.

Quote:

Becouse var (so the distance) can be "only" set between -9,999,999.999 to +9,999,999.999




and it's -999,999.999 to +999,999.999...

Last edited by Joey; 04/30/07 16:11.
Re: Neverending space? [Re: Joey] #124989
05/01/07 17:06
05/01/07 17:06
Joined: Mar 2003
Posts: 1,524
Canada
Stansmedia Offline
Serious User
Stansmedia  Offline
Serious User

Joined: Mar 2003
Posts: 1,524
Canada
Hey, its the one time ulilillias freak math equations might come in handy but he isn't around. What's up with that?


Decessus - 80% done. 100% abandoned.
GET MY ANDROID GAME! https://play.google.com/store/apps/details?id=com.lasertrain.zspinballfree&hl=en
Re: Neverending space? [Re: Stansmedia] #124990
05/06/07 04:18
05/06/07 04:18
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
the hardest part about never-ending space is finding never-ending time to spend filling it

there are dozens of ways to increase the level limit with some tricks. you could have a multidimensional array: global_position[16000][16000][3] (i don't know if the amount of dimensions in an array can affect the limit on the array's size). you'd want it to be a local variable, and u'd need to use lite-c. but with a few code tricks (and model-only levels) this example would give you a level area of:
Code:
16000(999999.999-(-999999.999))
=16000(~2000000)
=32000000000
=3.2 x 10^10 quants squared


and i believe tompo's original speed mention was 2 quants per time step (not frame), so the shortest possible time it takes to cross the level at this speed (i say shortest because if you go across diagonally it would take longer) would be:
Code:
3.2 x 10^10 / 32 = 10^9 seconds
10^9/3600 = 277 777.778 hrs
277 777.778/24 = 11 574.074 days
11 574.074/365 = 31.71 years


which is pretty close to the desired never-ending

julz


Formerly known as JulzMighty.
I made KarBOOM!
Page 2 of 2 1 2

Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1