danuyos's Forum Posts

  • You do not have permission to view this post

  • If 'sound' = 0 and Car IsPlayingSound, and for each car.....then

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • UID are assigned on creation on the layout (during your design), if you want to pick a random spawn object to place the enemy simply use pick random (your object) and that's all. (and use spawn instead of creat object)

    maybe this can make it more clear

  • every.. choose(3,6)

  • depending on how big your game is, that would be very complicated... basically you have all the questions and answers pulled off of an array, or dictionary, or 3rd party plugins lik rex's CSV, then link the question to the answers to be pulled (like an ID), then another ID to let the program know which is the right answer. I once developed a trivia game with more than 2000 questions , 4 alternatives per question, and the database was huge. (this is for automatic loading of the questions/answers)

    if your game is small you can just code each question and answer 1 by 1, using groups or variables to define which question to show.. or using layers and making them visible/ invisible (1 question per layer)

  • and plus, even if your objects are solids the might overlap, specially if they are moving fast. if they bounce you may not notice, but if they are suposed to stop on collision, you will see sometimes the overlap some pixels, or there is a small gap between the objects

  • on collision is detected whenever it happens, not just when objects collide with their edges.. for example you have an object. then create another one on top.. on collision will trigger. but it won't in the case that they were already overlapping, for example... two objects are overlapping.. and your event goes.. A on collision with B, if A.variable is 1... /// if your A object was overlapping B, no matter when you change the variable, the collision won't trigger since they were overlapping before that

  • I assume you want a camera movement like zelda (gb, snes versions) ... check this..

    just change everything into horizontal instead of vertical

  • do you have more than 3 frames?.. if not, just use choose(0,1).

  • hay otra opción pero tendrías que calcular la posición del sprite en todo momento. elimina lo anterior y crea una variable "xprevia" luego cada 0.001 segundo cambias la variable al valor actual de X. después, si x actual es menor a xprevia, mirrored. si x actual es mayor a xprevia, not mirrored

  • on start of drag set original X position to a variable. then check current x position to that variable. if < then mirror, if > not mirror

  • put the object in a family and in the event check the object and the family, with family behaviors

  • you need to use families to test between same objects

  • Just be sure to include any other object from your original project (keyboard, mouse, arrays, etc) or you will get a lot of errors while pasting your event sheets