NePo

Members
  • Content Count

    17
  • Joined

  • Last visited

1 Follower

About NePo

  • Rank
    Member

Contact Methods

  • Website URL
    http://www.nepo.lt
  • Twitter
    neposas

Profile Information

  • Gender
    Male
  • Location
    Lietuva

Recent Profile Visitors

855 profile views
  1. NePo

    FaMobi help

    You link to the screenshot of the game start window and ask for help? Did you check console (press F12 in chrome) for javascript errors? Most like some library does not load.
  2. The hardest part of buying domain is to think of good name I don't think that wordpress or squarespace is the best option to go. You should just get domain and some cheap hosting plan. You can take some pretty template and throw your game links in it.
  3. What is your dream result? Game for Android, iPhone, PC, Console, Web.... anything else? Depending on the platform you choose you have to learn different languages. Do you want to make 2D or 3D game? Do you want to make single player, multiplayer, MMO... ? We can go on... There are many questions which must be answered before we can guide you.
  4. Did you solve the problem? As I understand the starting position is 0 0, but when you rotate something starting position rotates also. So the corner which was 0 0 has other value and you need to account for the rotation you have done.
  5. I would love to discuss game development too. Do you have something like skype chat?
  6. WoW! Super, thank you very much.
  7. Thank you for your answer. 1. Maybe I don't understand something, but rotate works only with points, not with sprites http://phaser.io/examples/v2/geometry/rotate-point#gv 2. I made figures children of my board. Code from my game: for(j=yy;j<yy+3;j++){ for(i=xx;i<xx+3;i++){ if(plaza[j][i]>0){ figures[plaza[j][i]]['sprite'].visible=false; figures[plaza[j][i]]['child']=pavement[id]['sprite'].addChild(game.add.sprite(sizeS/2*(i-xx-1)-placeFig/2*(i-xx)+placeFig/2, sizeS/2*(j-yy-1)-placeFig/2*(j-yy)+placeFig/2, 'keeper')); figures[plaza[j][i]]['child'].anchor.setTo(0.5, 0.5); game.add.tween(figures[plaza[j][i]]['child']).to( { angle: -90 }, 500, Phaser.Easing.Linear.None, true); } } } tween = game.add.tween(pavement[id]['sprite']).to( { angle: 90 }, 500, Phaser.Easing.Linear.None, true);
  8. I have a board. For simplicity lets say I have one, but I can have a lot. Player click on the board, board rotates. Rotation is always 90 degrees. I attached image. First is starting position. Second is after two click. How I could achieve this? I want to turn all board including all figures, but at the same time I want figures to point correctly. I want to make pretty animation. At first I though to add everything to the group. But group does not have anchor, so turning around gets really awkward. Any suggestions are welcome.
  9. Thank you. Graphics is the hardest part for me
  10. If i had to do something similar instead of writing the whole code myself I would try to use some library for ajax request. You just call something like $.ajax with parameters you want and to get response. Jquery might be the most popular for such kind of things but it is quite big there should be smaller libraries that could do the same.
  11. NePo

    Cards game

    I do not know why I called my new game Love Solitaire, because it has nothing to do with love or solitaire. You have you get rid of your cards faster than your opponent. If the arrow is up, you have to place higher card, if the arrow is down, you have to place lower card. Diamonds change the direction of the card. You can find game here: http://gopgames.eu/nepo-love/ Detailed analysis of this game can be found here: http://neposas.postach.io/post/game-love-solitaire And my previous game can be found here:
  12. I would like to present my second card game. It is a remake of one of the solitaire card games. You can find the game here: http://gopgames.eu/forty-thieves/ I also wrote about my experience learning Phaser and making this game: http://neposas.postach.io/post/game-forty-thieves PS. Information about my first game can be found here:
  13. NePo

    Rotation bug?

    Thank you very much for writing a code sample
  14. NePo

    Rotation bug?

    I am sorry, originally when I posted the code I forgot to add plus as in your example. I was editing code many times so I posted both code samples wrong (Now I fixed them). Yes, I do add or detract 90 on each click but both code samples react differently. Its seems that the angle is 0 and 180, not -180. Thank you for your answer.
  15. NePo

    Rotation bug?

    I have a square, I rotate it onClick 90 degrees. Code: pavement[id]['angle']+=90; if(pavement[id]['angle']==360) pavement[id]['angle']=0; game.add.tween(pavement[id]['sprite']).to( { angle: pavement[id]['angle'] }, 500, Phaser.Easing.Linear.None, true); On 270 it spins like crazy, but if I rotate in different angle everything is okay. Code: pavement[id]['angle']-=90; if(pavement[id]['angle']==-360) pavement[id]['angle']=0; game.add.tween(pavement[id]['sprite']).to( { angle: pavement[id]['angle'] }, 500, Phaser.Easing.Linear.None, true); Any suggestions/comments?