Logo

[Help needed] Tiles in OpenITG, how to do them in XML?

Registrarse Conectarse Regresar A Los Foros

Post #1 · Publicado en 2019-04-12 10:50:00pm Hace 5 años

Offline Wan
Wan Avatar Member
412 Mensajes
Chile
Reg. 2008-01-13

"I want to change my username =("

Last updated: 2019-04-12 10:50pm
I'm working in converting a theme from SM 3.9 to OpenITG and I found myself in a really annoying situation: when using tiles in BGAnimations I found that OpenITG completely IGNORES the "command" line, rendering even "diffuse" useless.
Looking at the OpenITG source code and comparing to the SM 3.9 one it's clear that all support for the "command" line was stripped for whatever reason

I'm trying to replicate the tiles in XML and so far found the "texcoordvelocity" command useful but that only makes the texture move within its dimensions. It's something but clearly need more. Help?

Update: Found the mix of customtexturerect + zoom, but by doing that there's a gap between each iteration of the texture... and it looks ugly.

UPDATE.

Thanks to the valuable help from Jose_Varela, the answer is:

- To use texcoordvelocity as described above.
- Use zoomtowidth/zoomtoheight to cover the needed space.
- Change the dimensions of the graphics to multiples of 2. Sadly this is a requirement, while in the old Tile system the tile texture could be any size.
Registrarse Conectarse Regresar A Los Foros

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

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 3% · Database: 4% · Server Time: 2024-04-18 04:17:57
Esta página tomó 0.002 segundos en ejecutarse.
Theme: starlight · Language: spanish
Reset Theme & Language