If I recall correctly, Mutetus told that he doesn't know how to write code.![]()
That may be, but he really can program like a boss.![]()
It's actually easier to create your own physics logic than it is to rely on the game's physics engine.Originally Posted by IFTHISTHENTHAT
It's predictable that way.
I do have a question though.
In the Stax video, I could only see one of the red blocks.
Is it possible to dynamically create an instance of an object during gameplay, or will every individual piece that is going to be used have to exist beforehand?
any objects have to pre exist if you want to be it involved in the codingOriginally Posted by P4INKiller
there is an emiter that creates new objects but it hasn't alot of functonallity besides a cannon for any object
you can only manipulate the created objects with physics
Yes, there is a total of 20 tiles that each come one by one, arrive at the end of the platform and then go back to wait their next turn, but they can be recolored just before they start moving. They're not needed on rest of the logic since I know they've been caught or dropped. There are always five tiles on the paddle and 25 in the stacks, but they're not visible. When a tile comes to the end of the platform and the paddle is on the same lane, I move the paddle down by one step and make the next tile on the paddle visible and write the color codes on that tile's color vector. At that point I can also trigger a neat jiggle animation on the paddle. When dropping tiles, knowing on which lane the paddle is and how many tiles are already on that stack I can just turn the topmost tile of the stack visible and color it by the color of the topmost tile on the paddle, make it disappear and move the paddle up again a notch. I fill a 5x5 vector with color codes 1-8 according to the colors of the tiles on the stacks. Then I just check if the stacks have three of the same color codes connected, remove them and remove empty spaces from the stacks and rewrite the new color codes in the vector and color values in the color vectors.
Capiche?
I have a question. Is it a glitch that I keep having a remaining block after I make a verticle match? What I did was try and score big by lining rows 1,2,4, and 5, both vertically and horizontal, with just one color, with a second color in row 3 to separate them. I left the top 3 spaces in row 3 for matching junk colors, however, when I matched 3 vertically in this space, it would always leave one remaining. Needless to say it screwed everything up.
Why you do this?
Don't know what you're talking about but sounds like a glitch.
I pulled this maneuver:
http://youtube.com/watch?v=PuL-ZcN1a9A
Except when I did it, I had the top three spaces in row 3 available to get rid of unwanted colors. I stacked 3 blue ones in the space multiple times, but every time it just left me with one remaining blue piece.
That's a glitch. And that's why game testers are important.
I noticed this too. Just pause for half a second before placing the last one. That fixed it for me.
8 days? 0_oOriginally Posted by Mutetus
"Supposedly, he was born in a mental institution. And he sleeps only one hour a night. He's a great man."