Search the Community

Showing results for tags 'cards'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 11 results

  1. Hi, I would like to have two cards that when they collide with each other they would rotate in an analog way of the ones you can see in the attached video. This is the first part of the code: var config = { type: Phaser.AUTO, width: 800, height: 600, backgroundColor: '#1b1464', parent: 'phaser-example', physics: { default: "matter", matter: { gravity: { y: 0}, debug: true } }; scene: { preload: preload, create: create } }; var game = new Phaser.Game(config); function preload () { this.load.spritesheet("controllers", "assets/sprites/controllersSheet.png", { frameWidth: 100, frameHeight: 100 }); } var controller = []; function create () { this.matter.world.setBounds(); controller[1] = this.matter.add.sprite( 400, 100, 'controllers', 0, null, { restitution: 0, friction: 1}); controller[2] = this.matter.add.sprite( 400, 400, 'controllers', 1, null, { restitution: 0, friction: 1}); Then I am having some issues because with this next code they move as I'd like, but they don't rotate: controller[1].setInteractive(); controller[2].setInteractive(); this.input.setDraggable(controller[1]); this.input.setDraggable(controller[2]); this.input.on("drag", (pointer, gameObject, x, y) => {gameObject.setPosition(x, y); checkPosition();} ); this.input.on("dragstart", (pointer, gameObject) => { } ); this.input.on("dragend", (pointer, gameObject) => { } ); And with this other next code, they bounce all around and I can't find a way to make them stay fixed. this.matter.add.mouseSpring({ length: 0, stiffness: 0 }); If someone knows how to help me, I would be very thankful. mm.mp4
  2. Hello my name's Peter, I'm a student I'm a beginner i want to learn and build some cards game like blackjack, solitaire i can't show cards and shuffle them. it's hard to make it i have some examples from Phaser2 it's make me can build and understand beginner projects but "Phaser3" i'm very confused, can you get some examples or code for learn ? Thank you for help me
  3. 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:
  4. 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:
  5. I started learning Phaser and would like to present my first game. It is interpretation of well know cards game TriPeaks. You can find the game here: http://gopgames.eu/nepo-tripeaks/ In the classic solitaire games score depends on the time you play, faster you play - better the score. I hate that, I want to play as slowly as I can, so I invented my own scoring system. I also wrote about my experience with Phaser (as I am newbie, it is a bit frustrating) and shared some code which could help others like me: http://neposas.postach.io/post/game-solitaire-tripeaks All feedback, suggestions and ideas are very welcome, because I want to make a better game next time.
  6. Another of my solitaire games series - Spiderette solitaire made with Phaser (great thing). The player can choose from 1 suit, 2 suit and 4 suit(hardest). Finally implemented undo button. I hope you will like my game. Link Screenshots
  7. Find the pairs! is a game I created within 13 days using my engine. The game is about finding pairs of cards. You can buy upgrades to the shop for the cards. Enjoy! http://www.anothergames.com/games/html5/Findthepairs/index
  8. Play online here: http://thecommanderscards.com Uses node, expressjs, mongodb in the backend, and canvas, jquery, soundjs on the front end
  9. Hi, `Pos eso' the game, this is the story: Trini is the most famous flamingo dancer in the world and she has an envious life. Her husband Gregorio is the greatest bullfighter in all the land and their son Damien has a wonderful future. Everyone loves her dancing, but when a seemingly innocuous domestic accident takes Gregorio’s life, a deep depression falls over Trini forcing her to quit the stage. Damien’s behaviour becomes uncontrollably rebellious forcing Trini to call upon doctor after doctor to provide relief. When no answers can be found, there is left only one possible explanation -Damien has been possessed by a dark spirit!! Trini begins a desperate quest to repair her shattered family. This search eventually leads to a defrocked priest called Father Lenin whose own severe spiritual crisis may not bode well for what lays ahead. With no where to turn and all other hopes to save her shattered family exhausted, Trini must place her faith in a man whose faith is… questionable! You can play here in the web: http://posesogame.com/ Or you can try it in the Chrome Web Store https://chrome.google.com/webstore/detail/pos-eso/aeelmkfmekcaooionohgagamcbaljenp Or download from Google Play https://play.google.com/store/apps/details?id=com.wimi5.poseso This is a game we made for promoting an animation film launched last May. It´s a game that uses images from the film. These images are really good stuff, we were really happy to work with this artwork. You can find a full article about the making of the game here: http://wimi5.com/pos-eso-our-first-advergame/ It will be great to have your feedback, thanks.
  10. klesken

    Swapping images

    Hello I'm currently working on a simple memory game. I got it working, but I'm not content with how certain things are done in the code. For example, right now I'm using one sprite for the face up and one sprite for the face down of a card. With visible=false / visible=true. And since these are different sprites which are supposed to be at the same coordinates I have to update 2 things instead of 1. I've also tried using the loadTexture-function. But this removes the old texture and it loads it and reloads it etc, which works for small numbers, but what if I wanted a memory of the size 10000? In a "regular", language this would be as straight-forward as: if(faceUp){ image = face; } else image = back; But, since I'm new to Javascript and Phaser I might be missing something easy. So, is there a function within Phaser which does this, or should I try to look at the sourcecode and "ugly"-program it? Thanks in advance!
  11. An offline blackjack card game for chrome browser user, completely written in HTML5, you can play as a card dealer or as a player. I am consider to take out the background music, if you think that is a good idea too then please do let me know after you have played the game. The link to the game downlaod page. The game is a light weight html5 game so it should very very fast to download it.