Conectar-se
Quem está conectado
29 usuários online :: Nenhum usuário registrado, Nenhum Invisível e 29 Visitantes

Nenhum

Ver toda a lista


Compartilhe
Ver o tópico anteriorIr em baixoVer o tópico seguinte
avatar
Data de inscrição : 15/08/2010
Número de Mensagens : 1598
Insígnias de JAM :

Insignia 1x 0 Insignia 2x 0 Insignia 3x 0
Reputação : 147

Prêmios
   : 0
   : 0
   : 0
Ver perfil do usuáriohttp://spyreserver.16mb.com

duvida com sistema de sprite diferente

em Qua 27 Ago 2014, 14:45
Boom, eu criei um sistema que transforma um sprite em codigo gml, e queria saber se algo desse tipo tem utilidade, acho que seria bem pesado, porque cria diversas arrays, mais pode ser que exista alguma utilidade pra isso...

Ai, vai um exemplo:

Create event:
Código:

sprite__width=32
sprite__height=32
Sprite_lol[0,0]=4235519
Sprite_lol[0,1]=4235519
Sprite_lol[0,2]=4235519
Sprite_lol[0,3]=4235519
Sprite_lol[0,4]=4235519
Sprite_lol[0,5]=4235519
Sprite_lol[0,6]=4235519
Sprite_lol[0,7]=4235519
Sprite_lol[0,8]=4235519
Sprite_lol[0,9]=4235519
Sprite_lol[0,10]=4235519
Sprite_lol[0,11]=4235519
Sprite_lol[0,12]=4235519
Sprite_lol[0,13]=4235519
Sprite_lol[0,14]=4235519
Sprite_lol[0,15]=4235519
Sprite_lol[0,16]=4235519
Sprite_lol[0,17]=4235519
Sprite_lol[0,18]=4235519
Sprite_lol[0,19]=4235519
Sprite_lol[0,20]=4235519
Sprite_lol[0,21]=4235519
Sprite_lol[0,22]=4235519
Sprite_lol[0,23]=4235519
Sprite_lol[0,24]=4235519
Sprite_lol[0,25]=4235519
Sprite_lol[0,26]=4235519
Sprite_lol[0,27]=4235519
Sprite_lol[0,28]=4235519
Sprite_lol[0,29]=4235519
Sprite_lol[0,30]=4235519
Sprite_lol[0,31]=4235519
Sprite_lol[1,0]=4235519
Sprite_lol[1,1]=4235519
Sprite_lol[1,2]=4235519
Sprite_lol[1,3]=4235519
Sprite_lol[1,4]=4235519
Sprite_lol[1,5]=4235519
Sprite_lol[1,6]=4235519
Sprite_lol[1,7]=4235519
Sprite_lol[1,8]=4235519
Sprite_lol[1,9]=4235519
Sprite_lol[1,10]=4235519
Sprite_lol[1,11]=4235519
Sprite_lol[1,12]=4235519
Sprite_lol[1,13]=4235519
Sprite_lol[1,14]=4235519
Sprite_lol[1,15]=4235519
Sprite_lol[1,16]=4235519
Sprite_lol[1,17]=4235519
Sprite_lol[1,18]=4235519
Sprite_lol[1,19]=4235519
Sprite_lol[1,20]=4235519
Sprite_lol[1,21]=4235519
Sprite_lol[1,22]=4235519
Sprite_lol[1,23]=4235519
Sprite_lol[1,24]=4235519
Sprite_lol[1,25]=4235519
Sprite_lol[1,26]=4235519
Sprite_lol[1,27]=4235519
Sprite_lol[1,28]=4235519
Sprite_lol[1,29]=4235519
Sprite_lol[1,30]=4235519
Sprite_lol[1,31]=4235519
Sprite_lol[2,0]=4235519
Sprite_lol[2,1]=4235519
Sprite_lol[2,2]=4235519
Sprite_lol[2,3]=4235519
Sprite_lol[2,4]=4235519
Sprite_lol[2,5]=4235519
Sprite_lol[2,6]=4235519
Sprite_lol[2,7]=4235519
Sprite_lol[2,8]=4235519
Sprite_lol[2,9]=4235519
Sprite_lol[2,10]=4235519
Sprite_lol[2,11]=4235519
Sprite_lol[2,12]=4235519
Sprite_lol[2,13]=4235519
Sprite_lol[2,14]=4235519
Sprite_lol[2,15]=4235519
Sprite_lol[2,16]=4235519
Sprite_lol[2,17]=4235519
Sprite_lol[2,18]=4235519
Sprite_lol[2,19]=4235519
Sprite_lol[2,20]=4235519
Sprite_lol[2,21]=4235519
Sprite_lol[2,22]=4235519
Sprite_lol[2,23]=4235519
Sprite_lol[2,24]=4235519
Sprite_lol[2,25]=4235519
Sprite_lol[2,26]=4235519
Sprite_lol[2,27]=4235519
Sprite_lol[2,28]=4235519
Sprite_lol[2,29]=4235519
Sprite_lol[2,30]=4235519
Sprite_lol[2,31]=4235519
Sprite_lol[3,0]=4235519
Sprite_lol[3,1]=4235519
Sprite_lol[3,2]=4235519
Sprite_lol[3,3]=4235519
Sprite_lol[3,4]=4235519
Sprite_lol[3,5]=4235519
Sprite_lol[3,6]=4235519
Sprite_lol[3,7]=4235519
Sprite_lol[3,8]=4235519
Sprite_lol[3,9]=4235519
Sprite_lol[3,10]=4235519
Sprite_lol[3,11]=4235519
Sprite_lol[3,12]=3309011
Sprite_lol[3,13]=2382247
Sprite_lol[3,14]=594767
Sprite_lol[3,15]=594767
Sprite_lol[3,16]=594767
Sprite_lol[3,17]=594767
Sprite_lol[3,18]=2382247
Sprite_lol[3,19]=3309011
Sprite_lol[3,20]=4235519
Sprite_lol[3,21]=4235519
Sprite_lol[3,22]=4235519
Sprite_lol[3,23]=4235519
Sprite_lol[3,24]=4235519
Sprite_lol[3,25]=4235519
Sprite_lol[3,26]=4235519
Sprite_lol[3,27]=4235519
Sprite_lol[3,28]=4235519
Sprite_lol[3,29]=4235519
Sprite_lol[3,30]=4235519
Sprite_lol[3,31]=4235519
Sprite_lol[4,0]=4235519
Sprite_lol[4,1]=4235519
Sprite_lol[4,2]=4235519
Sprite_lol[4,3]=4235519
Sprite_lol[4,4]=4235519
Sprite_lol[4,5]=4235519
Sprite_lol[4,6]=4235519
Sprite_lol[4,7]=4235519
Sprite_lol[4,8]=4235519
Sprite_lol[4,9]=4235519
Sprite_lol[4,10]=3309011
Sprite_lol[4,11]=594767
Sprite_lol[4,12]=594767
Sprite_lol[4,13]=594767
Sprite_lol[4,14]=1189275
Sprite_lol[4,15]=1189275
Sprite_lol[4,16]=1189275
Sprite_lol[4,17]=1189275
Sprite_lol[4,18]=594767
Sprite_lol[4,19]=594767
Sprite_lol[4,20]=594767
Sprite_lol[4,21]=2382247
Sprite_lol[4,22]=3309011
Sprite_lol[4,23]=4235519
Sprite_lol[4,24]=4235519
Sprite_lol[4,25]=4235519
Sprite_lol[4,26]=4235519
Sprite_lol[4,27]=4235519
Sprite_lol[4,28]=4235519
Sprite_lol[4,29]=4235519
Sprite_lol[4,30]=4235519
Sprite_lol[4,31]=4235519
Sprite_lol[5,0]=4235519
Sprite_lol[5,1]=4235519
Sprite_lol[5,2]=4235519
Sprite_lol[5,3]=4235519
Sprite_lol[5,4]=4235519
Sprite_lol[5,5]=4235519
Sprite_lol[5,6]=4235519
Sprite_lol[5,7]=4235519
Sprite_lol[5,8]=4235519
Sprite_lol[5,9]=3309011
Sprite_lol[5,10]=594767
Sprite_lol[5,11]=924789
Sprite_lol[5,12]=1453761
Sprite_lol[5,13]=1717990
Sprite_lol[5,14]=1717990
Sprite_lol[5,15]=1717990
Sprite_lol[5,16]=1717990
Sprite_lol[5,17]=1717990
Sprite_lol[5,18]=1717990
Sprite_lol[5,19]=1453761
Sprite_lol[5,20]=1189275
Sprite_lol[5,21]=594767
Sprite_lol[5,22]=594767
Sprite_lol[5,23]=594767
Sprite_lol[5,24]=2382247
Sprite_lol[5,25]=4235519
Sprite_lol[5,26]=4235519
Sprite_lol[5,27]=4235519
Sprite_lol[5,28]=4235519
Sprite_lol[5,29]=4235519
Sprite_lol[5,30]=4235519
Sprite_lol[5,31]=4235519
Sprite_lol[6,0]=4235519
Sprite_lol[6,1]=4235519
Sprite_lol[6,2]=4235519
Sprite_lol[6,3]=4235519
Sprite_lol[6,4]=4235519
Sprite_lol[6,5]=4235519
Sprite_lol[6,6]=4235519
Sprite_lol[6,7]=4235519
Sprite_lol[6,8]=3309011
Sprite_lol[6,9]=594767
Sprite_lol[6,10]=924789
Sprite_lol[6,11]=1717990
Sprite_lol[6,12]=1717990
Sprite_lol[6,13]=4348395
Sprite_lol[6,14]=6978799
Sprite_lol[6,15]=6978799
Sprite_lol[6,16]=4348395
Sprite_lol[6,17]=1717990
Sprite_lol[6,18]=1717990
Sprite_lol[6,19]=1717990
Sprite_lol[6,20]=1717990
Sprite_lol[6,21]=1717990
Sprite_lol[6,22]=1453761
Sprite_lol[6,23]=1189275
Sprite_lol[6,24]=594767
Sprite_lol[6,25]=594767
Sprite_lol[6,26]=3309011
Sprite_lol[6,27]=4235519
Sprite_lol[6,28]=4235519
Sprite_lol[6,29]=4235519
Sprite_lol[6,30]=4235519
Sprite_lol[6,31]=4235519
Sprite_lol[7,0]=4235519
Sprite_lol[7,1]=4235519
Sprite_lol[7,2]=4235519
Sprite_lol[7,3]=4235519
Sprite_lol[7,4]=4235519
Sprite_lol[7,5]=4235519
Sprite_lol[7,6]=4235519
Sprite_lol[7,7]=3309011
Sprite_lol[7,8]=594767
Sprite_lol[7,9]=924789
Sprite_lol[7,10]=1717990
Sprite_lol[7,11]=4348395
Sprite_lol[7,12]=12174071
Sprite_lol[7,13]=12174071
Sprite_lol[7,14]=12174071
Sprite_lol[7,15]=12174071
Sprite_lol[7,16]=12174071
Sprite_lol[7,17]=1717990
Sprite_lol[7,18]=1717990
Sprite_lol[7,19]=1717990
Sprite_lol[7,20]=1717990
Sprite_lol[7,21]=1717990
Sprite_lol[7,22]=1717990
Sprite_lol[7,23]=1717990
Sprite_lol[7,24]=1717990
Sprite_lol[7,25]=924789
Sprite_lol[7,26]=594767
Sprite_lol[7,27]=3309011
Sprite_lol[7,28]=4235519
Sprite_lol[7,29]=4235519
Sprite_lol[7,30]=4235519
Sprite_lol[7,31]=4235519
Sprite_lol[8,0]=4235519
Sprite_lol[8,1]=4235519
Sprite_lol[8,2]=4235519
Sprite_lol[8,3]=4235519
Sprite_lol[8,4]=4235519
Sprite_lol[8,5]=4235519
Sprite_lol[8,6]=4235519
Sprite_lol[8,7]=594767
Sprite_lol[8,8]=924789
Sprite_lol[8,9]=1717990
Sprite_lol[8,10]=4348395
Sprite_lol[8,11]=12174071
Sprite_lol[8,12]=12174071
Sprite_lol[8,13]=12174071
Sprite_lol[8,14]=12174071
Sprite_lol[8,15]=12174071
Sprite_lol[8,16]=4348395
Sprite_lol[8,17]=1717990
Sprite_lol[8,18]=1717990
Sprite_lol[8,19]=1717990
Sprite_lol[8,20]=1717990
Sprite_lol[8,21]=1717990
Sprite_lol[8,22]=1717990
Sprite_lol[8,23]=1717990
Sprite_lol[8,24]=1717990
Sprite_lol[8,25]=1717990
Sprite_lol[8,26]=924789
Sprite_lol[8,27]=594767
Sprite_lol[8,28]=3309011
Sprite_lol[8,29]=4235519
Sprite_lol[8,30]=4235519
Sprite_lol[8,31]=4235519
Sprite_lol[9,0]=4235519
Sprite_lol[9,1]=4235519
Sprite_lol[9,2]=4235519
Sprite_lol[9,3]=4235519
Sprite_lol[9,4]=4235519
Sprite_lol[9,5]=4235519
Sprite_lol[9,6]=2382247
Sprite_lol[9,7]=594767
Sprite_lol[9,8]=1717990
Sprite_lol[9,9]=1717990
Sprite_lol[9,10]=9609203
Sprite_lol[9,11]=12174071
Sprite_lol[9,12]=12174071
Sprite_lol[9,13]=12174071
Sprite_lol[9,14]=12174071
Sprite_lol[9,15]=4348395
Sprite_lol[9,16]=1717990
Sprite_lol[9,17]=1717990
Sprite_lol[9,18]=1717990
Sprite_lol[9,19]=1717990
Sprite_lol[9,20]=1717990
Sprite_lol[9,21]=1717990
Sprite_lol[9,22]=1717990
Sprite_lol[9,23]=1717990
Sprite_lol[9,24]=1717990
Sprite_lol[9,25]=1717990
Sprite_lol[9,26]=1717990
Sprite_lol[9,27]=924789
Sprite_lol[9,28]=594767
Sprite_lol[9,29]=4235519
Sprite_lol[9,30]=4235519
Sprite_lol[9,31]=4235519
Sprite_lol[10,0]=4235519
Sprite_lol[10,1]=4235519
Sprite_lol[10,2]=4235519
Sprite_lol[10,3]=4235519
Sprite_lol[10,4]=4235519
Sprite_lol[10,5]=4235519
Sprite_lol[10,6]=594767
Sprite_lol[10,7]=1189275
Sprite_lol[10,8]=1717990
Sprite_lol[10,9]=1717990
Sprite_lol[10,10]=12174071
Sprite_lol[10,11]=12174071
Sprite_lol[10,12]=12174071
Sprite_lol[10,13]=12174071
Sprite_lol[10,14]=4348395
Sprite_lol[10,15]=1717990
Sprite_lol[10,16]=1717990
Sprite_lol[10,17]=1717990
Sprite_lol[10,18]=1717990
Sprite_lol[10,19]=1717990
Sprite_lol[10,20]=1717990
Sprite_lol[10,21]=1717990
Sprite_lol[10,22]=1717990
Sprite_lol[10,23]=1717990
Sprite_lol[10,24]=1717990
Sprite_lol[10,25]=1717990
Sprite_lol[10,26]=1717990
Sprite_lol[10,27]=1717990
Sprite_lol[10,28]=594767
Sprite_lol[10,29]=2382247
Sprite_lol[10,30]=4235519
Sprite_lol[10,31]=4235519
Sprite_lol[11,0]=4235519
Sprite_lol[11,1]=4235519
Sprite_lol[11,2]=4235519
Sprite_lol[11,3]=4235519
Sprite_lol[11,4]=4235519
Sprite_lol[11,5]=4235519
Sprite_lol[11,6]=594767
Sprite_lol[11,7]=1189275
Sprite_lol[11,8]=1717990
Sprite_lol[11,9]=1717990
Sprite_lol[11,10]=1717990
Sprite_lol[11,11]=6978799
Sprite_lol[11,12]=6978799
Sprite_lol[11,13]=1717990
Sprite_lol[11,14]=1717990
Sprite_lol[11,15]=1717990
Sprite_lol[11,16]=1717990
Sprite_lol[11,17]=1717990
Sprite_lol[11,18]=1717990
Sprite_lol[11,19]=1717990
Sprite_lol[11,20]=1717990
Sprite_lol[11,21]=1717990
Sprite_lol[11,22]=1717990
Sprite_lol[11,23]=1717990
Sprite_lol[11,24]=1717990
Sprite_lol[11,25]=1717990
Sprite_lol[11,26]=1717990
Sprite_lol[11,27]=1453763
Sprite_lol[11,28]=924791
Sprite_lol[11,29]=594767
Sprite_lol[11,30]=4235519
Sprite_lol[11,31]=4235519
Sprite_lol[12,0]=4235519
Sprite_lol[12,1]=4235519
Sprite_lol[12,2]=4235519
Sprite_lol[12,3]=4235519
Sprite_lol[12,4]=4235519
Sprite_lol[12,5]=4235519
Sprite_lol[12,6]=594767
Sprite_lol[12,7]=1189275
Sprite_lol[12,8]=1717990
Sprite_lol[12,9]=1717990
Sprite_lol[12,10]=1717990
Sprite_lol[12,11]=1717990
Sprite_lol[12,12]=1717990
Sprite_lol[12,13]=1717990
Sprite_lol[12,14]=1717990
Sprite_lol[12,15]=1717990
Sprite_lol[12,16]=1717990
Sprite_lol[12,17]=1717990
Sprite_lol[12,18]=1717990
Sprite_lol[12,19]=1717990
Sprite_lol[12,20]=1717990
Sprite_lol[12,21]=1717990
Sprite_lol[12,22]=1717990
Sprite_lol[12,23]=1717990
Sprite_lol[12,24]=1717990
Sprite_lol[12,25]=1717990
Sprite_lol[12,26]=1717990
Sprite_lol[12,27]=1189279
Sprite_lol[12,28]=924791
Sprite_lol[12,29]=594767
Sprite_lol[12,30]=4235519
Sprite_lol[12,31]=4235519
Sprite_lol[13,0]=4235519
Sprite_lol[13,1]=4235519
Sprite_lol[13,2]=4235519
Sprite_lol[13,3]=4235519
Sprite_lol[13,4]=4235519
Sprite_lol[13,5]=4235519
Sprite_lol[13,6]=594767
Sprite_lol[13,7]=924789
Sprite_lol[13,8]=1717990
Sprite_lol[13,9]=1717990
Sprite_lol[13,10]=1717990
Sprite_lol[13,11]=1717990
Sprite_lol[13,12]=1717990
Sprite_lol[13,13]=1717990
Sprite_lol[13,14]=1717990
Sprite_lol[13,15]=1717990
Sprite_lol[13,16]=1717990
Sprite_lol[13,17]=1717990
Sprite_lol[13,18]=1717990
Sprite_lol[13,19]=1717990
Sprite_lol[13,20]=1717990
Sprite_lol[13,21]=1717990
Sprite_lol[13,22]=1717990
Sprite_lol[13,23]=1717990
Sprite_lol[13,24]=1717990
Sprite_lol[13,25]=1717990
Sprite_lol[13,26]=1453763
Sprite_lol[13,27]=1189279
Sprite_lol[13,28]=924791
Sprite_lol[13,29]=594767
Sprite_lol[13,30]=4235519
Sprite_lol[13,31]=4235519
Sprite_lol[14,0]=4235519
Sprite_lol[14,1]=4235519
Sprite_lol[14,2]=4235519
Sprite_lol[14,3]=4235519
Sprite_lol[14,4]=4235519
Sprite_lol[14,5]=4235519
Sprite_lol[14,6]=3441113
Sprite_lol[14,7]=594767
Sprite_lol[14,8]=1189275
Sprite_lol[14,9]=1717990
Sprite_lol[14,10]=1717990
Sprite_lol[14,11]=1717990
Sprite_lol[14,12]=1717990
Sprite_lol[14,13]=1717990
Sprite_lol[14,14]=1717990
Sprite_lol[14,15]=1717990
Sprite_lol[14,16]=1717990
Sprite_lol[14,17]=1717990
Sprite_lol[14,18]=1717990
Sprite_lol[14,19]=1717990
Sprite_lol[14,20]=1717990
Sprite_lol[14,21]=1717990
Sprite_lol[14,22]=1717990
Sprite_lol[14,23]=1717990
Sprite_lol[14,24]=1717990
Sprite_lol[14,25]=1717990
Sprite_lol[14,26]=1189279
Sprite_lol[14,27]=1189279
Sprite_lol[14,28]=924791
Sprite_lol[14,29]=594767
Sprite_lol[14,30]=4235519
Sprite_lol[14,31]=4235519
Sprite_lol[15,0]=4235519
Sprite_lol[15,1]=4235519
Sprite_lol[15,2]=4235519
Sprite_lol[15,3]=4235519
Sprite_lol[15,4]=3242712
Sprite_lol[15,5]=2713540
Sprite_lol[15,6]=2249905
Sprite_lol[15,7]=594767
Sprite_lol[15,8]=1189275
Sprite_lol[15,9]=1717990
Sprite_lol[15,10]=1717990
Sprite_lol[15,11]=1717990
Sprite_lol[15,12]=1717990
Sprite_lol[15,13]=1717990
Sprite_lol[15,14]=1717990
Sprite_lol[15,15]=1717990
Sprite_lol[15,16]=1717990
Sprite_lol[15,17]=1717990
Sprite_lol[15,18]=1717990
Sprite_lol[15,19]=1717990
Sprite_lol[15,20]=1717990
Sprite_lol[15,21]=1717990
Sprite_lol[15,22]=1717990
Sprite_lol[15,23]=1717990
Sprite_lol[15,24]=1717990
Sprite_lol[15,25]=1453763
Sprite_lol[15,26]=1189279
Sprite_lol[15,27]=1189279
Sprite_lol[15,28]=594767
Sprite_lol[15,29]=3309011
Sprite_lol[15,30]=4235519
Sprite_lol[15,31]=4235519
Sprite_lol[16,0]=4235519
Sprite_lol[16,1]=4235519
Sprite_lol[16,2]=2713540
Sprite_lol[16,3]=2249905
Sprite_lol[16,4]=1786506
Sprite_lol[16,5]=1522038
Sprite_lol[16,6]=1257570
Sprite_lol[16,7]=594767
Sprite_lol[16,8]=1189275
Sprite_lol[16,9]=1717990
Sprite_lol[16,10]=1717990
Sprite_lol[16,11]=1717990
Sprite_lol[16,12]=1717990
Sprite_lol[16,13]=1717990
Sprite_lol[16,14]=1717990
Sprite_lol[16,15]=1717990
Sprite_lol[16,16]=1717990
Sprite_lol[16,17]=1717990
Sprite_lol[16,18]=1717990
Sprite_lol[16,19]=1717990
Sprite_lol[16,20]=1717990
Sprite_lol[16,21]=1717990
Sprite_lol[16,22]=1717990
Sprite_lol[16,23]=1717990
Sprite_lol[16,24]=1717990
Sprite_lol[16,25]=1453763
Sprite_lol[16,26]=1189279
Sprite_lol[16,27]=1189279
Sprite_lol[16,28]=594767
Sprite_lol[16,29]=3309011
Sprite_lol[16,30]=4235519
Sprite_lol[16,31]=4235519
Sprite_lol[17,0]=4235519
Sprite_lol[17,1]=4235519
Sprite_lol[17,2]=1257570
Sprite_lol[17,3]=1257570
Sprite_lol[17,4]=2713776
Sprite_lol[17,5]=3441367
Sprite_lol[17,6]=3375060
Sprite_lol[17,7]=594767
Sprite_lol[17,8]=1189275
Sprite_lol[17,9]=1717990
Sprite_lol[17,10]=1717990
Sprite_lol[17,11]=1717990
Sprite_lol[17,12]=1717990
Sprite_lol[17,13]=1717990
Sprite_lol[17,14]=1717990
Sprite_lol[17,15]=1717990
Sprite_lol[17,16]=1717990
Sprite_lol[17,17]=1717990
Sprite_lol[17,18]=1717990
Sprite_lol[17,19]=1717990
Sprite_lol[17,20]=1717990
Sprite_lol[17,21]=1717990
Sprite_lol[17,22]=1717990
Sprite_lol[17,23]=1717990
Sprite_lol[17,24]=1717990
Sprite_lol[17,25]=1717990
Sprite_lol[17,26]=1189279
Sprite_lol[17,27]=1189279
Sprite_lol[17,28]=924791
Sprite_lol[17,29]=594767
Sprite_lol[17,30]=4235519
Sprite_lol[17,31]=4235519
Sprite_lol[18,0]=4235519
Sprite_lol[18,1]=4235519
Sprite_lol[18,2]=2713776
Sprite_lol[18,3]=4235519
Sprite_lol[18,4]=4235519
Sprite_lol[18,5]=4235519
Sprite_lol[18,6]=594767
Sprite_lol[18,7]=924789
Sprite_lol[18,8]=1717990
Sprite_lol[18,9]=1717990
Sprite_lol[18,10]=1717990
Sprite_lol[18,11]=1717990
Sprite_lol[18,12]=1717990
Sprite_lol[18,13]=1717990
Sprite_lol[18,14]=1717990
Sprite_lol[18,15]=1717990
Sprite_lol[18,16]=1717990
Sprite_lol[18,17]=1717990
Sprite_lol[18,18]=1717990
Sprite_lol[18,19]=1717990
Sprite_lol[18,20]=1717990
Sprite_lol[18,21]=1717990
Sprite_lol[18,22]=1717990
Sprite_lol[18,23]=1717990
Sprite_lol[18,24]=1717990
Sprite_lol[18,25]=1717990
Sprite_lol[18,26]=1453763
Sprite_lol[18,27]=1189279
Sprite_lol[18,28]=924791
Sprite_lol[18,29]=594767
Sprite_lol[18,30]=4235519
Sprite_lol[18,31]=4235519
Sprite_lol[19,0]=4235519
Sprite_lol[19,1]=4235519
Sprite_lol[19,2]=4235519
Sprite_lol[19,3]=4235519
Sprite_lol[19,4]=4235519
Sprite_lol[19,5]=4235519
Sprite_lol[19,6]=594767
Sprite_lol[19,7]=1189275
Sprite_lol[19,8]=1717990
Sprite_lol[19,9]=1717990
Sprite_lol[19,10]=1717990
Sprite_lol[19,11]=1717990
Sprite_lol[19,12]=1717990
Sprite_lol[19,13]=1717990
Sprite_lol[19,14]=1717990
Sprite_lol[19,15]=1717990
Sprite_lol[19,16]=1717990
Sprite_lol[19,17]=1717990
Sprite_lol[19,18]=1717990
Sprite_lol[19,19]=1717990
Sprite_lol[19,20]=1717990
Sprite_lol[19,21]=1717990
Sprite_lol[19,22]=1717990
Sprite_lol[19,23]=1717990
Sprite_lol[19,24]=1717990
Sprite_lol[19,25]=1717990
Sprite_lol[19,26]=1189279
Sprite_lol[19,27]=1189279
Sprite_lol[19,28]=924791
Sprite_lol[19,29]=594767
Sprite_lol[19,30]=4235519
Sprite_lol[19,31]=4235519
Sprite_lol[20,0]=4235519
Sprite_lol[20,1]=4235519
Sprite_lol[20,2]=4235519
Sprite_lol[20,3]=4235519
Sprite_lol[20,4]=4235519
Sprite_lol[20,5]=4235519
Sprite_lol[20,6]=594767
Sprite_lol[20,7]=1189275
Sprite_lol[20,8]=1717990
Sprite_lol[20,9]=1717990
Sprite_lol[20,10]=1717990
Sprite_lol[20,11]=1717990
Sprite_lol[20,12]=1717990
Sprite_lol[20,13]=1717990
Sprite_lol[20,14]=1717990
Sprite_lol[20,15]=1717990
Sprite_lol[20,16]=1717990
Sprite_lol[20,17]=1717990
Sprite_lol[20,18]=1717990
Sprite_lol[20,19]=1717990
Sprite_lol[20,20]=1717990
Sprite_lol[20,21]=1717990
Sprite_lol[20,22]=1717990
Sprite_lol[20,23]=1717990
Sprite_lol[20,24]=1717990
Sprite_lol[20,25]=1321649
Sprite_lol[20,26]=1189279
Sprite_lol[20,27]=1189279
Sprite_lol[20,28]=924791
Sprite_lol[20,29]=594767
Sprite_lol[20,30]=4235519
Sprite_lol[20,31]=4235519
Sprite_lol[21,0]=4235519
Sprite_lol[21,1]=4235519
Sprite_lol[21,2]=4235519
Sprite_lol[21,3]=4235519
Sprite_lol[21,4]=4235519
Sprite_lol[21,5]=4235519
Sprite_lol[21,6]=594767
Sprite_lol[21,7]=1189275
Sprite_lol[21,8]=1717990
Sprite_lol[21,9]=1717990
Sprite_lol[21,10]=1717990
Sprite_lol[21,11]=1717990
Sprite_lol[21,12]=1717990
Sprite_lol[21,13]=1717990
Sprite_lol[21,14]=1717990
Sprite_lol[21,15]=1717990
Sprite_lol[21,16]=1717990
Sprite_lol[21,17]=1717990
Sprite_lol[21,18]=1717990
Sprite_lol[21,19]=1717990
Sprite_lol[21,20]=1717990
Sprite_lol[21,21]=1717990
Sprite_lol[21,22]=1717990
Sprite_lol[21,23]=1717990
Sprite_lol[21,24]=1321649
Sprite_lol[21,25]=1189279
Sprite_lol[21,26]=1189279
Sprite_lol[21,27]=1189279
Sprite_lol[21,28]=594767
Sprite_lol[21,29]=2382247
Sprite_lol[21,30]=4235519
Sprite_lol[21,31]=4235519
Sprite_lol[22,0]=4235519
Sprite_lol[22,1]=4235519
Sprite_lol[22,2]=4235519
Sprite_lol[22,3]=4235519
Sprite_lol[22,4]=4235519
Sprite_lol[22,5]=4235519
Sprite_lol[22,6]=2382247
Sprite_lol[22,7]=594767
Sprite_lol[22,8]=1717990
Sprite_lol[22,9]=1717990
Sprite_lol[22,10]=1717990
Sprite_lol[22,11]=1717990
Sprite_lol[22,12]=1717990
Sprite_lol[22,13]=1717990
Sprite_lol[22,14]=1717990
Sprite_lol[22,15]=1717990
Sprite_lol[22,16]=1717990
Sprite_lol[22,17]=1717990
Sprite_lol[22,18]=1717990
Sprite_lol[22,19]=1717990
Sprite_lol[22,20]=1717990
Sprite_lol[22,21]=1717990
Sprite_lol[22,22]=1717990
Sprite_lol[22,23]=1321649
Sprite_lol[22,24]=1189279
Sprite_lol[22,25]=1189279
Sprite_lol[22,26]=1189279
Sprite_lol[22,27]=792675
Sprite_lol[22,28]=594767
Sprite_lol[22,29]=4235519
Sprite_lol[22,30]=4235519
Sprite_lol[22,31]=4235519
Sprite_lol[23,0]=4235519
Sprite_lol[23,1]=4235519
Sprite_lol[23,2]=4235519
Sprite_lol[23,3]=4235519
Sprite_lol[23,4]=4235519
Sprite_lol[23,5]=4235519
Sprite_lol[23,6]=4235519
Sprite_lol[23,7]=594767
Sprite_lol[23,8]=924789
Sprite_lol[23,9]=1717990
Sprite_lol[23,10]=1717990
Sprite_lol[23,11]=1717990
Sprite_lol[23,12]=1717990
Sprite_lol[23,13]=1717990
Sprite_lol[23,14]=1717990
Sprite_lol[23,15]=1717990
Sprite_lol[23,16]=1717990
Sprite_lol[23,17]=1717990
Sprite_lol[23,18]=1717990
Sprite_lol[23,19]=1717990
Sprite_lol[23,20]=1717990
Sprite_lol[23,21]=1585877
Sprite_lol[23,22]=1321649
Sprite_lol[23,23]=1189279
Sprite_lol[23,24]=1189279
Sprite_lol[23,25]=1189279
Sprite_lol[23,26]=792675
Sprite_lol[23,27]=594767
Sprite_lol[23,28]=3309011
Sprite_lol[23,29]=4235519
Sprite_lol[23,30]=4235519
Sprite_lol[23,31]=4235519
Sprite_lol[24,0]=4235519
Sprite_lol[24,1]=4235519
Sprite_lol[24,2]=4235519
Sprite_lol[24,3]=4235519
Sprite_lol[24,4]=4235519
Sprite_lol[24,5]=4235519
Sprite_lol[24,6]=4235519
Sprite_lol[24,7]=3309011
Sprite_lol[24,8]=594767
Sprite_lol[24,9]=924789
Sprite_lol[24,10]=1717990
Sprite_lol[24,11]=1717990
Sprite_lol[24,12]=1717990
Sprite_lol[24,13]=1717990
Sprite_lol[24,14]=1717990
Sprite_lol[24,15]=1717990
Sprite_lol[24,16]=1717990
Sprite_lol[24,17]=1717990
Sprite_lol[24,18]=1717990
Sprite_lol[24,19]=1585877
Sprite_lol[24,20]=1321649
Sprite_lol[24,21]=1189279
Sprite_lol[24,22]=1189279
Sprite_lol[24,23]=1189279
Sprite_lol[24,24]=1189279
Sprite_lol[24,25]=792675
Sprite_lol[24,26]=594767
Sprite_lol[24,27]=3309011
Sprite_lol[24,28]=4235519
Sprite_lol[24,29]=4235519
Sprite_lol[24,30]=4235519
Sprite_lol[24,31]=4235519
Sprite_lol[25,0]=4235519
Sprite_lol[25,1]=4235519
Sprite_lol[25,2]=4235519
Sprite_lol[25,3]=4235519
Sprite_lol[25,4]=4235519
Sprite_lol[25,5]=4235519
Sprite_lol[25,6]=4235519
Sprite_lol[25,7]=4235519
Sprite_lol[25,8]=3309011
Sprite_lol[25,9]=594767
Sprite_lol[25,10]=924789
Sprite_lol[25,11]=1453763
Sprite_lol[25,12]=1453763
Sprite_lol[25,13]=1585877
Sprite_lol[25,14]=1717990
Sprite_lol[25,15]=1717990
Sprite_lol[25,16]=1717990
Sprite_lol[25,17]=1585877
Sprite_lol[25,18]=1321649
Sprite_lol[25,19]=1189279
Sprite_lol[25,20]=1189279
Sprite_lol[25,21]=1189279
Sprite_lol[25,22]=1057163
Sprite_lol[25,23]=924791
Sprite_lol[25,24]=594767
Sprite_lol[25,25]=594767
Sprite_lol[25,26]=3309011
Sprite_lol[25,27]=4235519
Sprite_lol[25,28]=4235519
Sprite_lol[25,29]=4235519
Sprite_lol[25,30]=4235519
Sprite_lol[25,31]=4235519
Sprite_lol[26,0]=4235519
Sprite_lol[26,1]=4235519
Sprite_lol[26,2]=4235519
Sprite_lol[26,3]=4235519
Sprite_lol[26,4]=4235519
Sprite_lol[26,5]=4235519
Sprite_lol[26,6]=4235519
Sprite_lol[26,7]=4235519
Sprite_lol[26,8]=4235519
Sprite_lol[26,9]=3309011
Sprite_lol[26,10]=594767
Sprite_lol[26,11]=792675
Sprite_lol[26,12]=1057163
Sprite_lol[26,13]=1189279
Sprite_lol[26,14]=1189279
Sprite_lol[26,15]=1189279
Sprite_lol[26,16]=1189279
Sprite_lol[26,17]=1189279
Sprite_lol[26,18]=1189279
Sprite_lol[26,19]=1057163
Sprite_lol[26,20]=924791
Sprite_lol[26,21]=594767
Sprite_lol[26,22]=594767
Sprite_lol[26,23]=594767
Sprite_lol[26,24]=2382247
Sprite_lol[26,25]=4235519
Sprite_lol[26,26]=4235519
Sprite_lol[26,27]=4235519
Sprite_lol[26,28]=4235519
Sprite_lol[26,29]=4235519
Sprite_lol[26,30]=4235519
Sprite_lol[26,31]=4235519
Sprite_lol[27,0]=4235519
Sprite_lol[27,1]=4235519
Sprite_lol[27,2]=4235519
Sprite_lol[27,3]=4235519
Sprite_lol[27,4]=4235519
Sprite_lol[27,5]=4235519
Sprite_lol[27,6]=4235519
Sprite_lol[27,7]=4235519
Sprite_lol[27,8]=4235519
Sprite_lol[27,9]=4235519
Sprite_lol[27,10]=3309011
Sprite_lol[27,11]=594767
Sprite_lol[27,12]=594767
Sprite_lol[27,13]=594767
Sprite_lol[27,14]=924791
Sprite_lol[27,15]=924791
Sprite_lol[27,16]=924791
Sprite_lol[27,17]=924791
Sprite_lol[27,18]=594767
Sprite_lol[27,19]=594767
Sprite_lol[27,20]=594767
Sprite_lol[27,21]=2382247
Sprite_lol[27,22]=3309011
Sprite_lol[27,23]=4235519
Sprite_lol[27,24]=4235519
Sprite_lol[27,25]=4235519
Sprite_lol[27,26]=4235519
Sprite_lol[27,27]=4235519
Sprite_lol[27,28]=4235519
Sprite_lol[27,29]=4235519
Sprite_lol[27,30]=4235519
Sprite_lol[27,31]=4235519
Sprite_lol[28,0]=4235519
Sprite_lol[28,1]=4235519
Sprite_lol[28,2]=4235519
Sprite_lol[28,3]=4235519
Sprite_lol[28,4]=4235519
Sprite_lol[28,5]=4235519
Sprite_lol[28,6]=4235519
Sprite_lol[28,7]=4235519
Sprite_lol[28,8]=4235519
Sprite_lol[28,9]=4235519
Sprite_lol[28,10]=4235519
Sprite_lol[28,11]=4235519
Sprite_lol[28,12]=3309011
Sprite_lol[28,13]=2382247
Sprite_lol[28,14]=594767
Sprite_lol[28,15]=594767
Sprite_lol[28,16]=594767
Sprite_lol[28,17]=594767
Sprite_lol[28,18]=2382247
Sprite_lol[28,19]=3309011
Sprite_lol[28,20]=4235519
Sprite_lol[28,21]=4235519
Sprite_lol[28,22]=4235519
Sprite_lol[28,23]=4235519
Sprite_lol[28,24]=4235519
Sprite_lol[28,25]=4235519
Sprite_lol[28,26]=4235519
Sprite_lol[28,27]=4235519
Sprite_lol[28,28]=4235519
Sprite_lol[28,29]=4235519
Sprite_lol[28,30]=4235519
Sprite_lol[28,31]=4235519
Sprite_lol[29,0]=4235519
Sprite_lol[29,1]=4235519
Sprite_lol[29,2]=4235519
Sprite_lol[29,3]=4235519
Sprite_lol[29,4]=4235519
Sprite_lol[29,5]=4235519
Sprite_lol[29,6]=4235519
Sprite_lol[29,7]=4235519
Sprite_lol[29,8]=4235519
Sprite_lol[29,9]=4235519
Sprite_lol[29,10]=4235519
Sprite_lol[29,11]=4235519
Sprite_lol[29,12]=4235519
Sprite_lol[29,13]=4235519
Sprite_lol[29,14]=4235519
Sprite_lol[29,15]=4235519
Sprite_lol[29,16]=4235519
Sprite_lol[29,17]=4235519
Sprite_lol[29,18]=4235519
Sprite_lol[29,19]=4235519
Sprite_lol[29,20]=4235519
Sprite_lol[29,21]=4235519
Sprite_lol[29,22]=4235519
Sprite_lol[29,23]=4235519
Sprite_lol[29,24]=4235519
Sprite_lol[29,25]=4235519
Sprite_lol[29,26]=4235519
Sprite_lol[29,27]=4235519
Sprite_lol[29,28]=4235519
Sprite_lol[29,29]=4235519
Sprite_lol[29,30]=4235519
Sprite_lol[29,31]=4235519
Sprite_lol[30,0]=4235519
Sprite_lol[30,1]=4235519
Sprite_lol[30,2]=4235519
Sprite_lol[30,3]=4235519
Sprite_lol[30,4]=4235519
Sprite_lol[30,5]=4235519
Sprite_lol[30,6]=4235519
Sprite_lol[30,7]=4235519
Sprite_lol[30,8]=4235519
Sprite_lol[30,9]=4235519
Sprite_lol[30,10]=4235519
Sprite_lol[30,11]=4235519
Sprite_lol[30,12]=4235519
Sprite_lol[30,13]=4235519
Sprite_lol[30,14]=4235519
Sprite_lol[30,15]=4235519
Sprite_lol[30,16]=4235519
Sprite_lol[30,17]=4235519
Sprite_lol[30,18]=4235519
Sprite_lol[30,19]=4235519
Sprite_lol[30,20]=4235519
Sprite_lol[30,21]=4235519
Sprite_lol[30,22]=4235519
Sprite_lol[30,23]=4235519
Sprite_lol[30,24]=4235519
Sprite_lol[30,25]=4235519
Sprite_lol[30,26]=4235519
Sprite_lol[30,27]=4235519
Sprite_lol[30,28]=4235519
Sprite_lol[30,29]=4235519
Sprite_lol[30,30]=4235519
Sprite_lol[30,31]=4235519
Sprite_lol[31,0]=4235519
Sprite_lol[31,1]=4235519
Sprite_lol[31,2]=4235519
Sprite_lol[31,3]=4235519
Sprite_lol[31,4]=4235519
Sprite_lol[31,5]=4235519
Sprite_lol[31,6]=4235519
Sprite_lol[31,7]=4235519
Sprite_lol[31,8]=4235519
Sprite_lol[31,9]=4235519
Sprite_lol[31,10]=4235519
Sprite_lol[31,11]=4235519
Sprite_lol[31,12]=4235519
Sprite_lol[31,13]=4235519
Sprite_lol[31,14]=4235519
Sprite_lol[31,15]=4235519
Sprite_lol[31,16]=4235519
Sprite_lol[31,17]=4235519
Sprite_lol[31,18]=4235519
Sprite_lol[31,19]=4235519
Sprite_lol[31,20]=4235519
Sprite_lol[31,21]=4235519
Sprite_lol[31,22]=4235519
Sprite_lol[31,23]=4235519
Sprite_lol[31,24]=4235519
Sprite_lol[31,25]=4235519
Sprite_lol[31,26]=4235519
Sprite_lol[31,27]=4235519
Sprite_lol[31,28]=4235519
Sprite_lol[31,29]=4235519
Sprite_lol[31,30]=4235519
Sprite_lol[31,31]=4235519

Draw event:
Código:

for(xx=0; xx<sprite__width; xx+=1)
for(yy=0; yy<sprite__height; yy+=1){
draw_point_color(x+xx,y+yy,Sprite_lol[xx,yy])
}

Peço que testem e digam oque acham, flw, vlw!!! Happy
avatar
Ranking : Sem avaliações
Data de inscrição : 16/01/2014
Número de Mensagens : 314
Insígnias de JAM :

Insignia 1x 0 Insignia 2x 1 Insignia 3x 0
Reputação : 31

Prêmios
   : 0
   : 1
   : 0
Ver perfil do usuáriohttp://google.com

Re: duvida com sistema de sprite diferente

em Qua 27 Ago 2014, 15:16
achei interessante desenhar uma sprite na room através de gml, mas não achei funcionalidade nenhuma :|, mas de qualquer maneira vlw por disponibilizar, linda maçã Very Happy
avatar
Data de inscrição : 15/08/2010
Número de Mensagens : 1598
Insígnias de JAM :

Insignia 1x 0 Insignia 2x 0 Insignia 3x 0
Reputação : 147

Prêmios
   : 0
   : 0
   : 0
Ver perfil do usuáriohttp://spyreserver.16mb.com

Re: duvida com sistema de sprite diferente

em Qua 27 Ago 2014, 15:28
haha esse foi so um exemplo ;) na verdade e um pequeno projeto cancelado, pode transformar qualquer sprite em script (nao so a maça)...
avatar
Ranking : Sem avaliações
Data de inscrição : 16/01/2014
Número de Mensagens : 314
Insígnias de JAM :

Insignia 1x 0 Insignia 2x 1 Insignia 3x 0
Reputação : 31

Prêmios
   : 0
   : 1
   : 0
Ver perfil do usuáriohttp://google.com

Re: duvida com sistema de sprite diferente

em Qua 27 Ago 2014, 16:10
tenho outra dúvida, como conseguiu marcar cada coordenada da sprite da maça? Eu analisei o código e tinha mais de 1k de arrays LOL... lol msm. Mas fiquei curioso, como faz para pegar todas as cores para cada uma das coordenadas? hahaha fiquei aflito kkkkk, tem algum programa que ja faz isso ou vc analisou pixel por pixel da imagem da maçã?
avatar
Data de inscrição : 15/08/2010
Número de Mensagens : 1598
Insígnias de JAM :

Insignia 1x 0 Insignia 2x 0 Insignia 3x 0
Reputação : 147

Prêmios
   : 0
   : 0
   : 0
Ver perfil do usuáriohttp://spyreserver.16mb.com

Re: duvida com sistema de sprite diferente

em Qua 27 Ago 2014, 16:41
fiz isso no gm8 mesmo, usando a funçao "FOR", e a funçao surface_getpixel... na verdade ja uso esse sistema a um bom tempo, mais nao para transformar sprites em gml... :p
eu criei uma extensao, se quiser da uma olhada, ta ai:
http://gmbr.forumeiros.com/t26867-extensao-transform?highlight=transform

mais nao ensina muito, e mais para utilizar mesmo...
avatar
Ranking : Sem avaliações
Data de inscrição : 16/01/2014
Número de Mensagens : 314
Insígnias de JAM :

Insignia 1x 0 Insignia 2x 1 Insignia 3x 0
Reputação : 31

Prêmios
   : 0
   : 1
   : 0
Ver perfil do usuáriohttp://google.com

Re: duvida com sistema de sprite diferente

em Qua 27 Ago 2014, 16:54
Vlw cara, achei bem legal sua extensão parabéns! Matou todas minhas curiosidades sobre essa parte do gamemaker. Até mais!
avatar
Data de inscrição : 15/08/2010
Número de Mensagens : 1598
Insígnias de JAM :

Insignia 1x 0 Insignia 2x 0 Insignia 3x 0
Reputação : 147

Prêmios
   : 0
   : 0
   : 0
Ver perfil do usuáriohttp://spyreserver.16mb.com

Re: duvida com sistema de sprite diferente

em Qua 27 Ago 2014, 16:56
falou... se quiser posto o projeto aqui, pra vc estudar... ou passo pelo skype se vc tiver...
Ver o tópico anteriorVoltar ao TopoVer o tópico seguinte
Permissão deste fórum:
Você não pode responder aos tópicos neste fórum