diyo-games

Members
  • Content Count

    168
  • Joined

  • Last visited

About diyo-games

  • Rank
    Advanced Member
  • Birthday 01/02/1984

Contact Methods

  • Website URL
    http://diyo-games.com
  • Twitter
    diyo_games
  • Skype
    diyo-games@hotmail.com

Profile Information

  • Gender
    Male
  • Location
    colombia
  • Interests
    developer: graphic, programmer, sound.. ++

Recent Profile Visitors

1,806 profile views
  1. diyo-games

    Babylon.js in responsive

    hola, gilberto389@gmail.com
  2. diyo-games

    Babylon.js in responsive

    variable 'jugando' ; (playing) it is a flag to activate state 'playing', as well, 'loading', 'paused', 'ended' etc
  3. diyo-games

    What was your most complex html5 game ?

    This : https://goo.gl/ZHjuJT
  4. Hello everyone, I have the pleasure to present my last and fun game: Instant games: https://goo.gl/ZHjuJT Google play: https://goo.gl/EcHqST web browser : https://play.idevgames.co.uk/game/space-jumper/
  5. diyo-games

    Gamedistribution.com offers revenue share!

    I tried to upload my game and never they accept it, they always send an automated response saying something is wrong, they make list some "possible reasons", but never specify. But that if, while the game is loaded, shows the publicity, which makes me think of some dirty play.
  6. hello, I sent a game for review in softgames.de, it takes a lot ...? Mi mail Gilberto389@gmail.com
  7. Hi, i interested, mi portfolio: https://goo.gl/ZHjuJT https://goo.gl/EcHqST https://mostrosafechantes.com/juega/ http://oficialcuentitosmagicos.com/
  8. hi for all, mi game has been accepted in facebook https://www.messenger.com/t/gilberfandi?game=diyospace
  9. diyo-games

    Firefox Slow FPS

    The same thing happens to me, and that without using any framework and having an emphasis on optimization (pool objects, bitwise etc)
  10. diyo-games

    Mi new game, Space Jumper

    Hello everyone, I have the pleasure of presenting you the demo of my videogame, it is available for licensing, there are 24 very challenging levels, your opinions are welcome. full version web: https://html5.gamedistribution.com/1671c8cac0064c7ba3b18f66ce2e141f/ google play: https://goo.gl/EcHqST
  11. diyo-games

    Babylon.js in responsive

    Hi, center in all orientation/resolutions. var ancho=1920;//width var alto=1080;//height function rPantalla() { var gameWidth = window.innerWidth; var gameHeight = window.innerHeight; var scaleToFitX = gameWidth/ancho ; var scaleToFitY = gameHeight/alto ; var currentScreenRatio = gameWidth / gameHeight; var optimalRatio = Math.min(scaleToFitX, scaleToFitY); if (currentScreenRatio >= 1.77 && currentScreenRatio <= 1.79) { //16/9 aspect canvas.style.width = gameWidth + "px"; canvas.style.height = gameHeight + "px"; canvas.style.left = ((gameWidth - (ancho * optimalRatio))/2)+"px"; canvas.style.top = ((gameHeight - (alto * optimalRatio))/2)+"px"; console.log("a "+canvas.style.left); }else { canvas.style.left = ((gameWidth - (ancho * optimalRatio))/2)+"px"; canvas.style.top = ((gameHeight - (alto * optimalRatio))/2)+"px"; canvas.style.width = ancho * optimalRatio + "px"; canvas.style.height = alto * optimalRatio + "px"; // console.log("b "+canvas.style.left); } scaleX = ancho/(gameWidth-(gameWidth-(ancho*optimalRatio)));//I use this for events, but it may not be necessary scaleY = alto/(gameHeight-(gameHeight - (alto*optimalRatio))); //console.log("scale x "+scaleX+" scaley "+scaleY); console.log("width "+ancho+" height "+alto); dataRatio.offx = parseInt(canvas.offsetLeft); dataRatio.offy = parseInt(canvas.offsetTop); if(playing){ engine.resize(); } } //fin de rPantalla : redimensionar la pantalla (end of resizing display) function init(){ dPantalla.w = window.innerWidth; dPantalla.h = window.innerHeight; dPantalla.rx = ~~(dPantalla.w/2); dPantalla.ry = ~~(dPantalla.h/2); canvas = document.getElementById('canvas1'); rPantalla(); //event resize, also change orientation window.addEventListener("resize", function () { setTimeout(rPantalla,300);//important this async }, false); } //end of init if you need more aspect ratios, tell me.
  12. diyo-games

    Babylon js developer

    hi, i sent a email. 😊
  13. diyo-games

    How to force HTML5 Game to load in Landscape mode

    here the advice to user to rotate device function setOrientation(){ if(window.innerWidth > window.innerHeight){ //device is landscape canvas.style.display="block"; imagePleaseRotateDisplay.style.display="none"; //resume the game }else if(window.innerHeight > window.innerWidth){ //device is portrait canvas.style.display="none"; imagePleaseRotateDisplay.style.display="block"; //pause the game } } window.addEventListener("resize", function () { setTimeout(setOrientation,200); //somewhere the coordinates update as asynchronous //that use the "setTimeout" }, false);
  14. Yes, I already know nodejs and babylonjs, but I want to take the course, to see what approach you give, And if you do that part would be wonderful, greetings.
  15. bought it. I hope the course has the part of creating game rooms, which has given me so much headache nodeJS