
beuleal
Members-
Posts
65 -
Joined
-
Last visited
beuleal's Achievements
-
jdnichollsc reacted to a post in a topic: Phaser Slider UI component (just released)
-
You are changing the direction for just one frame, not for all. You should create a flag, that handle the sprite direction.
-
Hi guys, Im getting this error: TypeError: Argument 1 of CanvasRenderingContext2D.createPattern could not be converted to any of: HTMLImageElement, HTMLCanvasElement, HTMLVideoElement. I dont know why.... I've boot.js, preload.js, game.js, gameOver.js. The line that throw this error is in create function in gameOver.js: game.add.tileSprite(0,0,640, 480, 'space');'space' is loaded in preload.js, like: game.load.image('space', 'assets/blue.png');Whats wrong?
-
Wow! Awsome bro! Does it has any box 2d plugin/tools for help us with the colisions?
-
I found a topic that worked with sprite! I gonna try with background images. http://www.html5gamedevs.com/topic/11952-problem-with-dataurl-images-on-firefox/?hl=dataurl e.g. code pen: http://codepen.io/ianmcgregor/pen/qkvcj
-
Hi guys, Im working in a game that let the player choose which background he wants based on a image library. So, basically, i transform the image to canvas and get the dataURI. How can i put it as background of my game? Tks.
-
Thanks Tom, Until come to forum, i did a function that calculates how many dots has between the first and the next point, and tried to make this value a reference for the next line. It was hard, but solved a little bit. In the curve, it does not work as expected.
-
Hi guys, Im working with catmull rom interpolation (like code tips 8), and i dont know how to set a constant speed to my sprite over the lines/ curves. See this video[1]. At, ~1h56, the graph reorder the points and than the magic happends! The sprite goes with a constant speed over the catmull rom interpolation! How can i do that?? [1]https://youtu.be/YbwuzpsawcY?t=1m53s
-
Hi guys, Im looking for coding tips 8, and i found a bug (i guess). As long is the path, more fast the sprites goes. I belive that it is not a good method. If i want to work with real physic (big path, more time spent / short path, less time spent), and im not having sucess What should i do? http://www.photonstorm.com/phaser/phaser-coding-tips-8
-
Helppppp!!!! Plz!
-
Hey! Im getting an issue when i want to create a rect out of my camera! Its not showed!Lets see the code (Ps.: I did a clean): var wMap = 1000var hMap = 1000var px = 900var py = 900var h = 568;var w = 320;var game = new Phaser.Game(w, h, Phaser.CANVAS, 'game');land = game.add.tileSprite(0, 0, wMap, hMap, 'space');game.world.setBounds(0, 0, wMap, hMap);...game.camera.follow(player);...this.bmd.rect(px, py, 15, 15, 'rgba(255, 255, 255, 1)');
-
Yes, i know it, this is why i said (with node js it is impossible)
-
Yes, it gonna be reallly really hard... I already know that the best choice is use UDP protocol, but it would be better if i use p2p (with node js it is impossible)... And, my app is focusing on mobile app, it means the mobile wont have node js installed.
-
Hi, maybe you can answer the most important question about multiplayers game! Once you are in the same network, the multiplayer game should works perfect, but when the players are in differents networks, how can you handle the 'lagg'? Im working in a simple multiplayer game using nodejs > express, but im no satisfied with the lagg im checking...