Image

这次的ThatGameJam是真的端了依托上去,就是来体验ddl的紧迫感了哈哈(也认识了几个好友,羁绊之力真不错😋),主要就是研究了多窗口在横板游戏中的作用了说是,也研究的挺爽的,摸透了常用的坐标系之间的转换,感觉能玩很多好玩的小东西😄

访问itch大份界面

坏了期末周了,感觉好多都不会,好多水课的任务也没做,但是也不想去学和做,真的浪费时间吧可恶,更想去学些感兴趣的游戏开发知识,毁了😅

待会上传一个多窗口教程v2,然后就干啥呢?算了去看瑞莫吧,姥爷的传送枪做到游戏里肯定帅😋

(function(){const bgImages=['https://source.unsplash.com/1920x1080/?nature,landscape','https://source.unsplash.com/1920x1080/?abstract,minimal','https://source.unsplash.com/1920x1080/?art,creative','https://source.unsplash.com/1920x1080/?sky,cloud','https://source.unsplash.com/1920x1080/?ocean,beach'];let currentIndex=0,bgLayers=[];function init(){const container=document.createElement('div');container.className='gmeek-bg-container';for(let i=0;i<2;i++){const layer=document.createElement('div');layer.className='gmeek-random-bg';container.appendChild(layer);bgLayers.push(layer)}document.body.insertBefore(container,document.body.firstChild);setTimeout(()=>switchBackground(),500);setInterval(switchBackground,15000)}function switchBackground(){const current=bgLayers[currentIndex%2],next=bgLayers[(currentIndex+1)%2],randomBg=bgImages[Math.floor(Math.random()*bgImages.length)]+'?t='+Date.now();const img=new Image;img.onload=function(){next.style.backgroundImage=`url('${randomBg}')`;setTimeout(()=>{next.classList.add('active');current.classList.remove('active')},100)};img.src=randomBg;currentIndex++}document.readyState==='loading'?document.addEventListener('DOMContentLoaded',init):init()})();