oosyrag's Recent Forum Activity

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • 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".

  • What have you tried?

    You're going to need to use the load stylesheet action through the browser object to get at psuedo elements, you can't just use the set css style action for a specific object.

  • It's called a scroll bar.

    w3schools.com/howto/howto_css_custom_scrollbar.asp

  • Usually you loop through a given path in json to find what you're looking for. Then when it matches, you use that path to look up the rest of the keys you're interested in at that path.

    The most efficient way to me is to organize it so that order doesn't matter. You can have all sorts of different json files, and they can all be loaded into memory/parsed at the start of the game, so that you have access to all the data given you know the path or key/attribute you're looking for. Just imagine if all the files were "included" into your project as one file.

    I normally don't have the game modify json files, only json that is loaded into memory. Considering all the files are loaded into memory and the file that they came from is not relevant, then they don't really need to talk to each other. If you need to write back to the json file, then write whatever is relevant.

  • While I'm at it, here's how I would do it

  • Ok sorry, looks like you didn't need UID. You can pick by the instance variable as you originally intended -

    But here's how to use UID anyway if you were to do it that way.

  • The "Pick by unique id" goes in the function, so that the function actions only apply to that instance of the object. You don't need a separate instance variable for it and you don't need to set the uid.

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