About map

Hello, Im new to corona. Just getting started. I imagine wanna make a game. Risk strategy game. Can i use sprite for map? Thats all for now. Many thanks =)

Yes, you can use sprites.  Yes you can make a map w/ sprites.  

However, I wouldn’t use sprites for every part of the map unless all parts can animate. I’m assuming you want to use sprites to animate parts of the map.

I’d use a fixed/static image as the ‘map’ and add sprites to the parts that need to animate or move.

Thanks for quick reply sir =)

Yes maybe i want to animate the sprites. But the important is i wanna make every part of the map available to be touched and then show the detail of it for ex. Population, housing, farm, etc. I kinda confuse since i new to corona. But i wanna learn step by step until i understand. Do u have clue for me sir? Or link maybe =)

Sorry for my bad english.
Im from Indonesia.
Many thanks =)

And how to change my forum name? I followed the link to account detail and i only can change email and password.
Thank you =)

re: hints, the best I can tell you is to learn Lua and Corona basics first.  Jumping right into making an involved game like you are describing would be very hard.

I am afraid that there are no shortcuts or tutorials that do exactly what you are imagining.

re: Sprites: 

re: Touching things. - https://docs.coronalabs.com/daily/api/event/touch/index.html

re: Name - Sorry not an admin, can’t help with that

PS - There are many examples bundled with the Corona simulator.

Yes i should learn lua and the corona basic first =)
Like i said before step by step.
Your links is very helpful sir.
I will come back after my map is done.
Thanks a lot sir =)

Hello its me again =) ive done with my map. I call it world map. I used .png image because its simple. And add some buttons called end turn and battle.
I used tiled to make the battle map and exported it to .lua. =)
I wanna make the battle buttons link to battle map. If pressed then go to battle map. Is there any clue or link that could help me?

Sorry if my english is bad.
Thank you =)

finally i found the way to do it  :lol:

local dusk = require("Dusk.Dusk") local map = dusk.buildMap("tes.lua")

but i have new questions now.

  1. can I use scrollview for the map?

  2. why the map is not fully displayed?

my map 64x64 using tile 16x16 but only displayed half of it.

thanks  :lol:

The Dusk engine is a product is Gymbal Coding, which has its own sub forum. You might have better luck posting there.

Thanks Alex :slight_smile:
I will post there then.

Yes, you can use sprites.  Yes you can make a map w/ sprites.  

However, I wouldn’t use sprites for every part of the map unless all parts can animate. I’m assuming you want to use sprites to animate parts of the map.

I’d use a fixed/static image as the ‘map’ and add sprites to the parts that need to animate or move.

Thanks for quick reply sir =)

Yes maybe i want to animate the sprites. But the important is i wanna make every part of the map available to be touched and then show the detail of it for ex. Population, housing, farm, etc. I kinda confuse since i new to corona. But i wanna learn step by step until i understand. Do u have clue for me sir? Or link maybe =)

Sorry for my bad english.
Im from Indonesia.
Many thanks =)

And how to change my forum name? I followed the link to account detail and i only can change email and password.
Thank you =)

re: hints, the best I can tell you is to learn Lua and Corona basics first.  Jumping right into making an involved game like you are describing would be very hard.

I am afraid that there are no shortcuts or tutorials that do exactly what you are imagining.

re: Sprites: 

re: Touching things. - https://docs.coronalabs.com/daily/api/event/touch/index.html

re: Name - Sorry not an admin, can’t help with that

PS - There are many examples bundled with the Corona simulator.

Yes i should learn lua and the corona basic first =)
Like i said before step by step.
Your links is very helpful sir.
I will come back after my map is done.
Thanks a lot sir =)

Hello its me again =) ive done with my map. I call it world map. I used .png image because its simple. And add some buttons called end turn and battle.
I used tiled to make the battle map and exported it to .lua. =)
I wanna make the battle buttons link to battle map. If pressed then go to battle map. Is there any clue or link that could help me?

Sorry if my english is bad.
Thank you =)

finally i found the way to do it  :lol:

local dusk = require("Dusk.Dusk") local map = dusk.buildMap("tes.lua")

but i have new questions now.

  1. can I use scrollview for the map?

  2. why the map is not fully displayed?

my map 64x64 using tile 16x16 but only displayed half of it.

thanks  :lol:

The Dusk engine is a product is Gymbal Coding, which has its own sub forum. You might have better luck posting there.

Thanks Alex :slight_smile:
I will post there then.