ID:2910418
 
(See the best response by Ter13.)
Hello Everyone, sorry if im not at the good place, so ive been trying to change my skill icon from 32x32 to 64x64
I first change it in the .Demo file
But it doesn't show up in the skill list like it looks like it only zooms out the icon, in the world the icon look fine it 64x64
Here a picture of what I'm seeing... https://prnt.sc/y69T6Q6OWnIG
I'm not sure if it a Row problem or a display I'm not that good with display thing and output

And here in the code where the icon it defined
Code:
Crow_Sub
name = "Crow Sub"
icon = 'Art/Skill Icons/CrowSub.dmi'
icon_state = ""
mouse_drag_pointer = ""
s_cost = 1
s_cd = 10
s_level = 1
s_max_level = 1
s_uses = 0
chakra_cost = 15
//signs = list("W","W")
// s_damage = 0
// fixed_spell = 1
s_desc = "Advanced substitution jutsu. When used it will set the current location it was used on, and press H within' a certain distance to activate the jutsu, you will then appear at the location that was set."
Click()
var/GAME_MOB/P = usr
if(P.jutsus.Find(src))
if(src.s_uses >= 30)src.Activate(P)


And here is where the Hotslot and the list is beeing updated and displayed
Code:
PLAYER
proc
UpdateJutsus()
if(!client) return
winset(src,"Jutsus.skills","cells=0x0")
var/Row = 1
src<<output("","Jutsus.skills:1,1")
for(var/JUTSU/O in src.jutsus)
Row++
src << output(O,"Jutsus.skills:1,[Row]")



UpdateHotslots()
if(src.client)
src<< output(src.MacroOne, "Hotslots.SlotOne:1,1")
src<< output(src.MacroTwo, "Hotslots.SlotTwo:1,1")
src<< output(src.MacroThree, "Hotslots.SlotThree:1,1")
src<< output(src.MacroFour, "Hotslots.SlotFour:1,1")
src<< output(src.MacroFive, "Hotslots.SlotFive:1,1")
src<< output(src.MacroSix, "Hotslots.SlotSix:1,1")
src<< output(src.MacroSeven, "Hotslots.SlotSeven:1,1")
src<< output(src.MacroEight, "Hotslots.SlotEight:1,1")
src<< output(src.MacroNine, "Hotslots.SlotNine:1,1")
src<< output(src.MacroTen, "Hotslots.SlotTen:1,1")
src<< output(src.MacroEleven, "Hotslots.SlotEleven:1,1")
src<< output(src.MacroTwelve, "Hotslots.SlotTwelve:1,1")
var
MacroOne="1"
MacroTwo="2"
MacroThree="3"
MacroFour="4"
MacroFive="5"
MacroSix="6"
MacroSeven="7"
MacroEight="8"
MacroNine="9"
MacroTen="10"
MacroEleven="11"
MacroTwelve="12"



just to make sure here is where you drag and drop the skill in the hotslot

Code:
    MouseDrop(over_object=src, src_location, over_location, src_control, over_control, params)
var/PLAYER/P = usr
if(P.dead)
return
if(src in P.jutsus)
if(src_control=="Jutsus.skills")
if(src.s_uses >= s_mastery)
if(over_control=="Hotslots.SlotOne")
P.MacroOne=src
P<< output(P.MacroOne, "Hotslots.SlotOne:0,1")


Thanks you!
Best response
Your world.icon_size is 32x32, right?

Grids and statpanels do not support sizes for atoms larger than tile_size.
yeah i didnt touch tile size so i suppose default it 32x32, even if my movement are pixel movement. and if i put the game in 64x64 all my icon will be to remade? So is there i way to make it work or should i stick with 32x32
So is there i way to make it work

Either remake your entire game, or abandon grid and statpanel interfaces.
alright thank you for your time !