Bobba.io - HTML5 Habbo implementation

Page 4 of 4 FirstFirst 1234
Results 46 to 60 of 60
  1. #46
    undefined seanrom is offline
    True MemberRank
    Nov 2009 Join Date
    1,036Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by DiMitry View Post
    This is Amazing!
    Where can I get the resource and hof_furni files??
    I think you could just scrape whatever is under https://images.bobba.io/ with some software, if you need the gamedata. However i don't think the gamerserver is released, so you would write your own packet manager.

    Btw, really awesome project.

  2. #47
    Registered Relevance is online now
    MemberRank
    May 2018 Join Date
    24Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by DiMitry View Post
    This is Amazing!
    Where can I get the resource and hof_furni files??
    http://images.bobba.io/images.tar.gz

    - - - Updated - - -

    Quote Originally Posted by seanrom View Post
    I think you could just scrape whatever is under https://images.bobba.io/ with some software, if you need the gamedata. However i don't think the gamerserver is released, so you would write your own packet manager.

    Btw, really awesome project.
    Game server is actually released too, check github links :)

    Thanks

  3. #48
    Member Leonson is offline
    MemberRank
    Apr 2012 Join Date
    29Posts

    Re: Bobba.io - HTML5 Habbo implementation

    is the live demo the final version from Github? also.. said repositories haven't been updated for months, any idea on new updates, or do you hold it as unfinished?

  4. #49
    Newbie DiMitry is offline
    MemberRank
    Nov 2013 Join Date
    2Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by Relevance View Post
    Wow! Thank you so much! <3

  5. #50
    Registered Jeihden is offline
    MemberRank
    Oct 2016 Join Date
    8Posts

    Re: Bobba.io - HTML5 Habbo implementation

    I read out there that you're working with pixijs, and that this involved recoding almost everything.

    Do you think that it will only be an update or a new project from 0?

    What are you working on the project at this time?

    PD: Forgive me for my bad English, I speak Spanish.

  6. #51
    Registered Relevance is online now
    MemberRank
    May 2018 Join Date
    24Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by Leonson View Post
    is the live demo the final version from Github? also.. said repositories haven't been updated for months, any idea on new updates, or do you hold it as unfinished?
    Yes, the live demo is the final version from github but with a mod to make it work with SSL / HTTPS.
    The project haven't received updates because i was a little busy with the college, but as I'm on vacations, there will be some updates soon :P

    - - - Updated - - -

    Quote Originally Posted by Jeihden View Post
    I read out there that you're working with pixijs, and that this involved recoding almost everything.

    Do you think that it will only be an update or a new project from 0?

    What are you working on the project at this time?

    PD: Forgive me for my bad English, I speak Spanish.
    Actually I haven't started working with pixijs, but I will. This is like a proof of concept.
    It will be a complete recode :P

  7. #52
    Registered Jeihden is offline
    MemberRank
    Oct 2016 Join Date
    8Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by Relevance View Post
    Actually I haven't started working with pixijs, but I will. This is like a proof of concept.
    It will be a complete recode :P

    I'm was working in your release, especifictly in the DrawWall. I Connected the emulator to a database to looking for rooms & room models, so, my logic was:
    1 = black hole (x)
    0 = Tile (0)
    Maybe, later I'll need to change this for the height of the tiles, stairs, etc.

    What do you think about this algorithm? I don't know if this is the most optimal, but, its works fine with whatever room model.

    Code:
    Room.prototype.drawWall = function() {    
       for (var i = 0; i < this.cols; i++) {    
          for (var j = 0; j < this.rows; j++) {      
             var tile = this.heightmap[i][j];      
             if (tile != 1) {        
                // corners        
                //   1 2        
               //   ? ?        
               // 3 ? 0        
               var isValid1 = this.heightmap[(i-1)][(j-1)];//1        
               var isValid2 = this.heightmap[i][(j-1)];//2        
               var isValid3 = this.heightmap[(i-1)][(j)];//3   
         
               // black_hole      
               var black_hole = this.heightmap[(i-2)][j];                
    
              // wall_l        
              if(isValid3 == 1 && == 1){          
                 this.drawQueue.queue(new IsometricDrawableSprite(this.sprites.getImage('room_wall_l'), null, i, j, 0, -8, -119, DrawableSprite.PRIORITY_WALL));        
              }        
    
              // corner        
              //   1 2       
              //   x x        
             // 3 x 0        
             if(isValid1 == 1 && isValid2 == 1 && isValid3 == 1){          
                // corner_r          
               this.drawQueue.queue(new IsometricDrawableSprite(this.sprites.getImage('room_wall_corner'), null, i, j, 0, 0, -123.7, DrawableSprite.PRIORITY_WALL));        
             }         
          
             // wall_r        
             else if(isValid1 == 1 && isValid2 == 1){          
                this.drawQueue.queue(new IsometricDrawableSprite(this.sprites.getImage('room_wall_r'), null, i, j, 0, 31, -119, DrawableSprite.PRIORITY_WALL));        
             }      
          }    
       }  
      }
    };
    This is the room model:
    Code:
    xxxxxxxxxxxxxxxxx00000xxxxxx00000xxx0000x000xx00x000x00xx000000x00xx00x000x00xx00000x000xx000000000
    The Result :)


  8. #53
    Registered Relevance is online now
    MemberRank
    May 2018 Join Date
    24Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by Jeihden View Post
    I'm was working in your release, especifictly in the DrawWall. I Connected the emulator to a database to looking for rooms & room models, so, my logic was:
    1 = black hole (x)
    0 = Tile (0)
    Maybe, later I'll need to change this for the height of the tiles, stairs, etc.

    What do you think about this algorithm? I don't know if this is the most optimal, but, its works fine with whatever room model.

    Code:
    Room.prototype.drawWall = function() {    
    for (var i = 0; i < this.cols; i++) {    
    for (var j = 0; j < this.rows; j++) {      
    var tile = this.heightmap[i][j];      
    if (tile != 1) {        
    // corners        
    //   1 2        
    //   ? ?        
    // 3 ? 0        
    var isValid1 = this.heightmap[(i-1)][(j-1)];//1        
    var isValid2 = this.heightmap[i][(j-1)];//2        
    var isValid3 = this.heightmap[(i-1)][(j)];//3   
         
    // black_hole      
    var black_hole = this.heightmap[(i-2)][j];                
    
    // wall_l        
    if(isValid3 == 1 && == 1){          
    this.drawQueue.queue(new IsometricDrawableSprite(this.sprites.getImage('room_wall_l'), null, i, j, 0, -8, -119, DrawableSprite.PRIORITY_WALL));        
    }        
    
    // corner        
    //   1 2       
     //   x x        
    // 3 x 0        
    if(isValid1 == 1 && isValid2 == 1 && isValid3 == 1){          
    // corner_r          
    this.drawQueue.queue(new IsometricDrawableSprite(this.sprites.getImage('room_wall_corner'), null, i, j, 0, 0, -123.7, DrawableSprite.PRIORITY_WALL));        
    }         
         
    // wall_r        
    else if(isValid1 == 1 && isValid2 == 1){          
    this.drawQueue.queue(new IsometricDrawableSprite(this.sprites.getImage('room_wall_r'), null, i, j, 0, 31, -119, DrawableSprite.PRIORITY_WALL));        
    }      
    }    
    }  
    }
    };
    This is the room model:
    Code:
    xxxxxxxxxxx 
    xxxxxx00000 
    xxxxxx00000 
    xxx0000x000 
    xx00x000x00 
    xx000000x00 
    xx00x000x00 
    xx00000x000 
    xx000000000
    The Result :)

    http://oi65.tinypic.com/5a5dg9.jpg
    Nice result!

    Actually I don't know if that is the best code, but for know it could work!

  9. #54
    Member Kodamas is offline
    MemberRank
    Feb 2014 Join Date
    34Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Nice projet, really good. I share a small update if someone is interested


    -Draw tile without img
    -Improvement of the drawing order
    -Stair right and left
    -Tilemap shadow
    -:lay position (rot 2 and 4)
    -Camera follow user walking
    -Bubble chat follow camera y


    Client: https://mega.nz/#!3BFXHCjQ!RMf1lMA9Q...8WmvdEStrcu2iU
    Server: https://mega.nz/#!rQdxQCyT!_DIPNhoQp...44qSy82eTQSDZg

  10. #55
    Registered Jeihden is offline
    MemberRank
    Oct 2016 Join Date
    8Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by Kodamas View Post
    Nice projet, really good. I share a small update if someone is interested


    -Draw tile without img
    -Improvement of the drawing order
    -Stair right and left
    -Tilemap shadow
    -:lay position (rot 2 and 4)
    -Camera follow user walking
    -Bubble chat follow camera y


    Client: https://mega.nz/#!3BFXHCjQ!RMf1lMA9Q...8WmvdEStrcu2iU
    Server: https://mega.nz/#!rQdxQCyT!_DIPNhoQp...44qSy82eTQSDZg
    I used your update but... What does this means?


  11. #56
    Member Kodamas is offline
    MemberRank
    Feb 2014 Join Date
    34Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Edit web-gallery/js/avatarimager/AvatarImager.js lign 414

  12. #57
    Ultimate Member B3T4T3ST3 is offline
    MemberRank
    Dec 2013 Join Date
    157Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by Kodamas View Post
    Nice projet, really good. I share a small update if someone is interested


    -Draw tile without img
    -Improvement of the drawing order
    -Stair right and left
    -Tilemap shadow
    -:lay position (rot 2 and 4)
    -Camera follow user walking
    -Bubble chat follow camera y


    Client: https://mega.nz/#!3BFXHCjQ!RMf1lMA9Q...8WmvdEStrcu2iU
    Server: https://mega.nz/#!rQdxQCyT!_DIPNhoQp...44qSy82eTQSDZg
    A pull request would be better than links

  13. #58
    Registered Relevance is online now
    MemberRank
    May 2018 Join Date
    24Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by Kodamas View Post
    Nice projet, really good. I share a small update if someone is interested


    -Draw tile without img
    -Improvement of the drawing order
    -Stair right and left
    -Tilemap shadow
    -:lay position (rot 2 and 4)
    -Camera follow user walking
    -Bubble chat follow camera y


    Client: https://mega.nz/#!3BFXHCjQ!RMf1lMA9Q...8WmvdEStrcu2iU
    Server: https://mega.nz/#!rQdxQCyT!_DIPNhoQp...44qSy82eTQSDZg
    Nice updates, but do not forget the performance, I got some performance issues.
    I really liked the tile drawing thing.

  14. #59
    Member Kodamas is offline
    MemberRank
    Feb 2014 Join Date
    34Posts

    Re: Bobba.io - HTML5 Habbo implementation

    Quote Originally Posted by Relevance View Post
    Nice updates, but do not forget the performance, I got some performance issues.
    I really liked the tile drawing thing.
    Thank you. Yes I tried to optimize but I failed to do better, so I'm stopped there

  15. #60
    Ultimate Member B3T4T3ST3 is offline
    MemberRank
    Dec 2013 Join Date
    157Posts

    Re: Bobba.io - HTML5 Habbo implementation

    8 months since the last commit... so, is dead?



Page 4 of 4 FirstFirst 1234

Advertisement