Grimmy's Forum Posts

  • I understand this, but I would like to know best practices of making the data as safe a possible.

    I still lock my house door when I go out, even though a burglar could easily break in through the window..all fences can be climbed etc etc..

  • Hi, I want my game variables to be safe so that people can't 'easily' change them to make the game easier etc as I'm hoping to offer 'real' prizes in a WebGL game.

    I know that there is always the possibility of ******** hackers getting in somehow. However, I wanted to know if the project files such as JSON Arrays and Dictionarys are very easy to see for the end user if the game is uploaded to a website or will the user require more than just opening the file.

    I considered putting these vars on my backend but i figure that at some point the game needs to read them from the downloaded Ajax request anyway so isn't it just as easy for a hacker to modify them 'after' they have been downloaded from the server anyway?

    What are the options and peoples thoughts here?

    Thanks

  • Found it. You need to right click files and then add a new dictionary.

    I thought that when I added a dictionary object that the dictionary 'file' would be created automatically, but it seems they are two different things altogether.

    EDIT: Thanks BlackHornet, I replied just as I got your answer. All sorted now!

  • Hi I read that I can access the dictionary editor in the Project window but I'm seeing nothing. Additionally there is nothing obvious in the dictionary object's properties. There doesn't seem to be anywhere to put my key/value pairs. See image..

    How do I find the dictionary editor? Am I going mad?

    Version 94.2 stable Windows 10

    Note: I have the 'personal plan' subscription which should include the dictionary editor.

    Cheers

  • Great. Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks, but presumably this would not effect the tooltip option that C3 has for its own object>properties/tooltip. What you describe just sounds like I'd need to create my own popup code. Is that correct?

  • Hi I have a few issues and concerns. See below.:

    (Version 94.2 Stable) Windows 10

    -I set my default save location to 'Download a copy' but it still saves to dropbox when I hit save. I dont want to save/load to dropbox anymore because my internet is too slow and I want to open my projects instantly.

    -Is there a way to set the download folder to be something different from the normal browser download folder? I'd like my project to be in its own CC3 projects directory somewhere rather than stuffed in a folder folder full of other downloaded garbage which gets regularly deleted.

    -Using 3rd party plugins seems very dangerous. For example, for some reason when I booted C3 and attempted to load a project it said a plugin had not been installed so I could no longer open the project. Luckily I know where to find the plugin but lets just say the author of the plugin deletes it, or maybe I just cant find where I downloaded it from 6 months ago....I'm doomed! I'm wondering why the plugin was deleted in the first place. Because of deleting browser history maybe? Why cant I open a project without the plugin? Cant all references to the plugin just be ignored? At least this way I could continue work.

    Cheers

  • Is it possible at all, or do I need to write my own tooltip system?

  • I think I'm switching to sprites mixed with text

  • ..and how do I prevent this?

    My button object is a regular button with a Set CSS Style event at layout start. This all looks fine but when I click the button it gets a square border around it. This is obviously very visible on a rounded button.

    I have no 'on Click' events.

    See image ..

  • In the end it looks like this is forgotten or lost knowledge, so I used the Set Style action for each property.

    However, to speed things up I basically made families for each button type so that I needed to make less changes.

    I'd still like to know how to do it with a style sheet though...

    Suggestion to Devs If style sheets are a problem, maybe in the 'set style' action there should be just an option to paste in a complete chunk of CSS. That way we don't need to have an action for each property. It's pretty monotonous work..

  • I read the article for construct 2 at https://www.scirra.com/tutorials/1283/css-your-buttons-and-textboxes and downloaded the example which uses a trick using 'Set Web Font' to load a style directly into a button.

    However, its seems that Construct 3 has no Set Web Font command anywhere.

    SO, how can I do it. Adding each line of CSS action by action is WAAAY to slow, especially as I already have my CSS defined in a file.

    Please help!

  • So this explains how I can type each property by hand (one by one) into an action, but how about if I want my button to use info from a previously created style.css file that I have?

    I've set up my ID in the button properties, I have my style.css in my Files folder in Construct 3 but when I run the game nothing gets changed. I'm not surprised though because I don't know where/how to tell the button to use the attached style sheet. Anyone know?

  • Hmm, not sure this will work because I'm receiving my data directly from an AJAX request. It looks like s you are defining your JSON within the app itself. I cant figure this one out. (?)