samid737

Members
  • Content Count

    337
  • Joined

  • Last visited

  • Days Won

    1

samid737 last won the day on April 18 2017

samid737 had the most liked content!

3 Followers

About samid737

  • Rank
    Advanced Member
  • Birthday February 12

Contact Methods

  • Website URL
    https://samid737.github.io/scrambledev/

Profile Information

  • Gender
    Male
  • Location
    The Netherlands

Recent Profile Visitors

2,808 profile views
  1. samid737

    [Plugin] Phaser 3 Plugin Path Builder

    MINOR UPDATE: Read the full details here : v1.7.5 Features Updates Fixed global reference to game object causing errors.
  2. samid737

    Driving car like a GTA-2

    https://codepen.io/Samid737/pen/GdVZeX The physics model is highly simplified and it won't decelerate like in GTA-2, you will need to add in drag to achieve this.
  3. samid737

    What is wrong with Phaser3 performance?

    Before proceeding investigation, you already done the above mentioned?
  4. samid737

    Phaser CE and Pixi Filters

    You can play with the uniforms/properties before calliing update on the filter (inside update) : https://codepen.io/Samid737/pen/VGjjBG?editors=0010
  5. samid737

    Phaser CE and Pixi Filters

    This should help getting started: https://codepen.io/Samid737/pen/VGjjBG It is similar to the filter found here: https://web.ist.utl.pt/ist172700/ccu/save/docs/DisplacementFilter.js.html You will still need to load in a Power of two texture it seems.
  6. samid737

    Risk Like Game Tutorial

    Definitely possible in Phaser. Conceptually though, this example would be a pretty good reference: https://github.com/nullobject/risk Hexagons should be easy to draw using graphics, followed by a texture conversion if you need to. Setting turns is just setting some game state variable after ending your turn: game.turn = (game.turn + 1 ) % num_of_players maps are definitely possible. I think cameras will help you out alot here. Navigating through a map can be done by scrolling. Have a look at the examples: https://labs.phaser.io/view.html?src=src/camera/minimap camera.js https://labs.phaser.io/view.html?src=src/camera/move camera with keys.js https://labs.phaser.io/view.html?src=src/camera/scroll view.js https://labs.phaser.io/view.html?src=src/camera/zoom to.js https://codepen.io/Samid737/pen/zaLydB For UI you can use seperate UI scenes, or you could again use cameras to layer and exclusively render UI stuff. Good luck!
  7. What about Phaser.Actions: https://labs.phaser.io/edit.html?src=src\actions\random circle.js
  8. samid737

    How to limit velocity

    game does not work for me, but you could probably use a collider callback to deal with that. Add an invisible physics body, and call some function that stops the ball on collision: https://labs.phaser.io/edit.html?src=src\physics\arcade\remove collider.js What about the straightforward way ? : if(ball.y < 300){ stopBall() }
  9. samid737

    [Plugin] Phaser 3 Plugin Path Builder

    MINOR UPDATE: Read the full details here : v1.7.0 Features Added snap button to toggle grid snapping. Added toggle button class. Updates Switch to ES6 classes Integrate ES6 plugin API.
  10. samid737

    Cryptovoxels - Virtual world on the blockchain

    @bnolan windows 8, yes it only happens when the crosshair is active after clicking. i can see the menu panel and awsd works.
  11. samid737

    Cryptovoxels - Virtual world on the blockchain

    I seem to have mouse sensitivity problems, tilts and rotates randomly to +-90 degree tilt when trying to center it to the world. Chrome 67.0.3396.87(64-bits).
  12. samid737

    Change cursor on demand

    You could fetch the game canvas and change its CSS cursor property. e.g: game.canvas.style.cursor = "zoom-in" //or this.sys.canvas.style.cursor = "zoom-in"
  13. samid737

    [Plugin] Phaser 3 Plugin Path Builder

    MINOR UPDATE: Read the full details here : v1.6.1 Updates Update to Phaser 3.10.1 Integrate API changes. Added a Menu class (container).
  14. samid737

    Phaser 3 Pop up text And Auto Close

    You could add an extra camera for UI display and tween it to appear and dissapear afterwards by adjusting the ScrollY, but make sure the main camera ignores all objects that are not text, otherwise you will see duplicates of the same text: https://codepen.io/Samid737/pen/jxgqOe you could achieve the same result using A UI scene,. If you only have one UI object (one text message) throughout the entire game, then you could try to tween A single text object. The takeaway is to seperate UI (messages, buttons) display from the game.
  15. samid737

    Issue drawing arc graphics with phaser

    Setting the second last argument to true seems to slice it, but colouring would probably needed to be done manually (subtract or shift colour­čś× https://jsfiddle.net/1ck39fos/4/ https://phaser.io/examples/v2/display/arc-details