shinkan's Forum Posts

  • https://www.scirra.com/forum/capx-yet-another-shadow-caster_p699278?#p699278

    Download R0J0hound example from that link called "mario_record_w_shadows.capx"

  • That's not true. I'm not Pro or business, just have a simple Basic account.

    I honestly don't know why you don't have a Public folder and can't remember if I had one from the start or I have created one myself... Did you install Dropbox app? maybe then folder will be created.

  • Tile id and Tilemap.IID are two completely different things

    If you need to place sprite on every tile with id=15 you need to use For loop

    something like

    +For "x" from 0 to tilemap.width/"cellsize"

    +For "y" from 0 to tilemap.height/"cellsize"

    ++ Tilemap: Tile (loopindex("x"), loopindex("y") = 15 - > System: Create object Sprite at (Tilemap.TileToPositionX(loopindex("x")), Tilemap.TileToPositionY(loopindex("y")))

    Edit: yep, ninjad by nimos100

  • Well, it's not solved, but you can have a nice read about what may causing that

  • Alpha = Transparency = Opacity

    Just change opacity of an object with time. Or simply use Fade behavior.

  • If photoshop is dumb so is the gimp. They are exactly the same in functionality to deliver final product.

    It's not about what software is better, is about how are you using it.

    If you have no knowledge about image painting/editing you will never be able to do good stuff.

    And that's true for 2d, 3d, audio whatever.

    Learn, use, deliver. If you don't learn you will not be able to use any program and you will fail with delivery.

    It's easy saying C2 is shit because it doesn't do what you wanted it to do, but did you even try?

    I'm using CC and C2 for over 5 years now and I'm still learning new thing every single day.

    And you what, spend a month and would like to develop AAA games already?

    Seriously I'm watching a lot of regression in current society, And that's painful.

  • zatyka not sure how would I describe json so I'll give you two links instead

    http://www.jsoneditoronline.org/ - online json editor. There are two windows and by default, one on the left displays "how your text/json file looks like" and one on the right how it is interpreted.

    https://www.scirra.com/forum/viewtopic.php?f=183&t=100042 - Here's a wonderful plugin made by Yann for json files. You don't need to use this plugin in C2 (it's already supporting json data) but it's a great tool to create, modify and manage data structures

    and here's a little comparison

    XML

    <product>
         <id>15</id>
         <name>Widgets</name>
         <description>These widgets are the finest widgets ever made by anyone.</description>
         <options type="color">
              <item>Purple</item>
              <item>Green</item>
              <item>Orange</item>
         </options>
    </product>[/code:2uzghydi]
    
    and json
    [code:2uzghydi]"product" : {
         "id" : 15,
         "name" : "Widgets",
         "description" : "These widgets are the finest widgets ever made by anyone.",
         "options" : [
              {
                   "type" : "color",
                   "items" : [
                        "Purple",
                        "Green",
                        "Orange"
                   ]
              }
           ]
    }[/code:2uzghydi]
    
    I will not say it's better but for me personally is much easier to read, write and manipulate.
    And obviously you can add, remove, loop and do all kind of manipulations at runtime.
  • I don't know what your other events look like so this may not be a best solution.

    But it works anyway.

  • I still believe in this. C2 could really get some better sdk support. We can only wait for modularity i think.

    btw. how's the progress on capx file? Did you tried using json instead of xml, for me it's a bit more clearer to write and read json files then xmls.

  • Good to know.

    Also if you want to get someones attention use befor nick like shinkan because I completely missed your last question.

    But I'm glad you sorted it out yourself.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • On your attached image in event nr 13 move "Set text to "Current Score: " & CScore to" to event nr 10 so it looks like

    +System: Every 1.0 seconds   -> Add 1 to CScore
                                 -> Set text to "Current Score: " & CScore[/code:fp111klu]
    
    it will update text object every 1 second
  • in Event 11 change "HScore" to a variable HScore (without "") - same for "CScore"

  • You should be able to create a Public folder. Only files in Public folder can be shared with others.