Logo

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

Register Log In Back To Forums

Post #1 · Posted at 2019-04-12 10:50:00pm 5.9 days ago

Offline Wan
Wan Avatar Member
304 Posts
Chile
Reg. 2008-01-13
Log in to send this user a private messageTwitter: WannyTiggah
Steam: WannyTiggah
"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.
Register Log In Back To Forums

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

©2006-2019 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 2% · Database: 4% · Server Time: 2019-04-18 22:19:45
This page took 0.003 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language