Can’t wait for the update
Thanks a lot guys for doing this for the community
Can’t wait for the update
Thanks a lot guys for doing this for the community
I downloaded pull request and ran the main.lua (hoping to see a tutorial sortof program)
But the sample mazes dont work?
Ok, so I’ve been working deeply on CoronaTiled - cleaning up your existing code, adding a lot of my own code, fixing this, fixing that - and here’s what I have.
You load a map with the .buildMap public function (if you think :load() is better it can be changed). You get a map loaded from the Tiled map data (.json or .lua). When it’s first loaded, nothing but objects and image layers appear onscreen - you have to either manually draw them or use .drawAllTileLayers. In the future, when culling is added, it’ll draw it automatically to the screen size (speaking of which, culling isn’t that far off, what with the progress I’ve made…). You can edit the drawn portion of the map with .draw or .erase, and you can draw all or erase all from the tile layers with .drawAllTileLayers and .eraseAllTileLayers. The map has a data table (_mapData, because you won’t have to access it that often) that has the original Tiled data in it. The hierarchy is as follows:
map
map.layer
map.layer[1]
map.layer[1].tile[x][y]
map.layer[“background”] - an object layer
map.layer[1].object[“object”]
map._mapData
Tiled data (what was read to create the map)
map.draw
map.erase
map.drawAllTileLayers
map.eraseAllTileLayers
EDIT: Just added ability to “call” map and get a data value; i.e. [lua]local mapTileWidth=map(“tileWidth”)[/lua]. This’ll makes all of the internal values to be read-only, so you can’t edit them, but you can still refer to them.
Supports -
Tile layers
Object layers
Image layers
Physics (using physics: as a property prefix)
Custom tile layer drawing
.lua and .json map formats
Custom values (using tiles: and objects:; layer values may be prefixed by layer: but they don’t have to be - values without a prefix are added to the layer itself)
Probably some more, but those are the major ones
I’m looking to get at least a camera system up and possibly culling before I release this version.
Whew… I just edited it. What was happening is that when I overwrote my files, I lost the Jumper module and my player image. And then just before I published it I only tried out the samples that worked, coincidentally. So there wasn’t any Jumper module or player image, and it was attempting to find them, so a seg fault was happening. It should be fixed now 
hi everybody
i have seen corona tiled a and looks great, and i want first thank you the developer for doing this and make life easier for others like me that are not really good coders
I have seen Mte too, and i have proposed there and want to do it here too, to create a basic template with the funcionalities of platform games, so all here can cooperate coding some parts and add as part of documentation if the authors agreed with this idea and want to do it.
I have done a basic project, a level with some dynamic of the platforms genre, as moving blocks,pick up coins, spikes,etc…
Here a picture of the level
The project has a tileset with some art(ugly and basic) ans some spritesheets of 2 enemies(bird and mouse) and a player with his frames(specially ugly this one)
If this advance and all collaborate i promise to upload better sprites but for the moment i think is enougth for educational purposes.
At the moment i have tried to load the map but doesn´t show anything, remains processing layer 1 and do nothing.
things to do
-jumpthrougth platforms and moving platforms
kill the enemy when the player jumps over and get killed when not
checkpoints and goal
easing movement of the enemies ,path follows,…
rotating objects,…
anything from a platform game 
i use gogle drive that is free and easy to host the files, so you can use the same or any you want to upload the modifications to the template so the others can download and contribute.
If in any moment you want to add some functionality, let´s say a rotating platform and you need the sprite of a box or anything just ask it here so i will draw and upload or anyone can do too.
Here the link to the project
https://docs.google.com/file/d/0B0HrY9qsf9wEaW45Y21seFZJeXM/edit?usp=sharing(just file , download)
And that is all for the moment, hope we can do a nice template and any idea is welcome
Best regards
Txarly
The simple platformer isnt working…it says the open function (line57 cermaic.lua?)string expected got nil.
I get the same thing
When i load the map and shift its x by -288 i get only part of the map.The rest is black space
And i see in the rar file you have tiled.lua
Maybe update to ceramic?
And… Yet another update. That bug was caused by a map name change (from “mario_1.json” to “platformer.json”)
Now hold your breath, download it again, and check if it works ;D
[EDIT]: Great idea, Txarly!
i am a bit confussed now, are there two versions?
The newer is Ceramic?where can i download it?
thanks
edit: Sorry i found it finally 
CoronaTiled -> Newer Version -> Ceramic Tile Engine
hi everybody,
i have added movement to the player, now can move all the map, double jump and physic properties for different elements.
problems
-the orientation must be landscape and it doesn´t
-The physic world has strange and abrupt behaviour, like the gravity,etc…
-Any idea how to add parallax layers?
here is the template:
https://docs.google.com/file/d/0B0HrY9qsf9wESFNLQk5yUnd6M1E/edit?usp=sharing
Anybody can help on these so we can advance ?
thank you to you all
Txarly
Ok,
I’m not sure if this is a stupid question(if it is dont scold me), but i have an object and it has physics enabled,
I have two buttons left and right and would like to somehow be able to move the object.
I did this with lime, but lime is slow.
Thanks in advance
EDIT
A camera that follows an object is basically what i need
do you know any possible way i can do that
Camera support is coming up with the next(?) update.
@No2Games:
I just loaded a map with 3,000,000 tiles (three million tiles!) spread out over 3 layers. The only thing that was slow was the JSON reading of it (I figured out it was JSON because I tried using a dummy load function that just read the JSON file and returned a decoded table, and it took the same length of time as the entire loading of the map).
I made the map slowly pan over to the side, and I added the ability to drag+drop the map. No visible lag. Period.
Simply amazing…
ETA for next update?
And i need to move my charecter object with two buttons
I’m not able to do this like i could with lime
In lime i could use a playerSpawn and then do
local player = display.newImageRect(object.playerImage,32,32)
And then use a button onClick to move it
If you could help me that would be greatly aprreciated!
AND THREE MILLION TILES!
HOLY!
EDIT
I feel stupid
I fixed my own problem
Thanks!
@Caleb Sorry for the slow reply, I’ve been out of town for a while and haven’t been following things like I should. That said, this sounds awesome. I can’t wait to check it out. Excellent work!
ETA… Not a fixed time, but it is coming up *soon*.
@No2Games:
Glad to hear you like it 
This may come as a shock, but I thought it would be best to say it now before this project is too large; namely, “CoronaTiled” is a bit too…straightforward. I really like cool names for things (I’ve made projects with names like VIVE, Btl, Idit, or Ivy - a near[er]-english computer language that compiles to Lua I’m working on), and somehow, “CoronaTiled” is great for describing the project, but not great enough for being a cool name for people to work with. Of course, if you think it’s gone too far to just up and change the name, that’s fine - I’ll live :) However, if you don’t mind all that much, I think we should change the name to something a little more interesting. Apologies if this sounds fickle, but the name of a project is important, and for me, "CoronaTiled"just doesn’t ring a bell.
Let me know 
If you are down with changing the name I am. I did like “Ceramic” as a name and I did start adding that to some of the files and then for some reason I stopped. BTW, I’m doing a talk for Corona in July on tile game development here in NYC. So lets try to get a release organized before July 9th so I can demo the system during the talk. I’m back early next week to help coordinate.
Funny - that’s the very name I was going to suggest because of the earlier naming ideas 
So now it’s officially Ceramic Tile Engine.
Great! I’ll start using that in the files.
Hi.
I forgot to give a value to velY so that was the strange behaviour :wacko: .now it is solved.
-Still doesn´t know why is not landscape as the map is wider than taller and the way to implement parallax.
Can anybody post also a quick example that how should enemies be added?from a spawn point as the player and giving different properties to the spawnpoints(properties as enemy.speed=1.5, enemyallowedmovement=200,enemy.x,enemy.y,…)
How can be removed when the player kill them?i can not find in the documentation
edit:
i have tried this both solutions for parallax at enterframe but doesn´t work
[lua]
map.layer[“fondo2”]:setLinearVelocity(velX*0.2, velY*0.2)
map.layer[“fondo2”]:translate(velX*0.2, velY*0.2)
[/lua]
thanks in advance
Hi guys - just getting started - have got a few items to ask:
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000021
6. Also I’m noting I can’t open the Platformer.tmx file up in Tiler either, I get "Error loading tileset image: ‘/Volumes/MAC_HDD/greg_oldHome/source_tiled/CoronaTiled-master/tilesets/8-bit.png’
Line 4, column 68".
Will a basic background tile I get the very thin lines between tiles. How do you normally handle this to remove it? Going to the tile layer in Tiles are letting a layer property of “layer:layerScale” to 1.1 does not seem to do anything?
Probably shouldn’t ask more at this stage
If I can get an object layer example going (after getting some feedback from above) that would be great…