oosyrag's Recent Forum Activity

  • You can use a counter variable. This can let you keep track of how long your key has been down for.

    Then use that counter as a condition for an event.

    This is the quick way, but the problem is the random(15,30) will give you a new random number every tick, so basically you will never get to 30. If you want, you can use another variable to store the target time once, and have the condition compare the two variables to run your spawn action instead.

  • Or, if you did want to use a behavior, bullet should be suitable. There is a property you can set for the bullet behavior "Set Angle". If you change that to "No", then the object will not turn while moving.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cool, thanks R0J0! I've used a binary sort of approach before but I never knew what it was called or how to explain it coherently. Now I know

    Here is a link I found from another thread -http://www.saltgames.com/article/awareTiles/

  • I think it's the default (randomized) avatar from gravatar. I don't remember actually making one!

  • The key information is for each direction around each road, does it contain a road or not?

    I would use four boolean instance variables on your road sprite: up, down, left, and right. They will be true or false -if there is a road at that position it will be true, otherwise false. You can use 4 overlap at offset events to check each position, and set the variable.

    Once you have that information for each sprite, you'll need to set the correct animation frame based on the instance variables.

    The most straightforward way would be to have a frame for each variation of the curved road or T-intersection, but I'm sure there can be a way to reduce the frames required by rotating the image and using mirror when appropriate.

  • I am not familiar with photon cloud, sorry.

  • Can you elaborate on 4-directional roads? Are your roads constrained to a grid? How many different types of intersections can you have? Are you using tilemaps or sprites?

    Overlap at offset might be of use. Test each direction for existing roads, and set animation frame with the correct intersection.

    An array storing the data of what is where could also be very useful in a grid based system, or something similar can be done with a tilemap as well.

  • It depends on the image memory available, for example some low end phones might not be able to load it. If you cut it in half it should work fine, and import it as two images

    https://www.scirra.com/blog/112/remembe ... our-memory.

  • Use On collision? Or overlap at offset.

    Or you can change the bounding box of the sprite to be slightly larger than the visible sprite in the image editor.

  • You can adjust the values...

    https://www.dropbox.com/s/olf5wod7tylj4 ... .capx?dl=0

  • Physical keyboards often have a limitation on the amount of certain keys that can or cannot be pressed at the same time.

    http://gaming.stackexchange.com/questio ... on-presses

    https://en.wikipedia.org/wiki/Rollover_(key)

    As for fix... you can test and try for a combination of keys that do work, but there is no guarantee that it will work on another keyboard. As the Wikipedia article mentioned in the game Starcon, there was a system where the game tested for conflicting keys as you configured the controls, but that would be a pain to implement I think...

    You can plug in an extra usb keyboard, that should solve the issue. Or otherwise use separate input types for each player such as mouse or gamepads.

  • The last part of https://www.scirra.com/tutorials/4981/s ... den-player has what you are looking for

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 followers

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies