初始化提交

This commit is contained in:
2025-10-03 16:49:53 +08:00
parent 157ca32e2d
commit bdd67a65fa
1066 changed files with 373311 additions and 261 deletions

View File

View File

@@ -0,0 +1,29 @@
<sence>
<div class="test-element">Hello PE Engine!</div>
</sence>
<script>
window.onLoad(()=>{
console.log("Simple test scene loaded")
})
</script>
<style>
.test-element {
width: 200px;
height: 100px;
background-color: #4CAF50;
color: white;
display: flex;
align-items: center;
justify-content: center;
position: absolute;
top: 100px;
left: 100px;
border: 2px solid #45a049;
border-radius: 4px;
font-family: Arial, sans-serif;
font-size: 18px;
font-weight: bold;
}
</style>

View File

@@ -0,0 +1,32 @@
<sence>
<box class="test-box">测试盒子</box>
<sprite class="test-sprite"></sprite>
</sence>
<script>
window.onLoad(()=>{
console.log("测试场景加载完成")
})
</script>
<style>
.test-box {
width: 200px;
height: 100px;
background-color: green;
border: 2px solid darkgreen;
color: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
}
.test-sprite {
width: 100px;
height: 100px;
background-color: purple;
border-radius: 50%;
margin-top: 20px;
}
</style>