• Content Count

  • Joined

  • Last visited

About manic.blood1993

  • Rank

Recent Profile Visitors

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

  1. Thanks very much. Been making animated intro for website. Back on track now cheers
  2. Hey there everyone. Using Panda Im wondering how to slow down the default FPS in Animations. Currently i use loop to animate sprites. For(i=0, i<W1Height,i++){ W1.scale+0.1; W1.addTo(this.stage); Will run about 32 times, how to slow? Just use a smaller number than 0.1? Any ideas...
  3. I think you re on the right track. With your phone connected to a personal webserver to allow debug. Perhaps consider the Lesser Panda Tutorial on mobile support
  4. Woah time flew by, been having a few changes of contract at work. So a lot of stress. Needed to take some time out. However with that done I hope to start developing Animation Examples by Nov Btw Lesser Panda seems to be making great progress, congrats Ok about time for some changes now all fireworks are done. Functional anim sys i will put here today. None of this OOriented stuff but seems to work. See new thread on Animation FPS Catch u later
  5. Hey there, I saw your post about LesserPanda looks really interesting! True TileMap support among a better Camera and new classes look great for evolving Panda. Initially I started in PIXI but the cryptic syntax kept me away, especially in the Interaction of Objects. What I like about Panda is, yes slightly more typing but it is far clearer to spot inheritance. e.g. game.createClass('Panda', { // Instead of .button{ init: function(img, ancX, ancY) { // confusing to know where to call from etc Do you agree, Sean? I'd love to help with any new classes or methods
  6. WORKING SPRITESHEETS! Woohoo While scouring these forums once again, I came across a very helpful series of Video Tutorial for PIXI v1 Make sure that in the TexturePacker program, use PIXI Spritesheet, NOT PANDA, JSON HASH, JSON ARRAY This should save a lot of CPU load times from just loading a few large spritesheets into MEM once! Instead of repeatedly loading small images up again and again until "OUT OF MEM" Error. // Animation System I will attempt again today before work, hope to have something before end of week
  7. Not sure what happened with Panda V2 but for now I'm just sticking with the Original. Multiple Animation support would be great Things seem to be on break atm tho
  8. Hey there, This tutorial I found helped me out greatly with creating objects. Using a class to describe them., and then you call the class with a loop. Simply tell the loop how many cycles to perform (or enemies to create). If you need more than just a heads up, I can help you modify the code. Message me back
  9. Hey everyone, I've been developing with Panda for the last 3 months now. Great engine, I prefer to PIXI because of the long class names, makes it very easy to see what inherits from where. However I have become stuck with Spritesheets and Animations, Please could anyone point me in the right direction? //OFFICIAL DOCUMENTATION // Creates spritesheet with frame size 138x100 var spritesheet = new game.SpriteSheet('spritesheet.png', 138, 100); // Returns sprite using frame 0 from spritesheet var sprite = spritesheet.frame(0); sprite.addTo(this.stage); // Returns 15 frames long animation, starting from frame 2 var anim = spritesheet.anim(15, 2); anim.animationSpeed = 0.3;; anim.addTo(this.stage); // Define animation frames with array var anim = spritesheet.anim([0, 0, 1, 2, 3, 2]); //=================================================================================// //PERSONAL ATTEMPTS //====================SPRITESHEETS=====================================// //=====================================================================// var SS = new game.Sprite('DALEKHASH.png'); //Dalek Standing var DalekS1 = SS.crop(157,1,58,123); //var DalekS2 = SS.crop(x,y,w,h); var DalekS1 = new game.Sprite; //var DalekS3 = SS.crop(x,y,w,h); var DalekS4 = SS.crop(x,y,w,h); //Dalek Up var DalekU1 = SS.crop(868,1,64,118); //var DalekU2 = SS.crop(x,y,w,h); var DalekU1 = new game.Sprite; //var DalekU3 = SS.crop(x,y,w,h); var DalekU4 = SS.crop(x,y,w,h); //Dalek Down var DalekD1 = SS.crop(157,1,58,123); //var DalekD2 = SS.crop(x,y,w,h); var DalekD1 = new game.Sprite;//var DalekD3 = SS.crop(x,y,w,h); var DalekD4 = SS.crop(x,y,w,h); //Dalek Left var DalekL1 = SS.crop(1232,1,89,115); //var DalekL2 = SS.crop(x,y,w,h); var DalekL1 = new game.Sprite;//var DalekL3 = SS.crop(x,y,w,h); var DalekL4 = SS.crop(x,y,w,h); //Dalek Right var DalekR1 = SS.crop(1133,1,97,115); //var DalekR2 = SS.crop(x,y,w,h); var DalekR1 = new game.Sprite; //var DalekR3 = SS.crop(x,y,w,h); var DalekR4 = SS.crop(x,y,w,h); //=======================ANIMATIONS====================================// //=====================================================================// //DalekRAni = new Animation (DalekR1,DalekR2,DalekR3,DalekR4); DalekSAni = new Animation (DalekS1); DalekSAni.animationSpeed = 0.1;; DalekUAni = new Animation (DalekU1); DalekUAni.animationSpeed = 0.1;; DalekDAni = new Animation (DalekD1); DalekDAni.animationSpeed = 0.1;; DalekLAni = new Animation (DalekL1); DalekLAni.animationSpeed = 0.1;; DalekRAni = new Animation (DalekR1); DalekRAni.animationSpeed = 0.1;; //=====================STAGE MOVEMENTS==================================// //======================================================================// //This is where we add IF statement for MOVEMENT if (game.keyboard.down('UP')) DalekUAni.addTo(this.stage); else if (game.keyboard.down('DOWN')) DalekDAni.addTo(this.stage); else if (game.keyboard.down('LEFT')) DalekLAni.addTo(this.stage); else if (game.keyboard.down('RIGHT')) DalekRAni.addTo(this.stage); else DalekSAni.addTo(this.stage);