Search found 42 matches
- Sat Sep 28, 2013 11:06 pm
- Forum: Support and Development
- Topic: text adventure game question
- Replies: 11
- Views: 7064
Re: text adventure game question
thx works for now
- Sat Sep 28, 2013 9:24 pm
- Forum: Support and Development
- Topic: text adventure game question
- Replies: 11
- Views: 7064
Re: text adventure game question
dosent show anything of what i made heres my code if i made an error: function love.load() WindowWidth = love.graphics.getWidth() WindowHeight = love.graphics.getHeight() gamestate = "intro" if gamestate == "intro" then love.graphics.setBackgroundColor(0, 50, 0) darktree = love.g...
- Sat Sep 28, 2013 9:11 pm
- Forum: Support and Development
- Topic: text adventure game question
- Replies: 11
- Views: 7064
Re: text adventure game question
thx ill try it
- Sat Sep 28, 2013 8:36 pm
- Forum: Support and Development
- Topic: text adventure game question
- Replies: 11
- Views: 7064
Re: text adventure game question
another question just to add can i make multiple love.draw in the same .lua file?
- Sat Sep 28, 2013 7:47 pm
- Forum: Support and Development
- Topic: text adventure game question
- Replies: 11
- Views: 7064
text adventure game question
okay i just started my text adventure game and now i know i will be using gamestates for sure but i was wondering 2 things: first should i use tables or is it unnecessary(not so sure how to write this word) and should i do it all on my main.lua or do different .lua files for my three main paths u ta...
- Wed Sep 25, 2013 1:04 am
- Forum: General
- Topic: best syntax when using löve for sublime text 2???
- Replies: 5
- Views: 3391
best syntax when using löve for sublime text 2???
might should posted it in support and developement but anyways what do you think!!??
- Tue Sep 24, 2013 10:46 pm
- Forum: Support and Development
- Topic: math.random as a variable?
- Replies: 3
- Views: 1189
math.random as a variable?
hello me again i tried using math.random to make the color of my text change but it says something like trying to index field "math" (a nil value) so here is my code thx if u can help :D function love.load() love.graphics.setBackgroundColor(255, 255, 255) WindowWidth = love.graphics.getWid...
- Mon Sep 23, 2013 12:19 am
- Forum: Support and Development
- Topic: love.mousepressed how does it work?
- Replies: 12
- Views: 7053
Re: love.mousepressed how does it work?
okay now my button works but when i press it it puts error in my mousepressed function saying trying to compare number to nil? can u help me? function love.mousepressed(mouseX, mouseY, l) local mouseX, mouseY = love.mouse.getPosition () if l_mouseX >= WindowWidth / 2 - 75 and mouseX <= WindowWidth /...
- Mon Sep 23, 2013 12:13 am
- Forum: Support and Development
- Topic: love.mousepressed how does it work?
- Replies: 12
- Views: 7053
Re: love.mousepressed how does it work?
but what exactly does it define is it the position of the x while pressing l or is it something else? and really thx man ur helping me alot im starting to understand that part ![Very Happy :D](./images/smilies/ms-glad.png)
![Very Happy :D](./images/smilies/ms-glad.png)
- Mon Sep 23, 2013 12:03 am
- Forum: Support and Development
- Topic: love.mousepressed how does it work?
- Replies: 12
- Views: 7053
Re: love.mousepressed how does it work?
ok thx man but what for the "_"??