blinkok

Members
  • Content Count

    8
  • Joined

  • Last visited

About blinkok

  • Rank
    Newbie

Contact Methods

  • Twitter
    @blinkok

Recent Profile Visitors

526 profile views
  1. thanks. sound like it's exactly what i want
  2. i would specifically like to scale/rotate/move it and use toGlobal/toLocal to translate the co-ordinates
  3. thanks for the video but unfortunately i don't understand french ( i will investigate it further though) sorry to be such a pest. i am trying this with the simplest code here; http://phaser.io/examples/v2/create/generate-sprite i get the following error (but the app still works); Error 1 Property 'create' does not exist on type 'Game'. for the following line game.create.texture('phaserDude', dudeData, 4, 4, 0);my questions are; where is this definition (create)? how do i know if i should ignore this error?
  4. ok trying the "rat attack" game. i paste the code and run it. the game works but i am left with quite a few compile errors; Error 1 Property 'create' does not exist on type 'Game'. C:\Users\tony\documents\visual studio 2013\Projects\move an image\move an image\app.ts 16 10 move an imageError 2 Property 'create' does not exist on type 'Game'. C:\Users\tony\documents\visual studio 2013\Projects\move an image\move an image\app.ts 32 10 move an imageError 3 Property 'create' does not exist on type 'Game'. C:\Users\tony\documents\visual studio 2013\Projects\move an image\move an image\app.ts 53 10 move an imageError 4 Cannot find name 'rats'. C:\Users\tony\documents\visual studio 2013\Projects\move an image\move an image\app.ts 61 5 move an imageError 5 Supplied parameters do not match any signature of call target. C:\Users\tony\documents\visual studio 2013\Projects\move an image\move an image\app.ts 61 12 move an imageError 6 Cannot find name 'rats'. C:\Users\tony\documents\visual studio 2013\Projects\move an image\move an image\app.ts 66 19 move an imageError 7 Cannot find name 'player'. C:\Users\tony\documents\visual studio 2013\Projects\move an image\move an image\app.ts 71 5 move an image*** Many more errors **why is it so?
  5. ok it's the parsing of the json file. i get this error; JSON.parse: unexpected character at line 1 column 1 of the JSON data"
  6. i do believe both of these things are correct. i am running WAMPSERVER and as you can see it finds the starfield.jpg file which is in the same place as the other assets. do you think it has to do with the fact that the other sprites are in a .json sprite atlas? i am using the code from this example http://phaser.io/examples/v2/games/breakout
  7. ok. i need to create a project for each example. no worries. i downloaded the breakout example and copied the code into studio, copied the assets into my base directory and built the project. it built no worries but it seems to be having issues with some sprites (it uses a .json sprite atlas). i run it and get this (just the starfield first but this after i refresh). FIREFOX browser btw. is this because the sample is js and not typescript? if so are there any complete game examples in typescript?
  8. I have installed VS 2013 and downloaded and unzipped phaser. I am currently trying to go throught the phaser typescript examples. how do i make VS 2013 point to the phaser directory so the examples can reference the phaser framework? hope this makes sense thanks in advance