cs6413110 / Pixel-Tanks

2 stars 2 forks source link

Level Voting #134

Open cs6413110 opened 7 months ago

cs6413110 commented 7 months ago

We need to organize level creation. Many of the levels we currently have were spontaneously created and could be improved. Here is where you will vote on each level so we can get popular opinion on each.

Here is how the voting system will work:

Heart = I really like this level Thumbs Up = Good level :) Thumbs Down = Bad Level, Too difficult or complex. Confused/Frown = Bad Level, Impossible to beat, Designed to lag ppl's devices, Low effort, etc. Rocket = Too difficult of a level, but good for later in the game. Eyes = mid level

@BreadSpam and I will post images of each level along with where it came from (level 1, tdm map, lobby map, etc.) and vote on each one. Do not post any comments or they will be deleted. If you have suggestions for a level, just tell @BreadSpam in-person.

Level Editor:

data:text/html,%3Cbody%3E%3C%2Fbody%3E%0A%3Cscript%3E%0Awindow.oncontextmenu%20%3D%20()%20%3D%3E%20false%3B%0A%0Aconst%20canvas%20%3D%20document.createElement('canvas')%2C%20draw%20%3D%20canvas.getContext('2d')%2C%20importer%20%3D%20document.createElement('input')%2C%20output%20%3D%20document.createElement('div')%2C%20coords%20%3D%20document.createElement('div')%2C%20select%20%3D%20document.createElement('div')%2C%20porter%20%3D%20document.createElement('BUTTON')%3B%0Adocument.body.innerHTML%20%2B%3D%20'%3Ch1%3EPixel%20Tanks%20Level%20Editor%3C%2Fh1%3E'%3B%0Acanvas.width%20%3D%20600%3B%0Acanvas.height%20%3D%20600%3B%0Acanvas.tabIndex%20%3D%201%3B%0Adocument.body.appendChild(coords)%3B%0Adocument.body.appendChild(output)%3B%0Adocument.body.appendChild(canvas)%3B%0Adocument.body.appendChild(select)%3B%0Adocument.body.appendChild(importer)%3B%0Adocument.body.appendChild(porter)%3B%0Aconst%20button_key%20%3D%20%7B%0A%20%20'B0'%3A%20'Eraser'%2C%0A%20%20'B1'%3A%20'Weak%20Block'%2C%0A%20%20'B2'%3A%20'Strong%20Block'%2C%0A%20%20'B3'%3A%20'Gold%20Block'%2C%0A%20%20'B4'%3A%20'Barrier%20Block'%2C%0A%20%20'B5'%3A%20'Void%20Block'%2C%0A%20%20'A0'%3A%20'Turret'%2C%0A%20%20'A1'%3A%20'Attacking%20AI'%2C%0A%20%20'A2'%3A%20'Supporting%20AI'%2C%0A%20%20'A3'%3A%20'Defending%20AI'%2C%0A%20%20'A4'%3A%20'Class%20Ability%20AI'%2C%0A%20%20'S'%3A%20'Global%20Player%20Spawn'%2C%0A%20%20'A'%3A%20'Spawn%20A'%2C%0A%20%20'B'%3A%20'Spawn%20B'%2C%0A%20%20'%40'%3A%20'Spike'%2C%0A%7D%3B%0Aconst%20image_key%20%3D%20%7B%0A%20%20'B0'%3A%20'data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABQAAAABCAQAAAB0m0auAAAADElEQVR42mNkIBIAAABSAAI2VLqiAAAAAElFTkSuQmCC'%2C%0A%20%20'B1'%3A%20'blocks%2Fweak'%2C%0A%20%20'B2'%3A%20'blocks%2Fstrong'%2C%0A%20%20'B3'%3A%20'blocks%2Fgold'%2C%0A%20%20'B4'%3A%20'blocks%2Fbarrier'%2C%0A%20%20'B5'%3A%20'blocks%2Fvoid'%2C%0A%20%20'B6'%3A%20'blocks%2Fbarrel'%2C%0A%20%20'B7'%3A%20'blocks%2Fhalfbarrier'%2C%0A%20%20'A0'%3A%20'tanks%2Fbase'%2C%0A%20%20'A1'%3A%20'tanks%2Fbase'%2C%0A%20%20'A2'%3A%20'tanks%2Fbase'%2C%0A%20%20'A3'%3A%20'tanks%2Fbase'%2C%0A%20%20'A4'%3A%20'tanks%2Fbase'%2C%0A%20%20'S'%3A%20'data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAH0lEQVR42mNk%2BC%2Fxn4GKgHHUwFEDRw0cNXDUwJFqIABtgCnNTYQqZgAAAABJRU5ErkJggg%3D%3D'%2C%0A%20%20'A'%3A%20'data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAHklEQVR42mP8z8AARNQDjKMGjho4auCogaMGjlQDAUwCJ%2B0NBcXlAAAAAElFTkSuQmCC'%2C%0A%20%20'B'%3A%20'data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAH0lEQVR42mNkkPj%2Fn4GKgHHUwFEDRw0cNXDUwJFqIABbdCnNVZ8NSQAAAABJRU5ErkJggg%3D%3D'%2C%0A%20%20'%40'%3A%20'blocks%2Fspike'%2C%0A%7D%3B%0A%0Alet%20world%20%3D%20%5B%5D%3B%0Afor%20(let%20y%20%3D%200%3B%20y%20%3C%2030%3B%20y%2B%2B)%20%7B%0A%20%20world%5By%5D%20%3D%20%5B%5D%3B%0A%20%20for%20(let%20x%20%3D%200%3B%20x%20%3C%2030%3B%20x%2B%2B)%20world%5By%5D%5Bx%5D%20%3D%20'B0'%3B%0A%7D%0A%0Alet%20current%20%3D%20'B0'%3B%0Afor%20(const%20id%20in%20button_key)%20%7B%0A%20%20const%20button%20%3D%20document.createElement('BUTTON')%3B%0A%20%20button.innerHTML%20%3D%20button_key%5Bid%5D%3B%0A%20%20button.addEventListener('click'%2C%20e%20%3D%3E%20%7B%0A%20%20%20%20current%20%3D%20id%3B%0A%20%20%20%20document.querySelectorAll('button').forEach(e%20%3D%3E%20%7B%0A%20%20%20%20%20%20e.style.border%20%3D%20'none'%3B%0A%20%20%20%20%7D)%3B%0A%20%20%20%20button.style.border%20%3D%20'5px%20solid%20black'%3B%0A%20%20%7D)%3B%0A%20%20select.appendChild(button)%3B%0A%7D%0Afor%20(const%20i%20in%20image_key)%20%7B%0A%20%20const%20src%20%3D%20image_key%5Bi%5D%3B%0A%20%20image_key%5Bi%5D%20%3D%20new%20Image()%3B%0A%20%20image_key%5Bi%5D.src%20%3D%20src.includes('data')%20%3F%20src%20%3A%20'https%3A%2F%2Fcs6413110.github.io%2FPixel-Tanks%2Fpublic%2Fimages%2F'%2Bsrc%2B'.png'%3B%0A%7D%0A%0Alet%20x%2C%20y%3B%0Acanvas.addEventListener('mousemove'%2C%20(e)%20%3D%3E%20%7B%0A%20%20x%20%3D%20e.offsetX%3B%0A%20%20y%20%3D%20e.offsetY%3B%0A%20%20coords.innerHTML%20%3D%20x%2B'%2C%20'%2By%3B%0A%7D)%3B%0Alet%20drawLoop%3B%0Acanvas.addEventListener('mousedown'%2C%20(e)%20%3D%3E%20%7B%0A%20%20clearInterval(drawLoop)%3B%0A%20%20drawer(e)%3B%0A%20%20drawLoop%20%3D%20setInterval(drawer%2C%2010%2C%20e)%3B%0A%7D)%3B%0Awindow.addEventListener('mouseup'%2C%20(e)%20%3D%3E%20%7B%0A%20%20clearInterval(drawLoop)%3B%0A%7D)%3B%0A%0Aconst%20drawer%20%3D%20(e)%20%3D%3E%20%7B%0A%20%20if%20(x%20%3E%200%20%26%26%20y%20%3E%200%20%26%26%20x%20%3C%20600%20%26%26%20y%20%3C%20600)%20%7B%0A%20%20%20%20world%5BMath.floor(y%2F20)%5D%5BMath.floor(x%2F20)%5D%20%3D%20e.button%20%3D%3D%3D%200%20%3F%20current%20%3A%20'B0'%3B%0A%20%20%20%20output.innerHTML%20%3D%20JSON.stringify(world)%3B%0A%20%20%7D%0A%7D%0A%0Aconst%20port%20%3D%20()%20%3D%3E%20%7B%0A%20%20try%20%7B%0A%20%20%20%20world%20%3D%20JSON.parse(importer.value)%3B%0A%20%20%7D%20catch(e)%20%7Balert('Error%20Parsing%20Level%20Code')%7D%0A%7D%0A%0Aconst%20render%20%3D%20()%20%3D%3E%20%7B%0A%20%20draw.clearRect(0%2C%200%2C%20600%2C%20600)%3B%0A%20%20draw.strokeStyle%20%3D%20'%23000000'%3B%0A%20%20for%20(let%20i%20%3D%201%3B%20i%20%3C%2030%3B%20i%2B%2B)%20%7B%0A%20%20%20%20draw.beginPath()%3B%0A%20%20%20%20draw.moveTo(i*20%2C%200)%3B%0A%20%20%20%20draw.lineTo(i*20%2C%20600)%3B%0A%20%20%20%20draw.stroke()%3B%0A%20%20%20%20draw.beginPath()%3B%0A%20%20%20%20draw.moveTo(0%2C%20i*20)%3B%0A%20%20%20%20draw.lineTo(600%2C%20i*20)%3B%0A%20%20%20%20draw.stroke()%3B%0A%20%20%7D%0A%20%20for%20(const%20y%20in%20world)%20%7B%0A%20%20%20%20for%20(const%20x%20in%20world%5By%5D)%20%7B%0A%20%20%20%20%20%20draw.drawImage(image_key%5Bworld%5By%5D%5Bx%5D%5D%2C%20x*20%2C%20y*20%2C%2020%2C%2020)%3B%0A%20%20%20%20%7D%0A%20%20%7D%0A%20%20requestAnimationFrame(render)%3B%0A%7D%0ArequestAnimationFrame(render)%3B%0A%3C%2Fscript%3E
cs6413110 commented 7 months ago

I will post levels here once we get to it, just ignore this until I start posting them.

CelestialKnight7 commented 6 months ago

not relevant rn so unpinning but can repin when levels start getting made again

CelestialKnight7 commented 6 months ago

croing

CelestialKnight7 commented 6 months ago

repinned cuz level maker exists now

BreadSpam commented 6 months ago

Still waiting for link

CelestialKnight7 commented 6 months ago

its in the other issue sor

CelestialKnight7 commented 6 months ago

https://github.com/cs6413110/Pixel-Tanks/issues/334

BreadSpam commented 6 months ago

editor cant load levels :(

CelestialKnight7 commented 6 months ago

level editor doesn't show levels if u put in the map codes so can't vote :(

BreadSpam commented 6 months ago

ye @cs641311 FIX

CelestialKnight7 commented 6 months ago

just add anyways

no

BreadSpam commented 4 months ago

aaron fix the level editor so we can see this map

CelestialKnight7 commented 4 months ago

YES pLZ

cs6413110 commented 4 months ago

Closing. We will redo all

BreadSpam commented 4 months ago

after u fix level editor

BreadSpam commented 4 months ago

link plz?

BreadSpam commented 4 months ago

still has the no pasting level bug :(. Aaron can u make a real link?

CelestialKnight7 commented 4 months ago

fix plz

BreadSpam commented 4 months ago

fixxxx

cs6413110 commented 4 months ago

Mold

BreadSpam commented 4 months ago

how about fix editor??

BreadSpam commented 4 months ago

paste level feature dosent work

CelestialKnight7 commented 4 months ago

no, fixing the level editor will allow us to remove bad maps and vote on new ones

BreadSpam commented 4 months ago

ye so dont close

cs6413110 commented 4 months ago

Ok but still close

CelestialKnight7 commented 4 months ago

nuh uh

BreadSpam commented 4 months ago

ye nuh uh

BreadSpam commented 4 months ago

ye

BreadSpam commented 1 month ago

nuh uh

BreadSpam commented 1 month ago

fix editor link

CelestialKnight7 commented 4 weeks ago

jeez this is old

CelestialKnight7 commented 4 weeks ago

@DarkMemeGod411 make levels for multiplayer

-duels -ffa -tdm (different from duels though they can have some be the same) -defense -juggernaut

BreadSpam commented 4 weeks ago

as long as we vote on them, and they are gud

CelestialKnight7 commented 3 weeks ago

@@DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 D@DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 arkMemeGod411@DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMeme@DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGo@DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 @DarkMemeGod411 d411 God411

DarkMemeGod411 commented 3 weeks ago

YES! Working on it now. ty

BreadSpam commented 3 weeks ago

link still doesn't have a working paste feature :(

DarkMemeGod411 commented 3 weeks ago

link still doesn't have a working paste feature :(

yeah, fix

CelestialKnight7 commented 3 weeks ago

image

LostKing73 commented 3 weeks ago

y is it so pixilated

LostKing73 commented 3 weeks ago

image

LostKing73 commented 3 weeks ago

image

BreadSpam commented 3 weeks ago

I need this cosmetic @CelestialKnight7 add

LostKing73 commented 3 weeks ago

I need this cosmetic @CelestialKnight7 add

  1. I can add
  2. what cosmet??
LostKing73 commented 3 weeks ago

cuz, ya know, im in charge of cosmets?

CelestialKnight7 commented 3 weeks ago

i permit you to make it a cosmetic but make it look nicer by redoing it in pixel art

CelestialKnight7 commented 3 weeks ago

@LostKing73 add

LostKing73 commented 3 weeks ago

wa ok?

LostKing73 commented 3 weeks ago

i dont.. is this good? image

BreadSpam commented 3 weeks ago

no hands. fix

BreadSpam commented 3 weeks ago

and remove the bands. victim is gone for a reason