Alice Community  

Go Back   Alice Community > Alice 2 > Share Worlds

View Poll Results: How did you like this mission besides it being short
Very very good Job. Cant wait till the next mission 12 41.38%
Very good 10 34.48%
Fine 2 6.90%
Had too many problems 2 6.90%
Terrible. did not like it at all "If selected explain why" 3 10.34%
Voters: 29. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-23-2010, 06:25 PM

Quote:
Originally Posted by Dameria View Post
Well in my worlds I have a shoot method, and lets say when the mouse is clicked, it triggers the shoot method that has all the animation of the gun firing as well as the bullet moving outwards. There are multiple ways to make the collision for the impact, but I see that you like using bullets and their distance to the targets. I don't want to explain it all right now, because I actually have a project due tomorrow that I have to work on, but next time you make a world, I can help you to make the firing better if you want.

Ill start somthing and i would really want you to change my method to your way. Ill save you time by starting it

Here is the example. The bullet is visible so you can see it. Its not in the gun, like i make the bullets in the gun in my games
Attached Files
File Type: a2w Gun shooting.a2w (1.25 MB, 4 views)


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames

Last edited by x2495iiii; 02-26-2010 at 05:26 PM.
   
Reply With Quote
Cool Game x_X
Old
xXMASTERCHIEFXx
Guest
 
Status:
Posts: n/a
Default Cool Game x_X - 02-24-2010, 12:46 PM

Really cool game can't wait for the next... x_X
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-24-2010, 01:50 PM

Thanks. Im working on this one even more so please wait for the contest version. Its so much better. It will blow you away!!!!!!!!

Im worried about da sounds


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames

Last edited by x2495iiii; 02-26-2010 at 05:28 PM.
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 02-26-2010, 07:18 PM

Ok, I made it so that there are less methods inside of the events bar itself, so I created a world method or 2. I also added a penguin and made it so that you can shoot the penguin to test my collision detection method called "enemyDie". This method is called every time the bullet is fired, and it repeats a collision detection check 30 times every time a bullet is fired instead of checking infinite times at all times even when gun is inactive. The die method though is not a very good example, as there is only 1 enemy, and although I used lists within it, it would be hard to add more enemies because of the variable checks I put to the method (for example a variable to make sure the penguin is alive or not).
Attached Files
File Type: a2w Gun shooting.a2w (1.57 MB, 8 views)


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-26-2010, 08:20 PM

Its good but i was wondering if you fixed the problem of you shoot the penguin but the bullet does not hit him. Are you sure this will fix the frame rate of the game?


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames

Last edited by jediaction; 02-26-2010 at 08:31 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 02-26-2010, 08:30 PM

I tried redoing it and the whole game stopped working


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 02-26-2010, 11:47 PM

This will not fix the WHOLE frame rate of the game, but it will help to reduce it a bit. If you want to keep the infinite loop in (as long as there are not many parts to that loop) then its fine to have that one, but if you already have more than 3 other infinite loops that you cannot continue without, you should have this method in for shooting. The main thing though to reduce lag is to get rid of as many infinite loops as possible.

You probably messed with something in the lists, making it create an error. Try to make it so that the statements you right make sense in Alice, or else you might get a world-stopping error.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-27-2010, 01:34 PM

Its running 6 frames a second. I need to to run at least 20


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
Reply With Quote
Old
Dameria
Senior Member
 
Dameria's Avatar
 
Status: Offline
Posts: 976
Join Date: Sep 2009
Location: United States
Default 02-27-2010, 03:16 PM

Your new game? Well if you upload it to a website like http://www.sendspace.com/ and send me the download link, I can take a look at it and maybe see if I can make it to faster.


Check out my best projects so far and please comment:

Tic-Tac-Toe 2.0 ................... http://www.alice.org/community/showthread.php?t=3548
Alice Paint ........................... http://www.alice.org/community/showthread.php?p=23408
Real-Time Clock .................. http://www.alice.org/community/showthread.php?p=12725
Maze Game ......................... http://www.alice.org/community/showthread.php?t=4301
   
Reply With Quote
Old
jediaction
Senior Member
 
jediaction's Avatar
 
Status: Offline
Posts: 5,064
Join Date: Jul 2009
Location: Bel Air, Maryland
Default 02-27-2010, 07:37 PM

No i need to do it on my own not some one do it for me. Its better to learn


Website: www.salokingames.com
FaceBook: www.facebook.com/SalokinGames
   
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 ©2023, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.