Search found 25 matches

by PedroChurro
Tue Oct 23, 2012 7:54 pm
Forum: General
Topic: Easier drawing tool?
Replies: 2
Views: 797

Easier drawing tool?

Hi, so I'm making a game, and I need images and stuff, but this is getting real complicated. So, for me, if it's a 2D game, I like doing it with pixels. But, I can't seem to find a good tool for making pixelated images. Here's what I'm thinking: http://gyazo.com/8d7a965334cf30bec78b44384ffc6e1b Yes,...
by PedroChurro
Sat Oct 13, 2012 2:01 pm
Forum: Support and Development
Topic: Some questions
Replies: 6
Views: 638

Re: Some questions

Thanks, I think I'll try anim8.
by PedroChurro
Fri Oct 12, 2012 10:49 pm
Forum: Support and Development
Topic: Some questions
Replies: 6
Views: 638

Re: Some questions

Drawing order matters. What you draw last is on top. So, you want to draw the background first and the buttons last. Animations are a more difficult subject, since you're new to this you probably want to use an existing library like anim8 . But the very basics are that you want to have a bunch of i...
by PedroChurro
Fri Oct 12, 2012 10:33 pm
Forum: Support and Development
Topic: Some questions
Replies: 6
Views: 638

Some questions

So, I thought, I have so many questions, and I really don't want to spam the forums, so, can I post the questions I have on this topic? It would be really useful. Here are some questions to start: 1: So, I'm already trying to make a game, and I'm currently doing the menu. But there is one problem, I...
by PedroChurro
Fri Oct 12, 2012 6:00 pm
Forum: Support and Development
Topic: Need help with another error
Replies: 6
Views: 1011

Re: Need help with another error

Nixola wrote:Menu.lua, :18 and :20, replace "v.medium" with "medium"
One more question answeared, over 9000 to go! Thanks!
by PedroChurro
Fri Oct 12, 2012 5:54 pm
Forum: Support and Development
Topic: Need help with another error
Replies: 6
Views: 1011

Re: Need help with another error

Here is the main.lua and the map.lua: require 'player' require 'map' require 'menu' function love.load() medium = love.graphics.newFont(35) gamestate = "menu" --Buttons button_spawn(5,200,"Start","start") button_spawn(5,300,"Quit","quit") end function love.update(dt) if gamestate == "playing" then p...
by PedroChurro
Fri Oct 12, 2012 5:20 pm
Forum: Support and Development
Topic: Need help with another error
Replies: 6
Views: 1011

Re: Need help with another error

We need the code this time... Anyway, you probably wrote something like "a_table.medium[var]" without writing that "a_table.medium" is a table (you did it in line 18, if oyu don't know) Line 18 of menu.lua: x < v.x + v.medium:getWidth(v.text) and Line 36 of main.lua: button_click(x,y) The variable:...
by PedroChurro
Fri Oct 12, 2012 5:12 pm
Forum: Support and Development
Topic: Need help with another error
Replies: 6
Views: 1011

Need help with another error

Hi, first of all, sorry for being spamming(not really) this forum with questions, but yeah, I have another error I can't solve. So, I'm learning how to make a menu, and, this happens when I click the "Quit" button: Error menu.lua:18 attempt to index field 'medium' (a nil value) Traceback menu.lua:18...
by PedroChurro
Fri Oct 12, 2012 1:22 pm
Forum: Support and Development
Topic: Need help with an error
Replies: 4
Views: 1885

Re: Need help with an error

Qcode wrote:viewtopic.php?f=3&t=9 7th post down. Yep, you fell for it.
Hahaha, nice one!
by PedroChurro
Thu Oct 11, 2012 7:40 pm
Forum: Support and Development
Topic: Need help with an error
Replies: 4
Views: 1885

Re: Need help with an error

Nixola wrote:I think the first line of main.lua should be enough... Is it something like "require player"? If it is, edit it into "require 'player' "
Thanks, that worked.

Also, could anyone explain me why everyone has "Obey" in their avatars?