Bantumi coders!

Um… no problem but, can you tell me why?

Im always willing to learn.

Well for some reason the first well would load only 1 seed and nothing more :-\ Plus I was a bit confused by some parts of the code.

Here’s my version, tell me what you think:

:slight_smile: Well, here’s where the challenge begins.

Btw, POM… that looks awesome!.. I’m looking at it to see if I understand. I’d like to understand more about the depth and seeddepth, and how you loaded the seeds into the wells. Can you explain?

Also (for anyone), I’d like to understand where I was failing with it. That is merely so I can learn a better way (which is one of the goals of the project anyway :slight_smile: )

as we improve the code, we want to show animation of a seed moving into a cup, it helps to see where the seeds are going, especially for beginning players. Let me know what you think

That’s very cool POM :beam:

I’m sorry I haven’t been following lately, school and work are taking up my time :-\

I’m still in though, should have some free time this week :slight_smile:

I like the way he organized the AS in different layers. That is excellent. I also like the way you combined some of the functions, therefore streamlining code. I still would love to run over the code to “hear” the thought process. Too bad you’re in France, or I’d get in my car and drive over, buy some pizza and we could let the propellers fly.

Haha! That sounds nice :stuck_out_tongue:

The main difference with the previous file is that the seeds are attached in their own layer, so that they’re easier to move around. There’s also a moveSeed function, I think it’s a member of the Well class, that uses the nextWell property of the current well. It pops out an element of the seed array, and sends it to the nextWell, then takes the next seed and sends it to the nextWell of the nextWell and so on and so forth.

I guess that the next step would be to animate the path of the seeds, then detect whose turn it is :slight_smile:

As for why your version didn’t work, as I told you, I have no idea. The first seed of the first well would be attached correctly, and then the remaining 3 seeds would just load at (0,0) :-\

*Originally posted by Iammontoya *
**Too bad you’re in France, or I’d get in my car and drive over, buy some pizza and we could let the propellers fly. **

lol!

it’s only 3 cents a minute to France with 10-10-987 …

Rev

Anybody still working on this?

Update, in case you guys are interested. Turns are now handled (sort of…)

Im still on it… I will just be going slow for the next week. I’ll be at the MAX conference.

I had some free time today so I made a few changes :slight_smile:
[list][]There’s now a ‘Player’ class
[
]The seeds move to the wells
[*]I’ve programmed a very basic AI, which doesn’t handle the steals yet, but it can play :beam:[/list]The code is a real mess, I’ll try to clean it some day…

Mmmhh, I can’t upload .as files :jail: Is it possible for you to add them, K?

Here’s the swf :slight_smile: There are still a few bugs… OK, a lot :frowning:

http://membres.lycos.fr/museebranly/bantumi.swf

hey pom, a suggestion if I may:
If you kick up the FPS a notch, the animation would look smoother.

Also, upload the .as files as txts and we’ll just rename them back to .as

In the meantime, i’ll look for a sound to associate with the moving of the seeds.

[size=1]Also, is it possible to work on another type of animation? :beam: Instead of all the seeds going to the wells at the same time, I was thinking of moving the seeds in succession so it seems like the actual game.[/size]

*Originally posted by thoriphes *
**[size=1]Also, is it possible to work on another type of animation? :beam: Instead of all the seeds going to the wells at the same time, I was thinking of moving the seeds in succession so it seems like the actual game.[/size] **
I wanted to but I had a VERY hard time modifying the game to get those lazy seeds to move. But yes, it’s on the to-do list :slight_smile: Thanks for the feedback!

I can help with the animation if you want. :slight_smile:

Help yourself :slight_smile:

http://membres.lycos.fr/museebranly/flash/player.as
http://membres.lycos.fr/museebranly/flash/well.as
http://membres.lycos.fr/museebranly/flash/game.as
http://membres.lycos.fr/museebranly/flash/seed.as

http://membres.lycos.fr/museebranly/bantumi2.swf :slight_smile: