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.

The 20 Line Challenge / [LOCKED] [DBP] Seismographic graph

Author
Message
Goz3rr
14
Years of Service
User Offline
Joined: 27th Mar 2010
Location:
Posted: 12th Apr 2010 17:05
I'm just getting started with DBP, and tried some stuff with this.
I think this should work with DBC too.
You could use it as a screensaver or something ;P



...
Pandagamesorg
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location: check your moms room :D
Posted: 12th Apr 2010 22:22
Pretty cool. With this you could make a lie detector in which the lines move as the mouse does.
Sepnon
14
Years of Service
User Offline
Joined: 7th Feb 2010
Location: Brazil
Posted: 13th Apr 2010 00:55
cool.. i edited it a bit, looks like a city now



abstract art
Pandagamesorg
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location: check your moms room :D
Posted: 13th Apr 2010 23:34
I tried your script in DBP and all it did was start counting up a high speed and it disabled the escape key and alt+F4 for like 10 seconds then it came up not-responding.
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 14th Apr 2010 05:45
What did you run it with the first time?

Goz3rr
14
Years of Service
User Offline
Joined: 27th Mar 2010
Location:
Posted: 14th Apr 2010 15:33
How do you mean, Start counting up at a high speed?
You mean the line goes up very fast?

...
Goz3rr
14
Years of Service
User Offline
Joined: 27th Mar 2010
Location:
Posted: 14th Apr 2010 15:38
Mmh, I tried Sepnon's code, It indeeds count up.
You need to comment out the "print x" at line 20.
What he did, He premade the graph and logged all the x-numbers to the screen.

Commenting this line out, Should make the application work.
Just wait a few seconds for the graph to build, after that you can scroll with the mouse.

...
Pandagamesorg
14
Years of Service
User Offline
Joined: 12th Dec 2009
Location: check your moms room :D
Posted: 14th Apr 2010 23:46 Edited at: 14th Apr 2010 23:58
Thanks that worked but you have to wait about 23 seconds for it to pop up. Pretty cool but I made a lie detector but i need some testers.

Goz3rr
14
Years of Service
User Offline
Joined: 27th Mar 2010
Location:
Posted: 15th Apr 2010 09:34
Lol @ the lie detector

...
Goz3rr
14
Years of Service
User Offline
Joined: 27th Mar 2010
Location:
Posted: 15th Apr 2010 09:39
I've included a picture of the lie detector edit:

I don't think you really figured out why i used line commands..
All this does is print the test "Ask a question" and draw some dots at the mouse Y position.

I wonder if DBPro has mic support..
It would be epic to do something with that + my app



...
Sepnon
14
Years of Service
User Offline
Joined: 7th Feb 2010
Location: Brazil
Posted: 17th Apr 2010 04:16 Edited at: 17th Apr 2010 04:17
@Goz3rr:
yep, sorry.. Here it was really fast
dbpro supports sound recording, but it's kinda useless for a 'lie detector"

It would be cool if dark basic had more "non-game" commands. I know it's a language for games, but i'd be cool making apps without DX, for example..

let's improve my abstract art.. hehehe

Goz3rr
14
Years of Service
User Offline
Joined: 27th Mar 2010
Location:
Posted: 17th Apr 2010 08:47
You should really implement some kind of checking there, Sometimes the line go through the top

...
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 21st Apr 2010 21:48
You guys really need to read the rules for this board. There is a reason it's called 20 Liners...

http://forum.thegamecreators.com/?m=forum_view&t=128721&b=11

This should be in Code Snippets.

TDK

Login to post a reply

Server time is: 2024-04-19 05:57:54
Your offset time is: 2024-04-19 05:57:54