Tantan Posted September 26, 2023 Share Posted September 26, 2023 Hi everyone. I thought I could get some feedback on my clone pacman I wrote in pure html5 and Javascript. Here is the link. https://www.icode.com/pacman Let me know what you think? I am thinking of doing a video series on how to write pacman in 5 days for new game developers. 4 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/ Share on other sites More sharing options...
zzip Posted September 26, 2023 Share Posted September 26, 2023 I get "site can't be reached" Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5323864 Share on other sites More sharing options...
Tantan Posted September 26, 2023 Author Share Posted September 26, 2023 3 hours ago, zzip said: I get "site can't be reached" Its a North America site. most countries are blocked for security reasons at icode. Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5323998 Share on other sites More sharing options...
zzip Posted September 26, 2023 Share Posted September 26, 2023 I'm in US Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5323999 Share on other sites More sharing options...
Tantan Posted September 26, 2023 Author Share Posted September 26, 2023 1 minute ago, zzip said: I'm in US yes. site went down this morning. should be back up this evening. entire hosting facility under water Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5324001 Share on other sites More sharing options...
TrekMD Posted September 27, 2023 Share Posted September 27, 2023 I just tried connecting to the page but it is still down. Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5324272 Share on other sites More sharing options...
doctorclu Posted September 28, 2023 Share Posted September 28, 2023 Awesome stuff! Had a good run with it. Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325239 Share on other sites More sharing options...
Tantan Posted September 28, 2023 Author Share Posted September 28, 2023 On 9/26/2023 at 8:50 PM, TrekMD said: I just tried connecting to the page but it is still down. Please try now. It's back online Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325449 Share on other sites More sharing options...
TrekMD Posted September 29, 2023 Share Posted September 29, 2023 I did! It is working and it is quite nice! Well done! Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325536 Share on other sites More sharing options...
+bent_pin Posted September 29, 2023 Share Posted September 29, 2023 Very responsive! Are the controls event driven or do you poll inputs on a fixed schedule? @PacManPlus Have you seen this? 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325632 Share on other sites More sharing options...
OldSchoolRetroGamer Posted September 29, 2023 Share Posted September 29, 2023 Very good but DAMN I suck using arrow keys! 😝 2 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325655 Share on other sites More sharing options...
PacManPlus Posted September 29, 2023 Share Posted September 29, 2023 (edited) 2 hours ago, bent_pin said: Very responsive! Are the controls event driven or do you poll inputs on a fixed schedule? @PacManPlus Have you seen this? Not until now... thank you for the head's up! Nice job - looks and plays great! Edited September 29, 2023 by PacManPlus 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325667 Share on other sites More sharing options...
Tantan Posted September 29, 2023 Author Share Posted September 29, 2023 5 hours ago, OldSchoolRetroGamer said: Very good but DAMN I suck using arrow keys! 😝 in addition to arrow key buttons on the screen, you can use your keyboard or even swipe different directions on your phone or touch screen. I will add gamepad support next week 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325776 Share on other sites More sharing options...
Tantan Posted September 29, 2023 Author Share Posted September 29, 2023 (edited) 7 hours ago, bent_pin said: Very responsive! Are the controls event driven or do you poll inputs on a fixed schedule? @PacManPlus Have you seen this? for Mouse/Touch screen/screen buttons its is event driven input. For keyboard, it polls 60 times per sec. Edited September 29, 2023 by Tantan 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325777 Share on other sites More sharing options...
+bent_pin Posted September 29, 2023 Share Posted September 29, 2023 6 minutes ago, Tantan said: for Mouse/Touch screen/screen buttons its is event driven input. For keyboard, it polls 60 times per sec. I've always felt a miniscule lag on pacman 2600. Yours absolutely does not have that. The kb polling is client-side js? Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5325781 Share on other sites More sharing options...
GoldLeader Posted October 24, 2023 Share Posted October 24, 2023 Amazing! I too suck with keyboards...But Wow! Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5337398 Share on other sites More sharing options...
Tantan Posted October 24, 2023 Author Share Posted October 24, 2023 Thanks. It now supports game controllers and touch screen swipes. Try the coop game mode for simultaneous 2 player pacman and Ms pacman at same time:) 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5337402 Share on other sites More sharing options...
BydoEmpire Posted October 25, 2023 Share Posted October 25, 2023 Looks and plays great, nicely done! 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5337957 Share on other sites More sharing options...
NE146 Posted October 25, 2023 Share Posted October 25, 2023 Looks and plays very nice. Just one observation: If the intent is to match the arcade game as much as possible (I'm not sure if it is), then the controls don't exactly match. e.g. if you let go of the keys and "tap" a perpendicular direction while going down a path, your pacman will automatically take in the next available passage in that tapped direction. In the arcade game if you do the same thing, Pacman will not take the next turn but instead reach the end of the tunnel and simply face the tapped direction.. if that makes any sense. 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5338040 Share on other sites More sharing options...
GoldLeader Posted October 25, 2023 Share Posted October 25, 2023 2 hours ago, NE146 said: Looks and plays very nice. Just one observation: If the intent is to match the arcade game as much as possible (I'm not sure if it is), then the controls don't exactly match. e.g. if you let go of the keys and "tap" a perpendicular direction while going down a path, your pacman will automatically take in the next available passage in that tapped direction. In the arcade game if you do the same thing, Pacman will not take the next turn but instead reach the end of the tunnel and simply face the tapped direction.. if that makes any sense. Some would say you're overthinking it. While I definitely view you as wise beyond your years,...I was imagining what it would be like if any of us got to play this (for free, let's say) back in 1981 or so...I think it would register as somewhere between "Holee Shiiit!" and (spoken with bravado like someone who played a lot of Pac-Man (even though I was a punk who almost never played it)) "It's almost Exactly like the Arcade, Man!" ... Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5338097 Share on other sites More sharing options...
Tantan Posted October 26, 2023 Author Share Posted October 26, 2023 9 hours ago, NE146 said: Looks and plays very nice. Just one observation: If the intent is to match the arcade game as much as possible (I'm not sure if it is), then the controls don't exactly match. e.g. if you let go of the keys and "tap" a perpendicular direction while going down a path, your pacman will automatically take in the next available passage in that tapped direction. In the arcade game if you do the same thing, Pacman will not take the next turn but instead reach the end of the tunnel and simply face the tapped direction.. if that makes any sense. Thanks so much for the feedback! Yes, intent is to match arcade version as much as possible. I will check into the direction control. I sure like that you can let the system know ahead of time of your intent but I will make it an option after I check the arcade version. Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5338298 Share on other sites More sharing options...
NE146 Posted October 26, 2023 Share Posted October 26, 2023 (edited) Yeah np.. I guess just to be clear, as an example: 1) If you start on left side of the very bottom corridor, then push right, pacman will start moving to the right. 2) Then quickly "tap" up (push up for a moment then let go) a) In your version, once he passes the first upward corridor, he will go into it, even though you're not touching the controls. b) In the arcade game pacman will still continue to the right until he reaches the dead end on the bottom right side of the corridor (he then faces upward but remains at a stop) Not too huge a deal at the end of the day 😛 I think it's a great job as it is tbh! IMG_9212.mov IMG_9214.mov Edited October 26, 2023 by NE146 1 Quote Link to comment https://forums.atariage.com/topic/355179-try-my-pacman-clone-i-wrote-in-pure-html5/#findComment-5338360 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.