Logo

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

注册账号 登录 Back To Forums

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

Offline Wan
Wan Avatar Member
412 帖子
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.
注册账号 登录 Back To Forums

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

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 4% · Database: 4% · Server Time: 2024-03-19 09:30:32
This page took 0.003 seconds to execute.
Theme: starlight · Language: chinesesimplified
Reset Theme & Language