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.

2D All the way! / how do u make birds flocking????

Author
Message
PowerMan
21
Years of Service
User Offline
Joined: 22nd Jan 2005
Location: Manchester
Posted: 5th May 2005 08:26
i am making a 2d game like the old scramble i want to make it so that there are alien birds flocking on level 2. i have seen how people have done this in 3d but no idea in 2d. my game so far is below
[href]
http://homepage.ntlworld.com/j.power40/html/mega.zip
[/href]

also i want to add my psrticle system to my volcanoe on level 3. any ideas?
Psycho Joker
20
Years of Service
User Offline
Joined: 13th Jul 2005
Location:
Posted: 8th Aug 2005 21:04
I tried your link and it doesn't work for me. I tried shortening and looking through your other stuff and I still coulnd't find it. I seen the tank game you have and it seems to be pretty good. Collision is a little off and so is the bullet shooting. Did you program that in VB because I did something similar, just a little more in depth.(diffrent weapons, powerups, Hud, enemy, AI,Capture the flag, DeathMatch, and online play)

If you want help with the alien birds "flocking" let me see what code you have and give me the sprite images that you want to use.

Psycho Joker
Grog Grueslayer
Valued Member
21
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 11th Aug 2005 06:17
I think the one he's talking about is:

http://homepage.ntlworld.com/j.power40/html/megascramble.zip

There are a few graphics that weren't included in the zip but reming them off doesn't effect the gameplay. Rem off line 6, 8, and 72.

Powerman, looking good. One of the first things I noticed is you need to add a ",1" at the end of every image loading. This will make Darkbasic Pro load the graphic exactly the way you drew it. The default for Darkbasic gives graphics an anti-aliased look.

Birds flocking could be done just as you did the ship. Just make a graphic of birds flying (maybe 3 frames) and cycle the picture the sprite uses. The volcano could also be a sprite animation... rather than using particles.

If you need help with animating sprites just let me know and i'll post some code.
BiggAdd
Retired Moderator
21
Years of Service
User Offline
Joined: 6th Aug 2004
Location: != null
Posted: 14th Aug 2005 09:20 Edited at: 14th Aug 2005 10:26
Hope this solves ur problem.. View atached file


(I couldn't be botherd making a propper bird texture..... u'll have to do that urself. its an example of what u need to do.

[EDIT] Ok i updated the code


SSDD
Same Sh** Different Day

Login to post a reply

Server time is: 2026-07-08 06:45:48
Your offset time is: 2026-07-08 06:45:48