void wyvernf0_state::video_start() { m_bg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(wyvernf0_state::get_bg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); m_fg_tilemap = &machine().tilemap().create(*m_gfxdecode, tilemap_get_info_delegate(FUNC(wyvernf0_state::get_fg_tile_info),this), TILEMAP_SCAN_ROWS, 8, 8, 32, 32); m_bg_tilemap->set_transparent_pen(0); m_fg_tilemap->set_transparent_pen(0); m_bg_tilemap->set_scrolldx(0x12, 0xf4); m_bg_tilemap->set_scrolldy( 0, 0); m_fg_tilemap->set_scrolldx(0x10, 0xf6); m_fg_tilemap->set_scrolldy( 0, 0); }
void cultures_state::video_start() { m_bg0_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(cultures_state::get_bg0_tile_info),this),TILEMAP_SCAN_ROWS, 8, 8, 64, 128); m_bg1_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(cultures_state::get_bg1_tile_info),this),TILEMAP_SCAN_ROWS, 8, 8, 512, 512); m_bg2_tilemap = &machine().tilemap().create(m_gfxdecode, tilemap_get_info_delegate(FUNC(cultures_state::get_bg2_tile_info),this),TILEMAP_SCAN_ROWS, 8, 8, 512, 512); m_bg1_tilemap->set_transparent_pen(0); m_bg0_tilemap->set_transparent_pen(0); m_bg0_tilemap->set_scrolldx(502, 10); m_bg1_tilemap->set_scrolldx(502, 10); m_bg2_tilemap->set_scrolldx(502, 10); m_bg0_tilemap->set_scrolldy(255, 0); m_bg1_tilemap->set_scrolldy(255, 0); m_bg2_tilemap->set_scrolldy(255, 0); }