Page 4 of 4 FirstFirst 1234
Results 61 to 74 of 74
Like Tree25Likes
  1.    #61  
    Now you can play IconCrush online or download it for Free.
    Now you can play Bugs online or download it for Free.
    Now you can play HEXTRIS online or download it for Free.
    Now you can play Threes online or download it for Free.
    Soon All apps will be free but Please consider making a donation.
    Last edited by warlord9159; 01/28/2015 at 06:46 PM.
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

  2.    #62  
    Added more games to webplay...
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

  3. #63  
    Thanks for being so active
  4.    #64  
    Did some work on site.
    Added Space Invaders game to Web Games page..,
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

  5.    #65  
    Added War "Card Game" to Web Games page..,
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

  6.    #66  
    Need help with a game please.
    need:
    css
    html
    canvas
    css jsjsjs

    trying to center image.
    Canvas keeps going to fixed size and margin will not stay to center of page at re-size of page....


    File here. please take a look and see if you can fix it for me.
    If you fill froggy, jump in and add some more animations

    https://dl.dropboxusercontent.com/u/12521579/bub.rar
    Last edited by warlord9159; 02/13/2015 at 06:01 PM.
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

  7. #67  
    Quote Originally Posted by warlord9159 View Post
    Need help with a game please.

    trying to center image.
    Canvas keeps going to fixed size and margin will not stay to center of page at re-size of page....


    File here. please take a look and see if you can fix it for me.
    in mabub.css:
    change the properties of #layers to
    Code:
    #layers {
      position       : relative;
      margin-left  : auto;
      margin-right: auto;
    }
    in game.jsjsjs
    in the function Game() add the following lines:
    Code:
    this.bubble_layers  = document.getElementById('layers');
    this.bubble_cannon  = document.getElementById('circle');
    in the function Game.prototype.main_loop() add the following lines (after the height of this.bubble_canvas is set):
    Code:
    $(this.bubble_layers).width($(this.bubble_canvas).width());
    $(this.bubble_cannon).css('margin-left',-Math.round($(this.bubble_cannon).width()/2)+'px');
    Please note, that this is a bit of a waste of repaints and reflows, and it would be better not to do this every game-cycle and simply have add an on-resize event to the window and update the heights, width, and css in there. I'm not sure how fast webOS reacts when someone changes the rotation of the screen (it might be slower than the game-loop), but it still have a positive overall effect.

    I specifically looked at the problem you mentioned (horizontal centering). There are also some problems with the vertical position of the cannon on small screens, and setting specifically the height of the canvas (with a relative width) assumes that the device used is in landscape view (width bigger than height). This, of course, can be easily adapted.

    Hope this helps a bit.


    ps. sorry it took me so long to respond, the forum didn't want me to post here for some reason.
    warlord9159 likes this.
  8.    #68  
    Worked great. thanks for the help. I got three more games to add and this one.
    Will update soon
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

    Misj' likes this.
  9.    #69  
    If anyone would like to fix any app to work on webos phones, that's fine with me. just PM me with the ipk and i will upload them to my webpage
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

  10.    #70  
    Added two new games to Web Play page...
    Ball & Wall
    BumpBall

    >>> WebPlay <<<
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

  11.    #71  
    Updated Web play game "War" to pre-load images before start of game.

    >>>> War <<<<
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

  12. #72  
    You're just an app-making machine!
  13. #73  
    Yea-aah!
    This space for rent or lease. Inquire within.
  14.    #74  
    Added new games to Web Play page...

    >>> WebPlay <<<

    If anyone would like to fix any app to work on Webos phones, that's fine with me. just PM me with the ipk and i will upload them to my webpage
    PayPal Make a donation and/or hit the Thanks button please
    My home page. >>>>>CMCS<<<<

Page 4 of 4 FirstFirst 1234

Similar Threads

  1. App Catalog
    By dps5pt in forum webOS Apps & Games
    Replies: 7
    Last Post: 06/12/2012, 02:47 AM
  2. GSM Pre App Catalog ?
    By Khaled93 in forum Palm Pre and Pre Plus
    Replies: 8
    Last Post: 02/08/2010, 07:48 PM
  3. Future of App Catalog? App Catalog vs. App Store?
    By ostauffer in forum webOS Discussion Lounge
    Replies: 14
    Last Post: 12/04/2009, 11:38 AM
  4. App Catalog wants me to Pay Twice
    By BubbaHooska in forum webOS Discussion Lounge
    Replies: 2
    Last Post: 11/30/2009, 02:22 PM
  5. POLL: Palm App catalog vs Homebrew Catalog -
    By Bishounen in forum webOS Apps & Games
    Replies: 16
    Last Post: 09/22/2009, 11:35 AM

Posting Permissions