brunopalermo's Recent Forum Activity

  • The problem is the platform behavior is not super precise. Some deviantion may happen. In this example, you sometimes get the character a little off to the left or rigt. I wasn't able to isolate a reason for that, though.

    See Example

    Use A to jump left and D to jump right

  • It's hard to answer without any other information, but if you're using the platform behavior you'll just use a simulate control actions for jumping when each of those buttons are pressed. And another for moving left or right when the character is not on ground.

  • Hey GianniB!

    I'm not sure I get what you're trying to do exactly. I can see in your code that every time the layout starts you stop all sounds and restart the background music. But I'm not sure what is your goal. Could you elaborate?

    Cheers!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey johnken!

    There are many ways of doing that, but if you must use bullet behavior you'll have to put "decision points" at each intersection. These points would be invisible objects that trigger a "path decision" when the bullet (Enemy) overlaps it. It's not the best way to make a Pac-Man game and definitely would not allow for the complex AI the game originaly had, but would do for a simpler game.

    Hope this helps...

    Cheers!

    Hay muchas formas de hacerlo, pero si necesitás usar el bullet behavior, tendrás que poner "puntos de decisión" en cada intersección. Estos puntos serian objetos invisibles que dispararían una "decisión de camino" cuando el bullet (Enemigo) pasara por ellos. No es la mejor manera de hacer un juego de Pac-Man y no te vá a permitir usar la IA compleja que el juego original tenía, pero alcanza para un juego mas sencillo.

    Espero que ayude...

    Saludos!

  • Hey Jonsoen!

    It's pretty hard to answer that without seeing your code. How are you sending the data? If you're using php/MySQL, maybe it's a problem on the php code.

    Share more info and people would certainly help you out.

    Cheers!

  • Hey Grimmy!

    The problem is probably on the other condition (On Main_JSON_Data exists). When you comment the first one it doesn't happen, so the error goes away. Could you share the whole thing? Maybe a print would do.

    Cheers!

  • I didn't know we could detect particle collision... Nice to know! Thanks dop2000!!

  • If the projectiles must behave as bullets, I would suggest you use the bullet behavior and several projectiles at once. If they're just eye candy, a particle object would do...

    Here's an example using bullet behavior.

  • Hey desriix!

    I was away for a while, since it was Carnival here in Brazil.

    A permutation table is a randomly ordered list of values with one ocurrence of each value only. For instance, a permutation table with 6 values could look like [1,3,0,5,2,4]. So, if you get the permutation table values in order (1, then 3, then 0...) and use them as indexes for your questions array, you would be actually getting all questions in the array without repetition, in a random order. Is it clear?

    Check this example and let me know if you have any doubts.

    Cheers!

  • brunopalermo Actually, with multidimensional arrays in Construct array.at(X) is equivalent to array.at(X,0) or array.at(X,0,0)

    Hmmm... Didn't know that! Thanks for the info.

  • You do not have permission to view this post

  • You do not have permission to view this post

brunopalermo's avatar

brunopalermo

Member since 7 Jun, 2013

Twitter
brunopalermo has 6 followers

Connect with brunopalermo

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies