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
3 registered members (TedMar, AndrewAMD, fairtrader), 578 guests, and 0 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 1 of 2 1 2
Neverending space? #124976
04/19/07 11:05
04/19/07 11:05
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
For test I've created 1000 ents with simple function my.x += 1000 to previous enity. I've been flying and flying and after 20 minutes I've been to boring to continue
So when we add models by script not in wed... the game space (like cosmic space) can be endless?!


Never say never.
Re: Neverending space? [Re: tompo] #124977
04/19/07 11:46
04/19/07 11:46

A
Anonymous
Unregistered
Anonymous
Unregistered
A



not this easy way.
with gamestudio (don't know about A7/c-lite) the fixpoint var have a range between -999999.999..+999999.999 - this is the end of your cosmos

a way to get an "endless" cosmos is to make the spaceship the static center of your cosmos and move all other objetcs...

Re: Neverending space? [Re: ] #124978
04/19/07 12:00
04/19/07 12:00
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
999999.999 is almost endless if you move by 2 in one frame_step;)


Never say never.
Re: Neverending space? [Re: tompo] #124979
04/19/07 13:26
04/19/07 13:26
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
yeah, but considering you got about 60 fps, you move 2 per frame that would mean you would move 120 quants per second.
let's take from -1000000 till 1000000 that would mean 2000000
2000000/120 = 833.33333333333
833.33333333333/60 = 138,88888888888888888888888888889 minutes
138,88888888888888888888888888889/60 = 2,3148148148148148148148148148148 hours

so it would not be that endless


BASIC programmers never die, they GOSUB and don't RETURN.
Re: Neverending space? [Re: bstudio] #124980
04/19/07 15:05
04/19/07 15:05
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
2,3 hours in one level in one direction only is a good ponit to start
Something like Oblivion from one end of world to enother
So calculate time to travel around this level too


Never say never.
Re: Neverending space? [Re: tompo] #124981
04/20/07 09:41
04/20/07 09:41
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
But you've wrote: 2000000/120 = 833.33333333333
for me this is 16666.66666666s
So he final result is about 4,6h

Now the circle travel... 2 pi r
2 * 3.1415926 * 1000000 = 6283185 quants
120 per second = 52359.877s = 872.66min = 14.5 hours

Last edited by tompo; 04/20/07 09:42.
Re: Neverending space? [Re: tompo] #124982
04/20/07 10:06
04/20/07 10:06
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
whoops, made a little mistake with my calculator XD


BASIC programmers never die, they GOSUB and don't RETURN.
Re: Neverending space? [Re: bstudio] #124983
04/20/07 10:25
04/20/07 10:25
Joined: Oct 2006
Posts: 179
ExtraCortex Offline
Member
ExtraCortex  Offline
Member

Joined: Oct 2006
Posts: 179
Why not script something like this?

If player.pos = 9999999999999.999999999999 then player.pos(XYZ)=-9999999999.99999

or whatever.. lol

That way it should be infinit!

Re: Neverending space? [Re: ExtraCortex] #124984
04/20/07 10:35
04/20/07 10:35
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
Becouse var (so the distance) can be "only" set between -9,999,999.999 to +9,999,999.999


Never say never.
Re: Neverending space? [Re: tompo] #124985
04/21/07 05:23
04/21/07 05:23
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline
Serious User
PrenceOfDarkness  Offline
Serious User

Joined: Aug 2004
Posts: 1,305
New York
Lissen, no level ever needs to be endless, it just needs to seem endless, and gigantic.


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Page 1 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