Jump to content


  • Content Count

  • Joined

  • Last visited

About Gustavgb

  • Rank
    Advanced Member

Contact Methods

  • Website URL
    Sadly I don't have a website anymore

Profile Information

  • Gender
  • Location

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for the quick response, ended up with something like this (which means @Sambrosia was right): class Line extends PIXI.Graphics { constructor(points, lineSize, lineColor) { super(); var s = this.lineWidth = lineSize || 5; var c = this.lineColor = lineColor || "0x000000"; this.points = points; this.lineStyle(s, c) this.moveTo(points[0], points[1]); this.lineTo(points[2], points[3]); } updatePoints(p) { var points = this.points = p.map((val, index) => val || this.points[inde
  2. Hi there folks! It's been a while since I posted something in here, glad to be back! I have a fair amount of experience in game development using JS Canvas, but recently I decided I had move on - so I went with Pixi. I figured out the basics of how to add sprites, do filters and such, but I just can't seem to figure out how to do simple lines and then manipulate them afterwards. What I mean is something like this: https://jsfiddle.net/gustavgb/anxcjfof/5/ I noticed that PIXI.Graphics has an object attached to it called "graphicsData" in which I can find the points that make
  3. I was looking forward to trying this game, but found that it recognized my touchscreen laptop a touchscreen-only device, and I was therefore not able to play the game. It might become a problem, because more and more Windows 8 devices have touchscreens ;-)
  4. Thanks, I used this tutorial instead: https://github.com/nwjs/nw.js/wiki/How-to-package-and-distribute-your-apps But the last problem I'm facing is that I can't figure out how to change the taskbar icon of my app. Is that possible?
  5. So, I made NW.js work following this tutorial: http://code.tutsplus.com/tutorials/introduction-to-html5-desktop-apps-with-node-webkit--net-36296 but I still dont know how to package this, so users dont have to install the app that runs the whole thing (in this case NW.js). Any experience with this problem? I would very much like an .exe file for Windows and .app file for Mac, etc.
  6. Hi there, I have been wondering for some time now, if it is a possibility to convert my current and/or future HTML5 games to native desktop applications. I have seen that there is some chrome/webkit frames as well as some other frameworks like Adobe Air. Which should I use, does anyone of you have any experience with this?
  7. @Aegis thanks for the feedback, means a lot. I have spread the tutorial across 6 pages, so less text is displayed at once. Good idea with the quicker levels. The pause screen has always been there, but I have now added it to the turorial. By the way how far did you make it? I wonder if it's too easy or to hard ;-)
  8. Hello people! I've now finished a game I recently started developing, called "Matrix Invaders". The game is some kind of action side-scrolling shooter, in which your mission is to destroy the mighty enemies. But wait.. Didn't you say MATRIX!? That's right, in this game all characters are colored matrixes. You are the green one, enemies are red. Simple! How about gameplay? Well let's see: Your goal, as I said before, is to destroy the enemies. You do that by blasting them with a bullet, launced with the space button. When enough enemies have been destroyed, you'll move on to the next level,
  9. UPDATE: Scaling now works perfectly, and the game is ready for mobile devices. Only a little graphical bugs left
  10. Apparently all of my games seems not to work in Firefox... Gotta fix that problem as soon as I find a solution EDIT: Seems to be working fine now, just installed firefox and I have no problems.
  11. Thanks man, and yeah this glitch is what I meant by "debugging needed". I'm coding al of my games from the scratch, pure javascript code, ya know? What do you use?
  12. Nice that you like it! For the mobile version I will use mouseup and mousedown listeners, working similar to how the spacebutton does right now. I'm using setTimeout for the main loop, simply because I haven't had time to learn the other method ;-)
  13. Hello there fellas, I recently started making a new little game, which I thought I'd share with you. The game is a remake of the popular iCopter, which was released some years ago. In the game you play as a small, yellow helicopter, and you'll have to avoid the walls and stones coming your way. The game still needs some debugging, so any help is appreciated. Also a mobile version will soon be avalible. Play: dev.gustavgb.dk/games/copter/ Screenshots:
  14. Looks good, but unplayable because it's not in English
  15. Cool game, but when you have played it once, it get's kinda boring because it's lagging challenge
  • Create New...