Search found 18 matches
- Thu Feb 13, 2014 11:37 pm
- Forum: General
- Topic: Adjusting screen and tilemap drawing
- Replies: 1
- Views: 1983
Adjusting screen and tilemap drawing
So, I managed to finish a tutorial on tilemaping but I am to make the code even better. This is how my map is drawed on the screen. https://love2d.org/imgmirrur/AVFNciW.png But I would like the map to be centered. Here is the code I've got: main.lua require "functionsmapa" require "co...
- Thu Feb 13, 2014 12:16 am
- Forum: General
- Topic: Difficult with some code learning.
- Replies: 2
- Views: 1824
Re: Difficult with some code learning.
Wow, that was fast! Thank you, mr. Inny. I should have paid more attention. There were more errors in the code, but I managed to repair them. Here is the result of the code. I am happy with it. I can understand the code fairly well. http://prntscr.com/2ryyyw I am a bit unconfortable with using chars...
- Wed Feb 12, 2014 11:52 pm
- Forum: General
- Topic: Difficult with some code learning.
- Replies: 2
- Views: 1824
Difficult with some code learning.
Hello, guys, So I was studying today, rearranging some code that I learned yesterday and I got stuck in this part. function love.load() Tileset = love.graphics.newImage('sprite0003.png') tileW, tileH = 16, 16 tilesetW, tilesetH = Tileset:getWidth(), Tileset:getHeight() end -- Aqui o tileset é dividi...
- Wed Feb 12, 2014 6:27 pm
- Forum: General
- Topic: Starting from the begining... of the principle.
- Replies: 11
- Views: 6401
Re: Starting from the begining... of the principle.
Oh, I didn't see that last reply with the video. I am watching it right now. Thank you very much, OttoRobba.
- Tue Feb 11, 2014 9:24 pm
- Forum: General
- Topic: First question about general programming
- Replies: 5
- Views: 2642
Re: First question about general programming
Oh... I did not thought of it. Anyway, I will leave this part for the final. Thanks for the help, guys.
- Mon Feb 10, 2014 12:30 am
- Forum: General
- Topic: First question about general programming
- Replies: 5
- Views: 2642
Re: First question about general programming
Hum... got it. So I can have .room files to store my places, and load them with a function in Lua/Löve. That would be good, because a .room file would be of difficult access to players, although I don't think someone would like to modify it. :huh: Anyway, I have been studying all day long and was ab...
- Sun Feb 09, 2014 3:19 am
- Forum: General
- Topic: First question about general programming
- Replies: 5
- Views: 2642
First question about general programming
So, this is my first question and it is about general programming. Lets say we have this situation: I am making a text based adventure game and it will feature many different places to go with many different options to take. Each place has a big description on it and it would take many lines of code...
- Sat Feb 08, 2014 10:30 pm
- Forum: General
- Topic: Starting from the begining... of the principle.
- Replies: 11
- Views: 6401
Re: Starting from the begining... of the principle.
The Great Kikito's LÖVE tite tutorial , if you're into tile-based games. That's what I was coming for. I am reading about tile engineering right now. But there is many things I don't understand about it. I will have to learn section by section. But first, I am thinking on developing a text based ad...
- Sat Feb 08, 2014 7:14 pm
- Forum: General
- Topic: Starting from the begining... of the principle.
- Replies: 11
- Views: 6401
Re: Starting from the begining... of the principle.
Unfortunately, no. I have been using RPG Maker and other pint'n click engines for over six years, and always suffered from their limitations. I always wanted pixel movement instead of those tile-by-tile movement. And I always wanted to learn to program better, I program like a three year child. Game...
- Sat Feb 08, 2014 4:00 am
- Forum: General
- Topic: Starting from the begining... of the principle.
- Replies: 11
- Views: 6401
Re: Starting from the begining... of the principle.
Are there any example games that I can open and study from inside? It would be really interesting. Also, I will start learning Lua, and keep reading the Löve articles. Thanks for the heads up, it is good to know that I am in good hands with Löve. I came here three years ago, but since I had some tim...