Nahuel Posted March 30, 2008 Share Posted March 30, 2008 (edited) Here's a little game I made based on DBak's question on this thread.It's simple. Choose the right angle and the right speed to hit the monkey that's sitting on a bench on the other side of the screen.Every time you hit the monkey, you get 1 point. If you miss, you lose 1 point.When you get to 5 points, a stone wall is placed in the middle. Of course, since you can lose points, the wall will disappear if you go back to 4 points.When you get to 10 points, a brick wall is placed in the middle. You can select the proper angle and shoot above the wall, or choose the right speed and pass through it.I hope you have fun playing, cos I had fun coding it Important notes:There seems to be a problem with the sounds on other computers that I don't have on mine. At the top of the script the sounds that the game will use are loaded using _SoundOpen(). This way, you can use the handles and the speed is perfect. BUT, this only works on MY computer... I have NO idea why. On other computers, sounds play just once. _SoundPlay() seems to close the sounds when returning so they won't play again. If this happens to you, comment the lines that use _SoundOpen() and uncomment the lines below these. This way works alright on fast computers, but it's TERRIBLY slow on not-so-fast ones. (You'll see a note in the code)The images were ALL made by myself on Ms. Paint.The sounds were downloaded from a site FOR FREE. I cannot remember what site, since it was a long time but I'm willing to search again on request.Some Screenshots:Code and needed files:Shoot_Da_Monkee.rar Edited March 30, 2008 by Nahuel Link to comment Share on other sites More sharing options...
monoceres Posted March 31, 2008 Share Posted March 31, 2008 Nice, I'm not very good though only hit the monkey once. I love seing games being made in autoit, because they are often very clever Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
Swift Posted March 31, 2008 Share Posted March 31, 2008 Awesome game dude! Yeah, I suck at the game too, and It doesn't like my resoultion... Link to comment Share on other sites More sharing options...
Nahuel Posted March 31, 2008 Author Share Posted March 31, 2008 @monoceres: Thanks! Figuring out the projectile equation gave me a good headache @R6V2: Yeah, the game should work on any resolution, but it seems to be easier on 800x600. Link to comment Share on other sites More sharing options...
Swift Posted March 31, 2008 Share Posted March 31, 2008 (edited) Aha! Finally beat the game! Yes! Heres a good tip: set the angle to 70 (Always) and then use between 120-142 as the speed! on 768x1200 (I think..) Edited March 31, 2008 by R6V2 Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 31, 2008 Share Posted March 31, 2008 @R6V2: Yeah, the game should work on any resolution, but it seems to be easier on 800x600.Great game!! Works good for me @1600x1200Aha! Finally beat the game! Yes! Heres a good tip: set the angle to 70 (Always) and then use between 120-142 as the speed! on 768x1200 (I think..)So your screen is bigger on it's height than its width?? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
Swift Posted March 31, 2008 Share Posted March 31, 2008 Great game!! Works good for me @1600x1200So your screen is bigger on it's height than its width?? Shhhh! 1200x768 Link to comment Share on other sites More sharing options...
Tomb Posted March 31, 2008 Share Posted March 31, 2008 the green background appearing gave me a bad headache. the last time this happened is when i still played diablo 2 and i tried changing the background color on redvex. other then that, nice game. the monkey becomes very bloody though rest in peace monkey rest in peace. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted March 31, 2008 Share Posted March 31, 2008 Although I understand some Spanish, and know what it says lol but you know some people might not Link to comment Share on other sites More sharing options...
Achilles Posted March 31, 2008 Share Posted March 31, 2008 Although I understand some Spanish, and know what it says lol but you know some people might not There's an English version too... Nice work on the game! Maybe make options for the sound 'cause they're kind of annoying... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Achilles Posted March 31, 2008 Share Posted March 31, 2008 I had always been using a speed of 500 and adjusting the angle... That didn't work very well after the wall showed up... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Swift Posted March 31, 2008 Share Posted March 31, 2008 Like I said, always use 70 angle, and use the speed between 120-142 (Works with the wall anywhere too) Link to comment Share on other sites More sharing options...
Nahuel Posted April 1, 2008 Author Share Posted April 1, 2008 Haha, thanks everyone! @Achilles: I wasn't really planning on making a full application to share... so the options can be changed directly from the script. I'll think about that when I think of new ideas for the game @R6V2: Reached the highest score? I seem to be the only one so far If you want to try out the other levels, change the value of $PuntajeInicial. Use >5 if you want the stone wall and >10 if you want the brick wall. Link to comment Share on other sites More sharing options...
Toady Posted April 1, 2008 Share Posted April 1, 2008 lol cool. www.itoady.com A* (A-star) Searching Algorithm - A.I. Artificial Intelligence bot path finding Link to comment Share on other sites More sharing options...
Swift Posted April 1, 2008 Share Posted April 1, 2008 Yeah, I reached the highest score, took me some effort and trial-n-error, but finally found how, read some of my above posts on a tip to winning the game! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now