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 Discussion / A bouncing ball

Author
Message
Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 15th Apr 2006 13:16 Edited at: 15th Apr 2006 13:26
I just decided to make a ball game and thought that I should try to discover how to make a ball bounce. The result became this little demo!

I just wanted to hear some oppinions and some tips how to make it better, although I'm pretty proud of it. The only thing I don't like is that the K#-value that I'm using to pull down the ball (object position Y(1)-K#) isn't decreasing in a way that I would like, and I haven't found a way to decrease it more and more instead of 0.4, which I'm doing now.

Anyway! Here's the demo!
(If you want to change the speed, height, and the angle of the ball, just play around with the two mousebuttons )



www.godhatessweden.com

Good laughter!
Eray
20
Years of Service
User Offline
Joined: 26th Apr 2005
Location: United Kingdom
Posted: 15th Apr 2006 16:44
Hello there,

Was just looking through the fourms and came along this, tested out your code (made me smile)

If your looking to make it into a game ? here is what i would do -

Make it so you can only drag the ball to a certain height (never get that word right) then make a target or a net or somthing higher (and in later levels move it around) then make the person get it in...specail power ups to change your ball so on, a nice map...some jazzy music and there you go, you got a nice little arcade game on your hands.


Take my advice or leave it depending on what you want to do ?


Stay Retro, Eray

www.kinggamers.co.uk
Stora tomtefar
20
Years of Service
User Offline
Joined: 15th Mar 2005
Location: Göteborg, Sweden
Posted: 17th Apr 2006 16:00
I'll try to keep retro

Although I read what you said, it sounded a bit complicated, so I did something easy insted!
The thing you as the player are supposed to do is to throw the ball straight ahead and hit as many of the 100 cubes that are placed in a nice line. I've also added three different gametypes; hit as many cubes as you can, hit as many cubes during one minute as you can, and get as much score as you can.
The music is composed by my brother and is a little popcorn-techno, which I thought was suitable with the bouncing ball

Plus, I want to add highscores, but I'm not sure how to do it. I'll search for older topics regarding the matter, but you don't happen to know anything about it?

I'm uploading a screenshot, aswell!
It sais "Träffade kuber" at the top. Well, that means "Cubes hit".
I'll do an english version of the game aswell, so don't worry ^^

www.godhatessweden.com

Good laughter!

Attachments

Login to view attachments
Eray
20
Years of Service
User Offline
Joined: 26th Apr 2005
Location: United Kingdom
Posted: 17th Apr 2006 23:28
hello there,

Well cool, lol its ok i was just firing some ideas your way but this looks quite cool, needs a lick of paint though lots of bright colours makes it retro and beaty music too

Erm i realy dont no how to do scoreboards but im sure there are lots of people on this forum who would love to help you with this small matter (HINT HINT GUYS!!)

ok, well do we get a download or wat ? lol.

u need more colours and maybe the blocks could move ? and when hit burst into bright colours would look nice.

This sounds like erm...Break out but 3d and stuff


Well good luck, Eray

www.kinggamers.co.uk
mmmpie
19
Years of Service
User Offline
Joined: 18th Apr 2006
Location:
Posted: 24th Apr 2006 05:17
i love your game ive lernd alot from it to. ty

Login to post a reply

Server time is: 2025-05-23 20:58:42
Your offset time is: 2025-05-23 20:58:42