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.

Code Snippets / Bouncy ball program (oculd be screen saver)

Author
Message
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 14th May 2004 13:26
I recently got bored and made this. Play with it all you want

I could probably make it better, but i can't be bothered. It wa more of just a way to relieve bored via the basic 2d commands

flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 14th May 2004 16:28
Quote: "I could probably make it better, but i can't be bothered"


Okay, so i lied, but this one is so much cooler cos it is more of a gravity simulation. It randomly makes little "planets" and lets the balls go around.

I'll probably work on it more. I haven't got anything else to do

Atreides
21
Years of Service
User Offline
Joined: 11th Oct 2003
Location: Switzerland (but NOT on a mountain !)
Posted: 15th May 2004 21:10
^^
the first one was good, but the second one is far better ^^

The sleeper must awaken !
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 21st May 2004 14:28
thanks, its nice to get a response

I'm working on a another version. But i agree. Don't you just find the 2nd one hypnotising? I could just sit and watch it for hours

huntermta
21
Years of Service
User Offline
Joined: 22nd May 2004
Location:
Posted: 23rd May 2004 17:09
Im confused, where are they?

newbie
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 23rd May 2004 17:55 Edited at: 23rd May 2004 17:56
littl button at the bottom of my posts that says "Source"

by the way, heres the latest version. Looks really, really sweet if you rem out the cls command at the beginning of the do-loop



Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 26th May 2004 15:10
Wow... I'm gob-smacked!!

You're right about remarking the "Cls" command!!

Aussie, Aussie, Aussie!

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Jonanin
21
Years of Service
User Offline
Joined: 20th Jan 2004
Location: A place with a roof
Posted: 27th May 2004 01:26
AwSomE I especialy like it when rou rem out the cls

"If the shoe fits, It must be your size"
"Never name a pig you are going to eat"
"It is easier to hide intelligance than it is to hide Stupidity"
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 27th May 2004 12:53
Yay! people like me work! i feel proud

TheCyborg
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Denmark
Posted: 30th May 2004 05:12
uhh... nice one... would be a cool screensaver

Hansie
21
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: California
Posted: 13th Aug 2004 04:09
is this for DBPro? or Classic? when I try to run it using DBPro I get errors.
ifman1
22
Years of Service
User Offline
Joined: 3rd Jul 2003
Location:
Posted: 13th Aug 2004 11:27 Edited at: 14th Aug 2004 02:31
Anyone else having problems with DBPro not wanting to compile because of the function:

function pos(value1 as float, value2 as float)
if value1-value2<0 then exitfunction 0
endfunction (value1-value2)


it doesn't seem to like the last line trying to return the equation for some reason. If I add a new line in and make it like such:

function pos(value1 as float, value2 as float)
if value1-value2<0 then exitfunction 0
bugger=value1-value2
endfunction (bugger)


it works fine. Is anyone else running into this problem? Is my copy of DBPro F##K'd? I'm running the patch 5.5.

OH GOD, it itches!!!! IT ITCHES SOOO BAD!!!!
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 14th Aug 2004 19:23
oh, that might be a 5.5 bug. it works fine on my 5.4

i'll post it in the bug reports


http://www.jellystudios.tk
Current Project: Cube3 Arena (TGC Compo Entry)
Mattman
22
Years of Service
User Offline
Joined: 5th Jun 2003
Location: East Lansing
Posted: 17th Aug 2004 11:03
Cool beans!

"Could you do something where you don't need a video card cause i don't have one" - Program Expert
Cheater Cheater, Pumpkin FATTIE!!!
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 18th Aug 2004 21:57
thanks


http://www.jellystudios.tk
Current Project: Cube3 Arena (TGC Compo Entry)
Jonanin
21
Years of Service
User Offline
Joined: 20th Jan 2004
Location: A place with a roof
Posted: 26th Aug 2004 04:23
oohhhhh... no error for meesa

"If the shoe fits, It must be your size"
"Never name a pig you are going to eat"
"It is easier to hide intelligance than it is to hide Stupidity"
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 26th Aug 2004 18:24
Probably not running DBPro 5.5

Here is the fixed code, anyways:




http://www.jellystudios.tk
Current Project: Cube3 Arena (TGC Compo Entry)
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 6th Sep 2004 13:39
hey that is a really cool code my cat was fallowing up and down lol well i really like it

WILL
B1rD
21
Years of Service
User Offline
Joined: 21st Mar 2004
Location:
Posted: 17th Sep 2004 22:46
Nice code..

I made the same thing for DBC.. For anyone who's working with DBC, here is it.. I dont really want to use it though.

flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 19th Sep 2004 17:57 Edited at: 19th Sep 2004 17:58
EDIT: For some reason I posted random crap here. Ignore me


http://www.jellystudios.tk
Current Project: Cube3 Arena (TGC Compo Entry)
SteveK
21
Years of Service
User Offline
Joined: 24th Dec 2003
Location: US
Posted: 11th Oct 2004 04:44
That is cool. I didn't look at the code becuase I'm lazy but if it's not already there could you make a variable that controls the amount of gravity wells and asteroid things? So I could watch... say.. 200 at once?!

I am the great cornholio. Take me to your TP!
Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 11th Oct 2004 12:59
lol that would be cool

flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 13th Oct 2004 01:56
5th and 6th lines




Current Project: Cube3 Arena (TGC Compo Entry)
Mx5 kris
20
Years of Service
User Offline
Joined: 9th Oct 2004
Location:
Posted: 20th Oct 2004 12:40
I get an fps of "9000". Is that possible?

Ummm....is db good....
flibX0r
22
Years of Service
User Offline
Joined: 14th Feb 2003
Location: Western Australia
Posted: 23rd Oct 2004 18:01
if it was windowed or something I'd say it entirely possible. I'm guessing your computer specs must be pretty high


Current Project: Cube3 Arena (TGC Compo Entry)

Login to post a reply

Server time is: 2025-08-09 01:36:26
Your offset time is: 2025-08-09 01:36:26