Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Works-In-Progress (http://www.alice.org/community/forumdisplay.php?f=14)
-   -   Beginning of b-17 game (http://www.alice.org/community/showthread.php?t=7849)

dakota95 12-20-2011 02:03 PM

Beginning of b-17 game
 
1 Attachment(s)
First off I want to thank Mr Kidnapper for the awsome model. This is just the beginning of the game so, nothing fancy.

Controles:
Z - open bombay doors/ switches view to watch bombs drop
B - drops bombs, each individually
W - turns guns, flys airplane
S - dito
A - dito
D - dito
X - fly / take off. ( I havent figured out the acceleration yet so it is a jerk forward)
1 - switch view to pilot
2 - switch view to nose gun
3 - switch view to tail gun
4 - switch view to top gun

I only have these 5 views so far, and am working on more.
total views:5, Pilot, Nose Gun, Tail Gun, Top Gun, and bombay door cam.

Enjoy!
Dakota95

dakota95 12-20-2011 02:43 PM

If you have any comments or suggestions feel free to post them. This is just the beginning so there isn't much to them.
Also, if you want to make it so that you push one button and all the bombs drop on there own, I made a method that does that. It is called, something like "bomb drop". Just make it so that when B is pressed it does "bomb drop" instead of "bomb drop 2". Also if you fly straight for a few seconds there are some buildings that you can bomb. I haven't posted it yet but I made it so that if one of the bombs hits them then the one that the bomb hits gets covered in flames.

dakota95 12-20-2011 07:10 PM

No comments thus far?

Mr Kidnapper 12-20-2011 08:59 PM

Comments: If you start a plane in mid-air you should start it at a speed. To do this, make it Move [forward] at speed that seems acceptable. Probably less than 10 m/s is a good speed for Alice, even though it's unrealistic. Thing is, your speed must be a variable, so you can change it. Then, after they continue to press the acceleration button, you set the variable to equal itself + whatever your rate of acceleration is.
I suggest you make your rate of acceleration small, as well as the duration so they balance out. In Alice, incrementing tends to have problems in terms of limits, for example if I set the acceleration to only work if the speed variable was less than 20, it would often go over 20 and [I]then[/I] stop, so you must make the rate of acceleration small so that this gap remains as small as possible.

sargentnbbranco 12-21-2011 04:27 PM

how do i make bombs simaltaniusly out of the b-17 while space i held?

room14 12-21-2011 06:47 PM

[QUOTE=dakota95;44960]First off I want to thank Mr Kidnapper for the awsome model. This is just the beginning of the game so, nothing fancy.

Controles:
Z - open bombay doors/ switches view to watch bombs drop
B - drops bombs, each individually
W - turns guns, flys airplane
S - dito
A - dito
D - dito
X - fly / take off. ( I havent figured out the acceleration yet so it is a jerk forward)
1 - switch view to pilot
2 - switch view to nose gun
3 - switch view to tail gun
4 - switch view to top gun

I only have these 5 views so far, and am working on more.
total views:5, Pilot, Nose Gun, Tail Gun, [B][I][U]Top Gun[/U][/I][/B], and bombay door cam.

Enjoy!
Dakota95[/QUOTE]

Hell yeah.

dakota95 12-21-2011 08:15 PM

[QUOTE=room14;44996]Hell yeah.[/QUOTE]

excuse me, top turret. :D

dakota95 12-21-2011 08:22 PM

[QUOTE=Mr Kidnapper;44970]Comments: If you start a plane in mid-air you should start it at a speed. To do this, make it Move [forward] at speed that seems acceptable. Probably less than 10 m/s is a good speed for Alice, even though it's unrealistic. Thing is, your speed must be a variable, so you can change it. Then, after they continue to press the acceleration button, you set the variable to equal itself + whatever your rate of acceleration is.
I suggest you make your rate of acceleration small, as well as the duration so they balance out. In Alice, incrementing tends to have problems in terms of limits, for example if I set the acceleration to only work if the speed variable was less than 20, it would often go over 20 and [I]then[/I] stop, so you must make the rate of acceleration small so that this gap remains as small as possible.[/QUOTE]

could you write out how to make a variable do that step by step?

dakota95 12-21-2011 08:23 PM

[QUOTE=sargentnbbranco;44990]how do i make bombs simaltaniusly out of the b-17 while space i held?[/QUOTE]

first drag out a when key is pressed, then change it to while key is pressed. Then see how I did my bomb drop method in my game.

sargentnbbranco 12-21-2011 08:38 PM

[QUOTE=dakota95;45000]first drag out a when key is pressed, then change it to while key is pressed. Then see how I did my bomb drop method in my game.[/QUOTE]

but i need simultanius drop. i know how to do that. i need while bomb1 is <<>>
from plane, bomb2 move down


All times are GMT -5. The time now is 12:22 PM.

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