stainsor's Recent Forum Activity

  • Popeye would be ashamed.

  • Music is tough, sound effects are not so tough. Try The Freesound Project.

    ...

    Actually come to think of it, at the Freesound Project homepage they link to ccMixterwhich is a database of CC liscensed music. I guess music is not as hard as I thought.

  • Nice. I like the tree trunks.

    I guess you really feel strongly about this, seeing as how you've posted it twice.

    What do you mean? All the cool kids are doing it.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Very nice. And very concise.

  • Very nice. I like the tree trunks.

  • This is very cool. I added a pause by setting the time scale to zero while the menu is up. Here is mipey's awesome cap with a pause added.

    PS: Setting timescale to zero is a good way to make a pause right?

  • > I'm not entirely sure without seeing the .cap file, but I just did a quick test, and if I add a tiled background/sprite with a solid attribute, I can't pass through them with the Grid behavior.

    >

    That's true, but it appears that only works with keyboard input. If you manually tell the grid object to move spaces, it ignores the Solid attribute

    Hmm, I was just using keyboard input, not manually telling him to move. Here is a cap that demonstrates the grid movement.

    But after playing with the Grid behavior in this .cap, I don't really think it's suited to a Pac-Man style game anyway... Pac-Man can turn on a dime, and Grid movement won't change direction until the object has reached the grid space it's heading for.

    Actually that's what I like about the grid movement. With pacman turning on a dime it takes some skill to turn at the appropriate time. Maybe that's just part of the challenge of the game. But I wanted a smarter pacman that would wait to turn until the appropriate time. It's much harder to turn with the 8-direction movement, even if you set it to only 4 directions. In the cap above try making the turn drawn in the arrow. With the grid movement it's easy to do at full speed. Now try changing the movement to 8-direction. With the 8-direction movement it's difficult to do the turn without slowing down.

    Edit: I forgot to mention that I think with Deadeye's manual input scheme I can do the collision checking that I was talking about and make it all work.

  • I'm making a pacman style game, you can take a look at what I've got so far. I'm having movement problems. The player (grid behavior) moves smoothly but can pass through walls. The enemy (ball behavior) can't pass through walls, but often gets stuck on corners.

    I've also tried bullet behavior for the enemy (which would work if I wanted to make it work) and 8-direction movement for the player. But I think grid movement will produce the smoothest movement with the least chance to get caught on a wall. (This was what I found most annoying about the original pacman and it didn't have the problem nearly as bad as this does when I try using 8-direction movement. Check it out for yourself.)

    So as I said, my real question is how to I restrict my player's movement if he's using grid behavior? I have enough unique background tiles that I can use collision detection to easily determine which directions are passable. The problem is just preventing the character from going in the directions that I know he shouldn't.

    edit: by the way, ALL the artwork is final. hope you like it.

  • You're correct. This fixes the first problem: Your character will no longer continue in the same direction. But the second problem still remains. Try doing something like David did in the cap posted on this thread.

    Now that I think about it if you can fix the second problem you'll probably fix the first problem anyway. So you may not need the code I gave you anyway.

    I'm actually having basically the same problem with a Pacman style game right now. But I'm planning to use either Ball movement or grid movement. I suppose I should post about it in a new thread though.

    edit: Here is the new thread.

  • Maybe we could just get his voice built in to the Text to Speech object

  • my head is spinning

    I'm speechless

  • Okay, I posted a cap of what I meant here. There are some comments in the cap that explain the details.

stainsor's avatar

stainsor

Member since 25 Dec, 2008

None one is following stainsor yet!

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies