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.

Newcomers DBPro Corner / How do u make Star using MAKE OBJECT?

Author
Message
Hotshot
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location:
Posted: 16th Nov 2005 21:52
Hiya all

I have try to put the background red but it turn out in blue and I trying to make it look like flat 2D Star when rotate it as I have put the speed on Second box faster to make look star but it isnt

how do you do it?

[CODE]
sync on
make object box 1,50,50,40
make object box 2,50,50,50
cls rgb(255,0,0)

do
zrotate object 1,object angle z(1)+0.1
zrotate object 2,object angle z(1)+1
sync
loop
[CODE]

cheers
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 16th Nov 2005 22:16


Boo!
Hotshot
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location:
Posted: 16th Nov 2005 23:05
thank you very much It is possible to create shadow behide the 2D Star?

cheers

P.S. I will study on how u made the 2D Star
General Sephiro
19
Years of Service
User Offline
Joined: 27th Sep 2004
Location:
Posted: 17th Nov 2005 13:14 Edited at: 17th Nov 2005 13:21
Well if your using DBC (Dark Basic Classic) this code should help you out, i've putten in comments so it's easier to understand




{Edit} - I changed the star from a box to a Plain saves memory... since you arn't using / viewing the other sides of the box's they arn't needed.

Box = 6 sides to it
Plain = 1 side to it

*Side inspiration note for ye* It may take you a while to learn DB but you'll be making decent games in no time.. best route is probably messing about with your own code changing things about so you get a better understanding instead of just repeating code for the sake of it.

Hotshot
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location:
Posted: 17th Nov 2005 18:40
thanks...I have darkbasic demo and I have full version of darkbasicpro...

p.s. I trying to make Old skool demo you can add my email if you want as I willing to learn weather it 2D Rotation or 3D rotation( I havnt master that yet)

cheers
Steve Fash
21
Years of Service
User Offline
Joined: 31st Dec 2002
Location: Doncaster, UK
Posted: 17th Nov 2005 19:51
Quote: ".I have darkbasic demo and I have full version of darkbasicpro"

Are you the same Hotshot from the BB forums from Doncaster ?
Just wondered....


For game/demo music for YOUR PC productions visit:-www.futuredevelopments.org.uk
Hotshot
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location:
Posted: 17th Nov 2005 21:18
[quote]Are you the same Hotshot from the BB forums from Doncaster ?
Just wondered....
[\quote]

yep and why....I think know u Fash as u are good at making music...am I right?

Login to post a reply

Server time is: 2024-09-24 09:27:58
Your offset time is: 2024-09-24 09:27:58