All Activity
This stream auto-updates
- Past hour
-
rohanjoshi0894 joined the community
- Today
-
khaica joined the community
-
Hi everyone. I'm using base64 code, but why visual studio code can't read it. and the image is undefine when I run.
-
locally I have internet information services set up so I can run the file from wwwroot, I don't know if there is a name for that or if that explains it. also, sorry I couldn't get the files on here until now, my other computer was not behavingIt's Sweater Weather.zip
- Yesterday
-
MichelF joined the community
-
-
-
-
Here is one way to do it (obstacles layer) https://gamedevacademy.org/how-to-create-a-turn-based-rpg-game-in-phaser-3-part-1/
-
8sdf45 joined the community
-
dhroovhotel joined the community
-
My games were deleted without explanation
Noel replied to Reborned's topic in Facebook Instant Games
@Reborned I am pretty sure you can reach out to them through here: https://www.facebook.com/help/hacked -
A display object's `render()` method will call every frame, right? Is there a component lifecycle for validation built in to Pixi, akin to fl.controls usage of fl.core.UIComponent? As in, a way to trigger rendering / update only when needed per display object (not the entire Pixi application) when multiple properties are set on the same frame. For example, if I have several properties that determine state of a display object, should I calculate that in `render()`; or, should I set an invalidate flag to be handled on the next frame? Pseudo-code example: class MySprite extends PIXI.Sprite { set color(value) { // ... this.dirty = true; } set selected(value) { // ... this.dirty = true; } render(renderer) { super.render(renderer); // Calculate display state here? // Is there a better lifecycle hook? // Or, manually validate using the animation frame? this.validate(); } validate() { // Validate presentation state if dirty if (this.dirty === false) return; this.dirty = false; // ...calculate state based on properties // if color is red and selected is true, texture = red-selected.png } }
-
-
-
- Last week
-
rdw1 joined the community
-
dsad77 joined the community
-
MEJS joined the community
-
8Observer8 started following Javascript Courses!
-
I like to learn by practice with writing simple games. Start here: 2D breakout game using pure JavaScript
-
I made 83% The game is awesome. Bots are good. You need to mark bots and players because I do not understand who are bots and who are real players.
-
Sam Foster Sound | Experienced Game Composer for Hire
titanicpiano14 replied to titanicpiano14's topic in Services Offered
Looking for new games to work on!- 76 replies
-
plicatibu started following Javascript Courses!
-
I recommend you give a try here: https://javascript.info
-
-
-
-
-
My result is 64.84%
-
Metalhead changed their profile photo
-
If you talk about spine software ? you can remove you event by select your event and click delete icon. (delete key not work in old spine version) If you talk about the api, if you manage one spine events per listener (not recommended in most case) and you want remove. you can do spine.state.removeListener(listener); Or the best and cleaner way for me is use one listener for all events and just a Switch to call method associate. And just avoid include your "color" event Example code. const checkEvent = (entry, event) => { switch (event.data.name) { case 'eventName0': // call a method when "eventName0":fired! break; case 'eventName1': break; case 'eventName44': break; default:break; } }; spine.state.addListener({ event: checkEvent, });
-
8Observer8 started following Html5 Game Development Best Practice es6 or Anyother method
-
Html5 Game Development Best Practice es6 or Anyother method
8Observer8 replied to Balamurugan's topic in 2D
2D breakout game using pure JavaScript https://developer.mozilla.org/en-US/docs/Games/Tutorials/2D_Breakout_game_pure_JavaScript Real Time Multiplayer in HTML5 http://buildnewgames.com/real-time-multiplayer/ Source: https://github.com/underscorediscovery/realtime-multiplayer-in-html5 Demo: https://battle-world.herokuapp.com/?debug 1- Making Multiplayer HTML5 Game: Setup & Sending Files. NodeJs Tutorial Guide https://www.youtube.com/watch?v=PfSwUOBL1YQ -
♪♫♪ [For hire] Prof and Fresh Music and Sound FX
Vierarmig replied to Vierarmig's topic in Services Offered
Hot & Wet slot (sound design and music)- 150 replies
-
- music-production
- music
-
(and 2 more)
Tagged with:
-
My games were deleted without explanation
Reborned replied to Reborned's topic in Facebook Instant Games
Hi @Noel, thank you for the help. But I was asked to do it in the login page, not by email. How can I contact them? -
I cant help you with webpack, I'm webpack hater I can only say that its possible and many people added pixi application to vue and react apps without any plugins. Just make a component that contains canvas and don't forget to destroy() your renderer every time you switch pages or something like that. Or you can re-use existing canvas many times and start/stop ticker when needed. This is required knowledge when you use pixi with any other framework: https://github.com/pixijs/pixi.js/wiki/v5-Custom-Application-GameLoop Your options here are: 1. wait for someone to help setting up your project 2. learn how to set up custom pixi application and then do it yourself. You can also search this subforum for vue and react stuff, there were a number of threads like that.
-
Hi ivan, I am going to build up a single page with vuejs and this page contains slider etc. And I have to add html5 animation with pixi in each slider page. So I tried to install vue-pixi to my vuejs project but I got failed. The installation of package has successfully done without error. But when I add it to plugin, the path to vue-pixi is not recognized and I cannot use it in my component finally. The envirenment is as following: - OS: macOS Mojave 10.14.6 - NPM version: 6.13.2 - Vue-cli version: 4.1.1 It's the screenshot for the error when I run on the browser. https://monosnap.com/file/aqwbvSpdFejmG70ffwKkhPnuk9mlgO And this is the project code. https://github.com/truedandyman0617/my-vue-pixi When you run the command then you can see the errors what I am explaining now. https://monosnap.com/file/1B0TkKWv8tuPP97tHot0s4vrUIcBwL My purpose it to run this project without error in browser so I can add pixi codes for html5 animation. Thank you very much.
-
It might help us to reply if we knew why you are drawing it "pixel by pixel". Why not canvas.context.drawimage ()? Enlarging an image by a factor of 3 is unlikely to produce a sharp result though. Better to start with the larger version and then reduce if or when necessary.
- 1 reply
-
- interpolation
- javascript
-
(and 3 more)
Tagged with:
-
grelf started following Javascript Courses!
-
Arjun, I have previously given in these pages links to my JavaScript course, which is completely free at https://www.grelf.net/jscourse/start.html I would be pleased to get some feedback about it. Some people seem to find it useful.
-
Which web-server do you use?