shinkan's Recent Forum Activity

  • And how will I create more than one Episode key without overwrite it

    You probably always start on episode one. So you can make a counter to keep count of episodes (1,2,3,4...) - this can be a dictionary key as well.

    Then on start of each new episode you can add a new key: Add key "Episode" & counter - in this case value of the key is not important, You only need a key to exist.

    and then if you finish last level of current episode simply add 1 to counter.

    This will make a new key every time you start new episode automatically - "Episode1" key, "Episode2" key etc.

    If you want later to check if current episode was started/finished or whatever you can simply use

    Dictionary: Has key "Episode1" -> do your events.

  • No, and thats the beauty of Dictionary object. You can simply do:

    Dictionary: Add key "your_key_name" with value "your_key_value"

    any time you want. If key with that name do not exist, new key will be created. If key with that name already exist value will be overwritten.

    So you can do stuff like this:

    On left mouse click -> Dictionary: Add key "click count" with value Dictionary.Get("click count")+1

    On first click it will create a new key "click count" with value 1

    on second click it will set key "click count" to 2

    on third "click count" will set it to 3 etc.

    Think of it as a global variables that can be added/set/removed on runtime any time you want

    Oh and key values can be anything. Integers (1, 2, 34, 56..), floats (1.2, 44.34, 4.666...) or strings ("aaa", "bb bb"...)

    EDIT: But if you want you can make a text file with all your keys and values already typed in and then use AJAX to load that file into a Dictionary object. This way you starts your game will all necessary data you need for your game!

  • Instead of Webstorage use Dictionary for example and then use Webstorage only for saving loading the game.

    I'll make my example on dictionary object.

    Make a Dictionary key for episodes and one for levels.

    Something like:

    "Episodes" : 1

    "Levels": 1

    and for each new episode/level simply add a new key. For example if you start level 2 of episode 1 - add a key "1Level2" with a value = to score.

    then you could do something like that

    on start of layout

    Is animation "Level" & Dictionary.Get("Levels") -> Set score to Dictionary.Get(Dictionary.Get("Episodes") & "Level" & Dictionary.Get("Levels"))

    If your current episode is 4 and level is 3 then the last one will set score to key named "4Level3" - which holds a value of your score.

  • No big updates. Personally I think since 200 is a regular update. The team should roll out some last features in January/Febuary. Hire some one to maintain C2, and then start working on C3. The last big bottle necks for C2 to be fully robust is the core 3rd party IDE that C2 uses. The IDE lacks the ability for some major features

    dynamic plugin loading

    Developer IDE tools

    Modularity

    IDE access Scirra store

    anyways that's my opinion.

    and I will give you big +1 for this.

    also I would loved to see "components" in layout editor. You could set multiple objects size, position etc, pin them together and all sort of stuff. So in event you simply say "move component to x=100" and everything in that component will behave respectively - without a need for making few dozens of events just to place, compare, test and pin objects together - this is not fun at all

  • I'm not interested in any of platform games and don't remember when last time I used official sine behavior. Besides that all of my projects and projects I've been working on works quite fine on crosswalk.

  • Using anything but CocconJS makes HTML5 worse than Flash.

    How much did they paid you to wrote that kind of things?

  • Yesterday this alert disappeared after some time but today it's back again.

  • Crosswalk was used for the build

    Excluding all official pluigins, just the Paster as a third party one. From official ones probably AdmobAds is the one to cause some issue. Don't think array, browser, sprite, audio etc have something to do with it.

  • I have a game on google play since 29th Oct 2014 and today this alert shows up in my developer console

    Security alert

    Your app is statically linking against a version of OpenSSL that has multiple security vulnerabilities. You should update OpenSSL as soon as possible.

    The vulnerabilities were addressed in OpenSSL versions beginning with 1.0.1h, 1.0.0m and 0.9.8za. To confirm your OpenSSL version, you can do a grep via ("$ unzip -p YourApp.apk | strings | grep "OpenSSL""). For more information about the vulnerability, please consult http://www.openssl.org/news/secadv_20140605.txt.

    To confirm that you've upgraded correctly, upload the updated version to the Developer Console and check back after five hours.

    Please note: While it's unclear whether these specific issues affect your application, applications with vulnerabilities that expose users to risk of compromise may be considered "dangerous products" and subject to removal from Google Play.

    Can someone please explain me what's this all about?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tokinsom ,

    I am pretty sure the topic that had the discussion about the Sprite object having tilling options and that perhaps it should replace the TB object had a lot of attention. I can't find it though, so I can't confirm how many pages long it was

    It's petty that we haven't had a word about this subject since then.

    Here it is

    https://www.scirra.com/forum/viewtopic.php?f=146&t=113065&hilit=+tiled

shinkan's avatar

shinkan

Early Adopter

Member since 21 Nov, 2008

Twitter
shinkan has 8 followers

Connect with shinkan

Trophy Case

  • 16-Year Club
  • x5
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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

25/44
How to earn trophies