rush4hire Posted March 22, 2007 Share Posted March 22, 2007 Here's the other topic. But it says "just a preview".I'm to the point where I should call it done and start moving on.Here's everything!Zip with source and compiled.Homepage. This is a good example of the ProSpeed.dll functions.If I work on this again, here is the TODO list:;make ghost speed seperate from pac-man's;better fruit behavior;better high score system / even online;pac mouth stop when he stops;scene and intermission cinimatics;few wierd graphical bugs with dead ghostsGhost speed is important in pac-man, but in this at least the blue time gets shorter per level. And pac-man always has an advantage cause he can turn corners faster and go through the tunnel faster.Fruit is also an important part of the game.High score is very important. In this example there is one high score at the top which is saved in regs. But I might add a top 10 or top 100 and it would be neat if scores could be listed on the internet like at neave.com and dota-allstars.com I would like to discover how such data like high scores can be sent by a program in an encrypted manner so the user can't hack it and cheat. Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
Uten Posted March 22, 2007 Share Posted March 22, 2007 Congrats on a neat project. I'll probably waste some more time I don't have, later on.. Please keep your sig. small! Use the help file. Search the forum. Then ask unresolved questions :) Script plugin demo, Simple Trace udf, TrayMenuEx udf, IOChatter demo, freebasic multithreaded dll sample, PostMessage, Aspell, Code profiling Link to comment Share on other sites More sharing options...
jpam Posted March 22, 2007 Share Posted March 22, 2007 very well done ! it only stressed my cpu at 99% Link to comment Share on other sites More sharing options...
smashly Posted March 22, 2007 Share Posted March 22, 2007 Thank you and Nice work , I enjoyed your blast from the past , much fun indeed Sometimes a ghost just hides nowhere to be seen , I don't mind this as it just makes it a bit easier for my slow reflexes Cheers Link to comment Share on other sites More sharing options...
jvanegmond Posted March 22, 2007 Share Posted March 22, 2007 I've never had this much fun playing PacMan. I'm getting a lot of errors then though when I set the 'Global Const $NO_SOUND_MODE = True'. github.com/jvanegmond Link to comment Share on other sites More sharing options...
rush4hire Posted March 22, 2007 Author Share Posted March 22, 2007 Thank you for this comment jpam. And nice work on the ProSpeed functions. I played this on my laptop and the exhaust burned my leg. It's the number of sprites that causes lag. After you eat most of the dots the CPU usage goes from 100% to about 50%. It's not the sound cause I shut the sound off ( Global Const $NO_SOUND_MODE = True; at the top ) It's not the eating of the dots cause it's still lagging when I sit still. I would need a customized version of ProSpeed.dll cause it must be polling those dots when it doesn't need to be. I bet it's checking for collision or something. Isn't there a way to turn that off? Are you sure you have all the functions? It's not AutoIt's fault either, It would be just as bad if the game where made in C++ I can't find the source.. ---- ugh! ---- I set all the move speed to 0 ( SetSpriteSpeed($ID, 0, 0) ) and it didn't help. Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
Lakes Posted March 22, 2007 Share Posted March 22, 2007 Great Job on the Game! Yep, unfortunately, more sprites on screen means more CPU time, on my PC it drops to about 50% after eating the first few dots. Still tweaking my version of Breakout, almost there... 2015 - Still no flying cars, instead blankets with sleeves. Link to comment Share on other sites More sharing options...
smashly Posted March 22, 2007 Share Posted March 22, 2007 Sorry for the non constructive comment , but just a look at the lighter side.. Who'd believe ... I can see it now , 3D mark 08 with your PacMan game as a cpu benchmark module Link to comment Share on other sites More sharing options...
Hasher Posted March 22, 2007 Share Posted March 22, 2007 What no one has made a bot yet ;-) Its been about 10 hours since the original post Firefox's secret is the same as Jessica Simpson's: its effortless, glamorous style is the result of — shhh — extensions! Link to comment Share on other sites More sharing options...
rush4hire Posted March 22, 2007 Author Share Posted March 22, 2007 I'm sure ProSpeed would be ok for Breakout or Asteroids. There's a wierd Asteroids game that comes with the examples for Prospeed. Remember to make it big cause the move speed can't be finely adjusted. I have to find another way to create those dots. You can't do anything with the GUICtrlCreat.. functions in AutoIt cause it will flash the screen. Even the score is done with pictures. lol.. Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
jpam Posted March 22, 2007 Share Posted March 22, 2007 you better use the collide func in prospeed for the ghost and pacman and use the SetBackAutoCollision function for the sprites to stay between the graphics linesi think that fix the problemlook at the SetBackAutoCollision demo how to use ithttp://home.wanadoo.nl/jpamvanderouderaa/Prospeed.zipjpam Link to comment Share on other sites More sharing options...
BillLuvsU Posted March 22, 2007 Share Posted March 22, 2007 Maybe instead of creating sprites for the dots with the dll just make em' yourself with a GUICtrlCreatePic and just make the program think its a prosepeed (add it manually to any variables etc. Than again, I havn't used the prospeed dll myself so I wouldn't know if this is possible. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
rush4hire Posted March 23, 2007 Author Share Posted March 23, 2007 (edited) you better use the collide func in prospeed for the ghost and pacman and use the SetBackAutoCollision function for the sprites to stay between the graphics linesi think that fix the problemlook at the SetBackAutoCollision demo how to use ithttp://home.wanadoo.nl/jpamvanderouderaa/Prospeed.zipjpamI don't think it will work. They are not moving with MoveSprite, but SetSpritePos. Because the movement speed can't be adjusted very accuratly.I already made this whole script with just graphic functions, no prospeed. But it was flashy and laggy.They just go till they come to a turning point and they decide which way they want to turn.If they are dead they want to go home.If there's only one move they go that way, cause they can't go back.If they are chasing pac-man they try to go his direction but if that won't work they turn the way that would bring them closer to pac-man.Maybe instead of creating sprites for the dots with the dll just make em' yourself with a GUICtrlCreatePic and just make the program think its a prosepeed (add it manually to any variables etc. Than again, I havn't used the prospeed dll myself so I wouldn't know if this is possible.Can't have any controls here or it will be flashy. Even the score is a bunch of sprites.I tried the LoadImage function and if you use Onscreen($ID, $x, $y) it will copy the little pics, but when the ghosts travel over them they are erased.I even tried CreateBlack($w, $h, $x, $y) to cover the dots, but again the ghosts erase the black. Edited March 23, 2007 by rush4hire Decompilable game code manager for Dark Deeds 6 for Warcraft IIIA web broadcast TiVo like thing.. (this example is for 3abn.org)Finally.. AutoIt Pac-Man Digital Hymn Player Link to comment Share on other sites More sharing options...
Cyber Posted March 23, 2007 Share Posted March 23, 2007 Very very FANTASTIC!!!! Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key Link to comment Share on other sites More sharing options...
UberPwnzr Posted March 27, 2007 Share Posted March 27, 2007 Awesome!!! Link to comment Share on other sites More sharing options...
gseller Posted March 31, 2007 Share Posted March 31, 2007 AWESOME! Works Great! Link to comment Share on other sites More sharing options...
abaddon21 Posted April 3, 2007 Share Posted April 3, 2007 Loved the Game... It has proven to be an excellet diversion from doing any real work...lol Thanks 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