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 / Rectangle packing (start) for fun

Author
Message
Hannibal
10
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 26th Jan 2017 23:48
+ Code Snippet
Hannibal
10
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 27th Jan 2017 00:05
Her's a vid of it....

https://www.youtube.com/watch?v=roNAxfjvSQA


I HOPE
Hannibal
10
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 27th Jan 2017 00:26
A newly generated rectangle may not be inside an existing one...

A growing rectangle cannot intersect another rectangle... :-(
Hannibal
10
Years of Service
User Offline
Joined: 5th Mar 2007
Location:
Posted: 27th Jan 2017 00:28
Oh, and rectangles also stop growing when they are too near a screen edge....
Derek Darkly
5
Years of Service
User Offline
Joined: 22nd Sep 2011
Location: Whats Our Vector, Victor?
Posted: 27th Jan 2017 23:35
I like it!!!
I like anything self-generating. This could be used for creating huge, complex room systems.
Glad to see a few people still using DBP.

I was working on a tileable 2D pattern maker today just for fun.
The RND command is probably my favorite thing ever. The possibilities are staggering.
(I would like to make a self-generating RPG someday.)

I will watch for updates if you make any. Thanks for sharing!
Send your parents to noisy sprite demo hell... enter the D-Zone
smerf
12
Years of Service
User Offline
Joined: 24th Feb 2005
Location: nm usa
Posted: 28th Jan 2017 06:51
nice work
A child's dream never dies.





Login to post a reply

Server time is: 2017-04-24 04:35:02
Your offset time is: 2017-04-24 04:35:02