Notifications
Clear all

[Closed] 3Ds Snake

Inspired by Jason’s 3Ds Tetris and Maxscript Challenge 019, I decided to take a shot at creating a Maxscript game too. It’s my version of Snake, well known because of it’s implementation on older Nokia phones.

Just run the script to play the game (a new game deletes all scene objects so start a new scene).

– Thanks to MagicM for fixing some bugs.

5 Replies

Yes!! Fun game. My snake skills must be past my glory days since I crashed into a wall pretty fast.

Right now I’m trying Pacman. I got a map being built based off a text file with x and o’s, and Pacman is able to move around the map picking up his pellets. The ghosts should be a challenge.

Anyways, great stuff! Hope more will script another classic game, then soon they’ll all be available in Max!

Well the problem with snake, like your tetris game, is the lack of keyboard support. It’s pretty hard to play snake by clicking the buttons.

As for pacman: good luck The basics are the same as snake, with more collision detection for the walls, isn’t it?

For sure, using an interface for controls makes the gameplay a lot tougher, especially on higher levels where I know I shouldn’t have a problem. At one point I think I had an idea using a dotNet control, but I didn’t try it out.

I guess you could say some of the same concepts would apply from Snake to Pacman! I think the main difference between the collision detection with the walls is that with snake when you hit a wall, it just ends the game. With Pacman, he would have to hit it, and continue the game without anything funky going on :P. AI would have to be implemented for the ghosts too. Apperently each ghosts have their own ‘personalities’ (algorithms, Blinky being the a!!#*%@ of the group), so it would be really cool to get that working. So far everything is going nice and dandy, I’m going to take a shot at the ghosts tonight.

FYI the ghost’s paths in pacman were hardcoded. So in that respect their AI should be pretty easy.

Why You don’t use
Shift (keyboard.shiftPressed ) and
Control (keyboard.controlPressed ) buttons in Snakes?
Shift to turn left, Control to turn right.

By the way, using only these two buttons You
guys together already can create something like 3DS ExWilla. :drool:
And I think You will need to use dotNet A LOT.