Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
Need help with shooter
Old
iBeBeAsTy
Junior Member
 
Status: Offline
Posts: 3
Join Date: Jan 2011
Location: Lakeland
Default Need help with shooter - 03-29-2011, 10:43 AM

Need help in three areas.

1.Enemy health

2.Ammo counter

3.Gun damage(different amounts of damage for different guns e. Shotgun pistol ect.)
   
Reply With Quote
Old
TheWhiteGuy
Guest
 
Status:
Posts: n/a
Default 03-29-2011, 11:35 AM

Quote:
Originally Posted by iBeBeAsTy View Post
Need help in three areas.

1.Enemy health

2.Ammo counter

3.Gun damage(different amounts of damage for different guns e. Shotgun pistol ect.)
1. there is a posted thing already that has a health bar that you can look at.
2.idk
3. you might have to make it so that when your gun changes it makes the health bars lower or go down faster.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 03-29-2011, 05:04 PM

1: I have uploaded a Health Bar system that I made for 2 other users with the same question

2: Make a 3d text first. Its complicated to explain but here it goes. Make an if/else statement with if the 3d text == to the number of bullets, then in the first empty section, make the text turn to 1 number down. Then in the "else" part, copy the whole thing so far and drag it into the else. But change the == to "whatever number it was" to the number that was numbered down (If the ammo was 10, then make the == part to 9). Then keep it duplicating so the order of number on the way down should look like..10,10,9,9,8,8,7,7,6,6,5,5,4,4..etc..

3: Make an object in the gun(A ball for instance). Make it when ever the user presses the fire button it the bullet moves forward like 30 meters very quickly. Then change the speed to something fast, then make it go back the same distance with (0) seconds, so you have infinite bullets.


Hope this helps!


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.