+ 4
Is making an entire game in html a sin?
I made a html port of subway surfers (I don't think anybody has done something like this) anyway check it out https://code.sololearn.com/W86Plth4Wr3L/?ref=app https://code.sololearn.com/WbRFV76HJHiF/?ref=app
14 odpowiedzi
+ 2
Thanks Noah Radcliffe Duncan To answer your question. I'd have to say it's not a sin but it may not be practical depending on how large the project becomes. It's a good practice to keep HTML pages relatively small for quicker initial loading. Then, as you have the user's attention, you can gradually preload additional content from other sources. This approach ensures that users get a snappy experience while still having access to rich content.
+ 8
3 things:
1) Is this your code? If not, it is HIGHLY encouraged you cite your source and give credit where it's due. If it is yours, nice work.
2) this may not be allowed...
3) this isn't the place to post this. You can post codes you want people to check out, in your feed. Q&A is for asking questions, hence the name...
Ok. 4 things,
4) it's actually not made entirely in HTML, in fact there's more JS than HTML.
+ 6
Nope sorry nothing new. Just an Iframe. All that extra code isn't needed.
https://code.sololearn.com/WtuW362mtI0d/?ref=app
+ 5
Anyone can commit a sin, as long as they repent afterward and say ten rosaries as penance. Only pineapple on pizza is unforgivable.
+ 2
Ok, so to answer Aaron Lee. It is not my code. I did write some of it. However, the game itself is from a webgl port, and it would be impossible for me to make this from scratch. And i first put this one on my website, so I copied it onto it here. I did on my website. However, i forgot to cite my sources. And I'm sorry i didn't realize this is where you post questions 😅 I'm a little new here. The reason I said "entirely html" was because I pasted it directly into html. Second Chris coder. It is an iframe. However, it's designed to be unblocked in schools. hence all the extra stuff. if that helps.
+ 1
Viktoriia Mostova
Chat GPT??
Is that you?😂(just kidding)
0
Jan Markus 🤣
0
omg this is great!!
0
This is cool
0
Mirielle You know that I am just kidding 😂 😜
0
<!DOCTYPE html>
<html><head><base target="_blank"><base target="_blank">
<style>body,html,iframe{margin:0;padding:0;height:100%;width:100%;overflow:hidden}.forceIosScrolling{overflow:scroll;-webkit-overflow-scrolling:touch}</style>
<script src="https://apis.google.com/_/scs/abc-static/_/js/k=gapi.lb.en.L92w_vMR5kE.O/m=gapi_rpc/rt=j/sv=1/d=1/ed=1/rs=AHpOoo-GjmyR8TQVDKPrbqj5UQg7cU3cCA/cb=gapi.loaded_0?le=scs" async=""></script><script src="https://apis.google.com/_/scs/abc-static/_/js/k=gapi.lb.tr.vtM7IqfIyiA.O/m=gapi_rpc/rt=j/sv=1/d=1/ed=1/rs=AHpOoo_r7A93gXyFeczdTXWLKRebiVNFgw/cb=gapi.loaded_0?le=scs" async=""></script><script src="https://apis.google.com/_/scs/abc-static/_/js/k=gapi.lb.tr.vtM7IqfIyiA.O/m=gapi_rpc/rt=j/sv=1/d=1/ed=1/rs=AHpOoo_r7A93gXyFeczdTXWLKRebiVNFgw/cb=gapi.loaded_0?le=scs" async=""></script><script>/******/ (() => { // webpackBootstrap
/******/ "use strict";
var __webpack_exports__ = {};
;// CONCATENATED MODULE: ../core/dist/flash-identifiers.js
const FLASH_MIMETYPE = "applic