JeZxLee

Members
  • Content count

    183
  • Joined

  • Last visited

About JeZxLee

  • Rank
    Advanced Member
  • Birthday 08/13/1974

Contact Methods

  • Website URL
    www.16BitSoft.com

Profile Information

  • Gender
    Male
  • Location
    Long Island, New York, USA, Earth

Recent Profile Visitors

669 profile views
  1. Ok, cool - thanks for the info! I haven't optimized the source code yet (that will be all day Friday). Thanks! JeZxLee
  2. It requires a dedicated 2+GB GDDR5 graphic card to play well... Just kidding! What are the Frames Per Second (FPS) on top-right?
  3. 100% Open-Source / Cross-Platform! (full project with source code and resources are downloadable on title screen) http://16bitsoft.com/files/PixiAudio5JS/index.html (please help test before official August 3rd Beta1 release!)
  4. Hi, Can someone tell me how to optimize the following source code?: I ask because I am doing the new high score name input soon, and it would have 50+ on-screen character buttons, thanks! JeZxLee if (index == 0) { ArrowLeft[index].on( 'pointerdown', onClickArrowLeftZero ); ArrowRight[index].on( 'pointerdown', onClickArrowRightZero ); } else if (index == 1) { ArrowLeft[index].on( 'pointerdown', onClickArrowLeftOne ); ArrowRight[index].on( 'pointerdown', onClickArrowRightOne ); } else if (index == 2) { ArrowLeft[index].on( 'pointerdown', onClickArrowLeftTwo ); ArrowRight[index].on( 'pointerdown', onClickArrowRightTwo ); } else if (index == 3) { ArrowLeft[index].on( 'pointerdown', onClickArrowLeftThree ); ArrowRight[index].on( 'pointerdown', onClickArrowRightThree ); } else if (index == 4) { ArrowLeft[index].on( 'pointerdown', onClickArrowLeftFour ); ArrowRight[index].on( 'pointerdown', onClickArrowRightFour ); } else if (index == 5) { ArrowLeft[index].on( 'pointerdown', onClickArrowLeftFive ); ArrowRight[index].on( 'pointerdown', onClickArrowRightFive ); } else if (index == 6) { ArrowLeft[index].on( 'pointerdown', onClickArrowLeftSix ); ArrowRight[index].on( 'pointerdown', onClickArrowRightSix ); } function onClickArrowLeftZero() { if (ArrowLeft[0].scale.x < 1 && ArrowLeft[0].scale.y < 1) return; ArrowSetSelectedByKeyboard = 0; ArrowLeft[0].scale.x *= .80; ArrowLeft[0].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowRightZero() { if (ArrowRight[0].scale.x < 1 && ArrowRight[0].scale.y < 1) return; ArrowSetSelectedByKeyboard = 0; ArrowRight[0].scale.x *= .80; ArrowRight[0].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowLeftOne() { if (ArrowLeft[1].scale.x < 1 && ArrowLeft[1].scale.y < 1) return; ArrowSetSelectedByKeyboard = 1; ArrowLeft[1].scale.x *= .80; ArrowLeft[1].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowRightOne() { if (ArrowRight[1].scale.x < 1 && ArrowRight[1].scale.y < 1) return; ArrowSetSelectedByKeyboard = 1; ArrowRight[1].scale.x *= .80; ArrowRight[1].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowLeftTwo() { if (ArrowLeft[2].scale.x < 1 && ArrowLeft[2].scale.y < 1) return; ArrowSetSelectedByKeyboard = 2; ArrowLeft[2].scale.x *= .80; ArrowLeft[2].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowRightTwo() { if (ArrowRight[2].scale.x < 1 && ArrowRight[2].scale.y < 1) return; ArrowSetSelectedByKeyboard = 2; ArrowRight[2].scale.x *= .80; ArrowRight[2].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowLeftThree() { if (ArrowLeft[3].scale.x < 1 && ArrowLeft[3].scale.y < 1) return; ArrowSetSelectedByKeyboard = 3; ArrowLeft[3].scale.x *= .80; ArrowLeft[3].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowRightThree() { if (ArrowRight[3].scale.x < 1 && ArrowRight[3].scale.y < 1) return; ArrowSetSelectedByKeyboard = 3; ArrowRight[3].scale.x *= .80; ArrowRight[3].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowLeftFour() { if (ArrowLeft[4].scale.x < 1 && ArrowLeft[4].scale.y < 1) return; ArrowSetSelectedByKeyboard = 4; ArrowLeft[4].scale.x *= .80; ArrowLeft[4].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowRightFour() { if (ArrowRight[4].scale.x < 1 && ArrowRight[4].scale.y < 1) return; ArrowSetSelectedByKeyboard = 4; ArrowRight[4].scale.x *= .80; ArrowRight[4].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowLeftFive() { if (ArrowLeft[5].scale.x < 1 && ArrowLeft[5].scale.y < 1) return; ArrowSetSelectedByKeyboard = 5; ArrowLeft[5].scale.x *= .80; ArrowLeft[5].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowRightFive() { if (ArrowRight[5].scale.x < 1 && ArrowRight[5].scale.y < 1) return; ArrowSetSelectedByKeyboard = 5; ArrowRight[5].scale.x *= .80; ArrowRight[5].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowLeftSix() { if (ArrowLeft[6].scale.x < 1 && ArrowLeft[6].scale.y < 1) return; ArrowSetSelectedByKeyboard = 6; ArrowLeft[6].scale.x *= .80; ArrowLeft[6].scale.y *= .80; PlayEffect(EffectMenuClick); } //-------------------------------------------------------------------------------------------------------------- function onClickArrowRightSix() { if (ArrowRight[6].scale.x < 1 && ArrowRight[6].scale.y < 1) return; ArrowSetSelectedByKeyboard = 6; ArrowRight[6].scale.x *= .80; ArrowRight[6].scale.y *= .80; PlayEffect(EffectMenuClick); }
  5. Ghosts should be 100% operational now - URL above has been updated! Will do levels on Thursday... Thanks! JeZxLee
  6. Hi, Thanks for testing! We will look over your suggestions and implement in upcoming Alpha2... Thanks again! JeZxLee
  7. Hi, We are on schedule to release Beta1 on Thursday, August 3rd... Please help test below Alpha1 version: http://16bitsoft.com/files/PixiAudio5JS/index.html (should be stable and source code is clean) Let us know if you see anything wrong or have suggestions for improvement. (will be adding the ghosts on Wednesday & level progression is Thursday) Thanks! JeZxLee
  8. Ok, got it working!
  9. Array creation: var MapBoard = new Array(5) var level; for (level = 0; level < 5; level++) { MapBoard[level] = new Array(28); var indexX; for (indexX = 0; indexX < 28; indexX++) { MapBoard[level][indexX] = new Array(28); } }
  10. Hi, Trying to get 3-D JS arrays working, but am having issues below: function LoadMaps() { var indexX; var indexY; MapBoard[0][0][0] = [ //#1 Board/Pellets [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,2,1,1,1,1,1,0,0,0,1,1,1,1,1,2,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,1,1,1,1,1,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0], [0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0], [0,0,0,0,0,0,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,1,1,0,1,1,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,2,1,1,1,1,1,0,0,0,1,1,1,1,1,2,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] ]; for (indexY = 0; indexY < 28; indexY++) { for (indexX = 0; indexX < 28; indexX++) { if (MapBoard[0][indexX][indexY] == 0) NumberOfLegosOnLevel[0]++; } } // "NumberOfLegosOnLevel[0]" always equals 0? Any help would be appreciated, thanks! JeZxLee
  11. Hi, Working on the playing game screen now. How can I change the current background color in JavaScript? Thanks! JeZxLee
  12. Also published demo below: http://www.newgrounds.com/portal/view/696912
  13. Hi, I had to disable the canvas resize/centering! I works now: http://www.kongregate.com/games/JeZxLee/1993-cobra-5-0-engine-test Thanks! JeZxLee
  14. Hi, I wanted to publish an engine test on below website, but only the music is working and not PixiJSv4? http://www.kongregate.com/games/JeZxLee/1993-cobra-5-0-engine-test_preview (any help would be appreciated, thanks! JeZxLee
  15. is this correct, it runs with no errors?: function LoadMaps() { MapBoard[0] = [ [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,2,1,1,1,1,1,0,0,0,1,1,1,1,1,2,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,1,1,1,1,1,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0], [0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,0,0,0,0], [0,0,0,0,0,0,1,1,0,1,0,1,1,1,1,1,0,1,0,1,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,0,0,1,0,0,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,1,0,0,1,0,1,1,0,1,1,0,1,0,0,1,0,0,0,0,0,0], [0,0,0,0,0,0,2,1,1,1,1,1,0,0,0,1,1,1,1,1,2,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0] ]; // More maps to come hopefully! }