Notifications
Clear all

[Closed] CgTalk Maxscript Challenge 019: "Fun and Games"

[b]CgTalk Maxscript Challenge 019: “Fun and Games”

[/b]DESCRIPTION: Write a simple game with maxscript, either in the viewport or in a window.

DEADLINE: 10/06/2008

RULES:

[ul]
[li]Do NOT post your code until the deadline![/li][li]Code from scratch. Try not to use pre-exisitng functions or plugins.[/li][li]Show your script references, if any (eg. Looking at another script to assist you).[/li][li]You are encouraged to ask for help where needed, but try to do it on your own. The maxscript reference is an invaluable resource.[/li][li]Post your final script inside [/li]“`
tags (located on your posting toolbar).
[li]Post all code into THIS thread.[/li][li]Post the max version you coded in, plus any maxscript extensions you used. (Thanks galagast!)[/li][li]Try to finish the challenge in the proscribed time. There is no definite time limit.[/li][/ul]NOTES: Designing and programming games present useful challenges that you will see in day to day scripting. Plus it’s also fun to have something other than a tool running in 3ds Max.

Apologies for the long wait.

28 Replies

Oh i look forward to this! hehe, I think Jim Jagger made Pinball for max.

1 Reply
(@dmc900)
Joined: 11 months ago

Posts: 0

sorry to, double post!
But since I haven’t posted two validated posts, I cannot edit the last post I made!

anyways, I’m wondering if anyone has any links to that “3dmax” pinball game and any other games that you can use(play) in 3d max!

Awesome challenge!

Here’s something I wrote last year, it took a good few hours, but definately under a day I think. Tested on max 8, will probably work in lower versions, no plugins used.

[ul]
[li] Use your mouse to play a variation on the classic arcade game ‘Snake’![/li][li]The aim of the game is to shorten your body by eating power pills.[/li][li]If you accidentally bump a pill with any part of your body except the head, your body gets longer.[/li][li]If you run over your own body, your body gets longer.[/li][/ul]

http://www.keyframesandcode.com/code/development/maxscript/maxsnake/

Lots of things I would like to add, but this’ll do for now

Dave

I’ve been waiting around for another maxscript challenge. This one looks like fun. Am new to game coding techniques so I’ll probably make something real simple.

Dave, I just came across your site early off some google search and played your game. Very cool approach. A little more feedback when you do something right/wrong would be nice, but cool game none the less! Good work.

1 Reply
(@erilaz)
Joined: 11 months ago

Posts: 0

Yeah sorry.

Been really busy of late. Brain space has been small.

Hey Dan,
Thanks! Yup, always room for improvements. I really wanted to have the balls explode when you went through them, maybe with particles, maybe just geometry… but you have to draw the line somewhere! It really is too much fun

I’m designing a car racing game that doubles as an animation tool as it will record your movements. Not having much time to work on it though…

1 Reply
(@dmc900)
Joined: 11 months ago

Posts: 0

When I first checked out this thread about a week after it had posted I though of how awsome the concept of doing this in 3d max is!

I was achually thinking it would be great if someone could create a car rigging piece of max script where you could drive the car in real-time.

and after seeing your post I couldn’t help but register and post here saying how amazing your idea is and how much I really want to see it and the idea of recording your movements is extremely amazing!

I’d love to be able to create a small map, add some opsticals and play it! Jumping over little rams and stuff, that’d be awsome!

If you or anyone else plans to create this please make me aware as I am so hyped up about this! This is something I’d love to play around with

I seriously hope it gets created!

I managed to get the fundamentals of the car game working, could drive the thing forward and turn, the physics weren’t correct, hadn’t got round to controlling the speed propperly or linking turning with speed. But I have written the code before for an actionscript game in Flash.

Early tests suggest that if you were only driving the car on a flat course then you could get some nice realistic handling going and have autokey running and record your movements.

I’m sure someone else has done it before though, I was just seeing if I could do it.

1 Reply
(@dmc900)
Joined: 11 months ago

Posts: 0

I haven’t seen it done before, however I have seen car rigging plugins such as Newplugins Vehicle Studio and the demo was preety good but you cannot control the car in real time and record your movments, it all worked a little like reactor so you cannot see what’s happening until you process everything (which is fairly annoying).

Do you have any working maxscript code, I’ve love to try it out!

I should have my pointless game up next week if I can work out how to dynamically shift parenting in a when construct.:argh:

I’m pretty much done. I’ll wait until the deadline next week to post my code.

A week to go!

Just out of interest, who is actually working on something? I’ve got three different ones in the works right now.

Page 1 / 3