Logo

[Help] Sm5 Image Tiling

Enregistré Connexion Retour aux forums

Post #1 · Posté à 2016-09-06 04:44:51pm il y a 7.7 années

Offline MadkaT
MadkaT Avatar Member
822 Messages
Not Set
Reg. 2009-11-24

Hello, I'm again giving some troubles Laughing Out Loud I'm creating a tile for fill the full screen, but I'm having some unexpected results, I've made a tile to create a grid with hexagonal patterns, but when I'm going to check in the screen I'm getting this:

http://i.imgur.com/pUAQkK3.png

The original image is cropped, also I've made test with indexed images, but the result is always the same, it's showing some unwanted pixels between the tiles. Here is the code that I'm using to create the tile.

t[#t+1] = Def.ActorFrame {
LoadActor("hextile2")..{
InitCommand=cmd(FullScreen;);
OnCommand=function(self)
local w = DISPLAY:GetDisplayWidth() / self:GetWidth();
local h = DISPLAY:GetDisplayHeight() / self:GetHeight();
self:customtexturerect(0,0,w,h);
self:texcoordvelocity(-5,0);
end;
};
};


If someone could help me. I'll be glad. Big Grin

Post #2 · Posté à 2016-09-06 06:57:44pm il y a 7.7 années

Offline Kyzentun
Kyzentun Avatar Member
3,209 Messages
United States
Reg. 2008-02-20

"I'm honestly pissed off."
Add "(stretch)" to the name so it'll be stretched across the texture space.
silenttype01: Kyzentun is never harsh. He says it how it is.

GENERATION 24: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Post #3 · Posté à 2016-09-06 09:14:00pm il y a 7.7 années

Offline MadkaT
MadkaT Avatar Member
822 Messages
Not Set
Reg. 2009-11-24

Thanks, I've forgotten that. Blushing
Enregistré Connexion Retour aux forums

0 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 7% · Database: 4% · Server Time: 2024-06-02 20:17:12
Page générée en 0.004 secondes.
Theme: starlight · Language: french
Reset Theme & Language