Alice Community  

Go Back   Alice Community > Alice 2 > Works-In-Progress

Reply
 
Thread Tools Display Modes
Basic FPS Engine
Old
JAA
Member
 
JAA's Avatar
 
Status: Offline
Posts: 31
Join Date: Jul 2010
Default Basic FPS Engine - 07-10-2010, 05:30 PM

For my second Alice world I have made a basic FPS engine which includes collision detection.
Controls:
A: Turn Left
W: Move Forward
D: Turn Right
S: Move Backward
Space: Jump
Click the revolver to make it shoot

I do need some help. It seems that sometimes there are dead zones for shooting the enemy, meaning if you are a certain distance a way even if you aim right at the enemy the hit doesn't register. I think it has to do with the bullet jumping instead of travling continuosly straight. The only solution I found was to slow it down. I wish I could make the bullet travel faster without having this problem. If anyone could help me I'd appreciate it. You can find the bullet's movement animation under it's method Bullet.InMotion.

I will continue to work on this world and make an advanced version that includes more actions, weapons, objects, and other things. Please feel free to give me suggestions.

Also if you havn't already, check out my first Alice world please. You can find it at this post.http://www.alice.org/community/showthread.php?t=4716
Attached Files
File Type: a2w fps shoot.a2w (984.8 KB, 91 views)


Out of the 7 schools I applied for, Carnegie Mellon is the only one that didn't accept me. They wait listed me, but I hold no grudges. Alice is awesome and Claytronics , om*g. Some one should figure out how to put these two projects together. It would revolutionize not only the gaming industry, but the world... scratch that, the Universe... scratch that, the Multiverse!

Last edited by JAA; 07-10-2010 at 05:33 PM.
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 07-11-2010, 01:39 PM

Its ok. good start. You should look at my Hero's Game for ideas


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Bullet Problem
Old
debussybunny563
Senior Member
 
debussybunny563's Avatar
 
Status: Offline
Posts: 852
Join Date: May 2010
Exclamation Bullet Problem - 07-23-2010, 03:04 PM

Quote:
Originally Posted by JAA View Post
I do need some help. It seems that sometimes there are dead zones for shooting the enemy, meaning if you are a certain distance a way even if you aim right at the enemy the hit doesn't register. I think it has to do with the bullet jumping instead of travling continuosly straight. The only solution I found was to slow it down. I wish I could make the bullet travel faster without having this problem. If anyone could help me I'd appreciate it. You can find the bullet's movement animation under it's method Bullet.InMotion.

I will continue to work on this world and make an advanced version that includes more actions, weapons, objects, and other things. Please feel free to give me suggestions.

Also if you havn't already, check out my first Alice world please. You can find it at this post.http://www.alice.org/community/showthread.php?t=4716
Yeah, I had that same problem in my FPS too. High-velocity bullets don't register as well in the target. To (kind of) solve this, I also made the bullet go slower, and made four copies of the bullet (five total). Since I had an automatic weapon (just imagine how quickly the bullet went), I had to create the extra bullets so each individual bullet could travel slower (bullet1 move up 200 m, wait 0.1 sec, bullet 2 move up 200 m, etc.) and there was a cycle (I hope you get the idea).

You can find my FPS here:http://www.alice.org/community/showthread.php?t=4788

Last edited by debussybunny563; 07-24-2010 at 03:31 PM.
   
Reply With Quote
Reply

Thread Tools
Display Modes

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 ©2020, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.