Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (475)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (530)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [LibGDX] TileAtlas, TileMapRenderer, TiledLoader changes?  (Read 1396 times)
0 Members and 1 Guest are viewing this topic.
Offline Otreum

Junior Member


Medals: 6



« Posted 2013-07-19 09:05:29 »

I've been trying to go through little steps in using LibGDX lately, following various tutorials, but currently, trying to find a decent tutorial on rendering a tilemap so my player has something to run around on other than a black background.

At the moment, I am following this tutorial:
http://bitowl.de/en/day10/

However I have noticed that TileAtlas, TileMapRenderer and TiledLoader no longer seem to exist.

Upon further investigation, I assume that the following replacements have been made:
TileAtlas -> TextureAtlas
TileMapRenderer -> TiledMapRenderer
TiledLoader -> TmxMapLoader

I am still in the dark as to where to get started on getting myself a visual "game world" as such.
I could perhaps just create a SpriteBatch and just repeat a tile over and over to create a background, but not exactly wanting to go about it that way.

Eventually I aim to work on my own random world generation with multiple layers....but....baby steps Tongue

Any help would be appreciated.

Thankyou in advance.

(in the mean time I will continue relentlessly hunting for answers)

UPDATE:
According to this link here on the libGDX developer's forum:
http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=8123&p=37785&hilit=TileAtlas#p37785

TileAtlas is now TiledMapTile.

It also seems that the wiki page for GraphicsTileMaps was updated for the new API.
https://code.google.com/p/libgdx/wiki/GraphicsTileMaps
I guess I will check that out and assume that there are no tutorials for dumbo's like me Tongue
Offline Jimmt
« League of Dukes »

JGO Kernel


Medals: 128
Projects: 4
Exp: 3 years



« Reply #1 - Posted 2013-07-19 15:22:01 »

TileAtlas doesn't exist at all anymore, TextureAtlas is a completely different thing used like a spritesheet. Pointing
Take a look at the wiki and see how it uses the new maps setup. You don't have to do tiled map packing anymore  Smiley
Offline Otreum

Junior Member


Medals: 6



« Reply #2 - Posted 2013-07-20 01:15:27 »

Thanks.

I came across this on youtube to help me out a bit, seems most up to date.
http://www.youtube.com/watch?v=zckxJn751Gw

I'm gonna give these tutorials a crack today Smiley
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

ctomni231 (37 views)
2014-07-18 06:55:21

Zero Volt (35 views)
2014-07-17 23:47:54

danieldean (28 views)
2014-07-17 23:41:23

MustardPeter (31 views)
2014-07-16 23:30:00

Cero (46 views)
2014-07-16 00:42:17

Riven (47 views)
2014-07-14 18:02:53

OpenGLShaders (36 views)
2014-07-14 16:23:47

Riven (36 views)
2014-07-14 11:51:35

quew8 (32 views)
2014-07-13 13:57:52

SHC (68 views)
2014-07-12 17:50:04
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!