give it executable permissions or something, worked for my friend
peti345YT
78
Posts
1
Topics
A member registered Dec 07, 2016 · View creator page →
Recent community posts
I modified your sharpen slightly to work with percentages.
function init()
setName("Sharpen")
setDesc("Sharpen texture")
setSize(95,24+64+8+8+7+4+18)
addOutput(24+32)
addInput("Texture",24+64+8+8)
addParameter("Intensity","Intensity",24+64+8+8+18,50,0,100,true)
end
-- Ugly way to use channels
function apply()
tileSize = getTileSize()
inte = (getValue(1,0,0,1) / 25) + 1
for i=0, tileSize*tileSize-1 do
x = i%tileSize
y = math.floor(i/tileSize)
cr, cg, cb = getValue(0, x, y, 1.0)
cr=cr*5*inte
cg=cg*5*inte
cb=cb*5*inte
crL, cgL, cbL = getValue(0,x-1,y,1.0)
crR, cgR, cbR = getValue(0,x+1,y,1.0)
crU, cgU, cbU = getValue(0,x,y-1,1.0)
crD, cgD, cbD = getValue(0,x,y+1,1.0)
cr = cr-((crL+crR+crU+crD)*inte)
cg = cg-((cgL+cgR+cgU+cgD)*inte)
cb = cb-((cbL+cbR+cbU+cbD)*inte)
setPixel(0,x,y,cr,cg,cb)
end
endhere's some proof from the 3.3 beta devlog:
Keep in mind this release is *very* unstable! Save often, and expect major bugs.
- Added multiplayer (you can stop asking now!)
- Supports LAN play, over the internet and cross-platform with the upcoming PC edition
- Added ores to map editor
- Possible controller support (completely untested)
- Changed smelter system to use fuel and have a maximum speed/capacity
- New save system, import and export saves to local storage
- Added autosave
- Changed flak turret projectiles and speed
- Balancing of titanium and coal drills to be slower and more expensive, to slow down late-game progression
- Fixed bug with stacking conveyors and tunnels/junctions not transporting directly to the core
- Optimized pathfinding to be ~3x faster and use less memory
- Translation support (incomplete, full translations coming soon!)
- Teleporters now use power and have a better UI
- Sorters also have a new UI
- Added a sand resource (currently unused and unobtainable, but is displayed in the sorter)
- Re-made all player weapons to be more varied and interesting
- Removed upgrade menu and added the weapon factory block
- Increased base player health
- Discord integration: Wave, map and player count are now displayed in Discord while playing Mindustry
- Proper Mac and Windows32 support: not well tested, please report any problems!
