oosyrag's Forum Posts

  • You do not have permission to view this post

  • Set layout scale based on distance from the camera object location to the farthest player.

  • You do not have permission to view this post

  • I think this issue isn't exactly split screen.

    Just have a zoomed state on the tv, in which your controls switch over to the tv and zoom in (layerscale, scroll to).

  • I don't think many people actually draw in the animation editor?

    It resizes to the size of the image you import.

  • Are you running an event on the text every tick? The text object is expensive to update, so only make changes as necessary.

  • Request a project file with AJAX plugin.

    Ajax 'On completed' condition (or 'wait for previous action to complete' action), dictionary load ajax.lastdata.

  • Function:

    TileAtOffset(x0,y0,dx,dy)

    Return Tilemap.tileat(tilemap.positiontotilex(x0)+dx,tilemap.positiontotiley(y0)+dy)

    Where x0 and y0 are your original coordinates in pixels (mouse.x,y or player.x,y) and dx and dy is the offset in tile index, which can be any integer -1, 0, 1, 2, ect.

  • tilemap.tileat(positiontotilex(player.x),position.tiley(player.y)) will get you the tile id at the player's current position.

    If you change that to positiontotilex(player.x)+1 or -1, that will get you right and left, while positiontotileY(player.y)+1 and -1 get you below and above (I think? if tiles increment right and down).

    Check the tile contents on key pressed, before moving. If it's a valid move, then move, otherwise, do whatever else.

  • Google is a lot more complicated than just reading the tags inside your page. Content and user behavior during a user's stay on a website are tracked too. It doesn't matter if it's one page or multiple pages, the important thing is that the crawlers can read the contents and links of your page, which they can't, so it's not just a matter of each layout on it's own page. You want text to be text in html, and not text like games to be embedded.

    If you're not familiar with html and css and are set on working this way, then do with what you've got. On the other hand, having a fully working mockup would make it very very very easy and quick for a web designer to put together the actual thing for you.

    As a compromise, I believe the contents of form elements and the html element in Construct WOULD be accessible to Google, so that could be an option.

  • Basically... don't do this. That's not to say you can't, but Construct is not known to be great at UI, while HTML and CSS are made for it. If you want a specific bit of interactivity inside your page, embed the C3 project for that part only.

  • The expression tilemap.tileat(tilemap.positiontotilex(mouse.x),tilemap.positiontotiley(mouse.y)) will return the tile number at the mouse position.

    This information can be found in the manual.

    construct.net/en/make-games/manuals/construct-3/plugin-reference/tilemap

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Use the timer behavior. Only allow shooting if the cooldown timer is not running. Start timer when firing.

  • Is the correct event sheet assigned in your layout properties?

  • Here's an example - dropbox.com/scl/fi/jco9wf5tpcok7vmgx9adt/csssliderbarexample.c3p

    Note that most of the elements use "background" to set the color, rather than "color".