Page 3 of 3

Re: Tile Map help

Posted: Fri Jun 08, 2012 3:32 am
by coffee
coke905 wrote:K i dont understand what game tags are and i dont know what you mean by uploading .love file. My problem is no matter what value i change map1_display_w or map1_display_h as it doesn't change what it draws to. Im changing the table aswell.
Yonaba didn't mentioned "game tags" but "code tags". You know when you writing posts...
I hope that this image helps (select the code lines and click in "code" tag tab. The tab in RED).
tags.png
You know at least how to do a "yourgame.love" file right? If you don't, it's basically zip your project files (not the folder containing the files) and rename "yourgame.zip" to "yourgame.love". Then upload that file to your post? Again with image.
DISCLAIMER: If you using Windows attachment should be a blue icon. You also could use any name you want.
upload.png
Please just do first last Robin's suggestion. It turns your map "plug-n-play" for any size map you want. You won't need change map1_display_w or map1_display_h anymore and those lines in top of your code also can be removed since aren't any longer used.

Code: Select all

map1_display_w = 10
map1_display_h = 2

Re: Tile Map help

Posted: Sat Jun 09, 2012 12:48 am
by coke905
i fixed it i just remade a new game pretty much (LOLZ) i think it was the images i use sometimes the images don't work so i just resave them.



Anyone know how i can go about making jumping And Platforms, see im able to do jumping but with that its just setting a jumppeak variable and a groundheight variable so my character lands back down at ground height but how would i implement jumping with it working with platforms, the platforms are rectangles and they wont be moving (yet anyway) thanks everyone and im sorry if i sounded grumpy on my last post it was just making me made that it wasent working. Oh and Great tutorials Sock

Re: Tile Map help

Posted: Sat Jun 09, 2012 12:51 am
by coke905
Oh and can love run .SWF animations because if it can i wont need to learn quads at this exact moment i can just play the animation where the character is right?

Re: Tile Map help

Posted: Sat Jun 09, 2012 2:05 am
by coke905
AnAL library has an error on line 71 and i have no clue how to fix it because im new to lua

Re: Tile Map help

Posted: Sat Jun 09, 2012 6:22 am
by coffee
coke905 wrote:because im new to lua
Unfortunately you seem to be new in a lot of things like using forums. People asked you for not double/triple post but you still don't get it and continue to do it. We ask for a .love with your errors and you still don't post it. I would say you have a terrible learning process (or simple like to disobey) when you keep discard all things we say to you.

Post 1
coke905 wrote:i fixed it i just remade a new game pretty much (LOLZ) i think it was the images i use sometimes the images don't work so i just resave them. Anyone know how i can go about making jumping And Platforms, see im able to do jumping but with that its just setting a jumppeak variable and a groundheight variable so my character lands back down at ground height but how would i implement jumping with it working with platforms, the platforms are rectangles and they wont be moving (yet anyway) thanks everyone and im sorry if i sounded grumpy on my last post it was just making me made that it wasent working. Oh and Great tutorials Sock
wat? (ignore mode). Look, SEARCH in forum for other jumping/platform games/examples around. LEARN with that examples.

Post 2
coke905 wrote:Oh and can love run .SWF animations because if it can i wont need to learn quads at this exact moment i can just play the animation where the character is right?
No. No SWF. No GIF's. No video (of any kind) sequences.
- If you don't want to learn quads you can LEARN how to use "single frame" assorted images to do animations. By other words change from time to time (using dt in love.update) the presented image of your animated thing for another (already loaded) image file.
- Alternately you can use animation libraries (as seem you already do) but you have to LEARN how to use that libraries. Even that you directly don't mess with Quads LOVE code you have to deal with Quad'ed images.

Post 3
coke905 wrote:AnAL library has an error on line 71 and i have no clue how to fix it because im new to lua
AnAl shouldn't have errors (unless you directly mess with library code) but your code probably have due some misuse of the library. Wait, we don't have your code to check what error was that. Hold a moment, I magically and telepathically receiving your line 71. (sigh).

And PLEASE, PLEASE, PLEASE read this viewtopic.php?f=4&t=2982 and OBEY before do any other post.

Re: Tile Map help

Posted: Sat Jun 09, 2012 10:28 pm
by coke905
K sorry my apologies!