Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / [DBP] Grass/Statics Engine! and new additions ;o)

Author
Message
gwheycs62egydws
16
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 27th Feb 2011 08:02 Edited at: 9th Mar 2011 04:18
some time ago like in 27th Aug 2007

Creator: coolgames

created a 3d "[DBP] Grass/Statics Engine!" in code Snippets

this is the link to his work
http://forum.thegamecreators.com/?m=forum_view&t=113222&b=6

thanks to talking with him I've added a bit more to it and have
plans to add more to help build your levels quicker and with more
options

Please keep checking back I will do what I can to expand the options

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
16
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 27th Feb 2011 08:22 Edited at: 9th Mar 2011 06:49
additions planed for this are:

to be added list

grass that shows be pressed down by the user
- it could stay permently that way
- it could come back up after a time that was set

zoom-able above camera

Clouds
- static
- moving around
- moving around and changing

day evening night morning change

mist

fog

Rain
- lightning

snow
- snow piles
- slush

snow will be a bit more tricky to implement
not so much as having come down from the sky
but it collecting in a spot and piling up

sound of moment though the grass
either slow average or running

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
16
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 27th Feb 2011 08:22
what I added after the do line was

if inkey$()="a" then maxrd=maxrd-1:if maxrd<10 then maxrd=10
if inkey$()="s" then maxrd=maxrd+1:if maxrd>5000 then maxrd=5000
set_static_render_dist(maxrd)
the bigger the number you go the slower things get

this changes how far out the grass is shown

the line that gets thing going for creating the grass and the distance
it shows from the center of the players is

st_grass=load_static_type("statics\grass_2.x",25,25,25,0,4,0,255,0,3000,1,0,maxrd,0,0,0)
`
` the 3000 # is the distance they cover

it was originally set at 700 I changed that to 3000

If a thought is Just a thought ~ so whats the main thought ?
Stab in the Dark software
Valued Member
23
Years of Service
User Offline
Joined: 12th Dec 2002
Playing: Badges, I don't need no stinkin badges
Posted: 9th Mar 2011 03:55
I downloaded your code, Very Interesting. You Should put this in WIP thread. You will get more feedback.


[img][/img]


Custom,intel 3.0GHz Hyper Threaded,4GB RAM,ATI X1500 256mb,
WindowsXP DBpro v7.5 Synergy
The coffee is lovely dark and deep,and I have code to write before I sleep.
gwheycs62egydws
16
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 9th Mar 2011 04:17
well I am not the one who built the original code
but with every thing I have seen though out the vast forum

I've learned quite a bit and this will be one of my many
first steps to help the DBP take off the place ware we all
should be ;o)

Thanks I will do a post to that Location
and that totally makes sense

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
16
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 9th Mar 2011 04:24
the new location for this is work in progress is

http://forum.thegamecreators.com/?m=forum_view&t=182608&b=8&p=0

If a thought is Just a thought ~ so whats the main thought ?
gwheycs62egydws
16
Years of Service
User Offline
Joined: 17th Aug 2009
Location: The World
Posted: 9th Mar 2011 04:48
Stab in the Dark software

I'm sorry to see your web site is not available

If a thought is Just a thought ~ so whats the main thought ?

Login to post a reply

Server time is: 2026-07-14 22:23:00
Your offset time is: 2026-07-14 22:23:00