Search found 1225 matches
- Thu Apr 05, 2012 11:19 am
- Forum: Support and Development
- Topic: Music not working & cannot place squares
- Replies: 19
- Views: 13237
Re: Music not working & cannot place squares
This would work but I would suggest learning and using an Object Oriented method instead if you're going to make a more complex game. What method are you thinking of? I also have some troubles getting started. Edit: ... function love.mousepressed(x, y, button) if button == "1" then table....
- Thu Apr 05, 2012 11:12 am
- Forum: Support and Development
- Topic: A Saving Lib? [SOLVED]
- Replies: 24
- Views: 10140
A Saving Lib? [SOLVED]
Does know of a library which will allow me to save different variables and then load them up in the next game session. Eg: Save the level number, close the game, reopen, and you are still on the same level.
- Thu Apr 05, 2012 10:55 am
- Forum: Support and Development
- Topic: Music not working & cannot place squares
- Replies: 19
- Views: 13237
Re: Music not working & cannot place squares
He wrote that you need to put the draw block thing into the draw function. But I tried it and it still didn't work.Yousar wrote:I have no idea what you just wrote...
But thanks anyway.
- Thu Apr 05, 2012 10:51 am
- Forum: Games and Creations
- Topic: The Crawler of Dungeons™ [!RENAMED! AND !REBORN!]
- Replies: 89
- Views: 52019
Re: Dungeon Crawler
Right, if you encounter any bugs make sure you report them to me.
- Thu Apr 05, 2012 9:53 am
- Forum: Support and Development
- Topic: A "voxel" engine
- Replies: 10
- Views: 7065
Re: A "voxel" engine
Is that a good thing?rokit boy wrote:Ok so I got Unity to work and suddenly a miracle happened!
UNITY USES C# FUCK YEAH!
- Thu Apr 05, 2012 9:50 am
- Forum: Support and Development
- Topic: Gamestate problem
- Replies: 2
- Views: 3465
Re: Gamestate problem
The simplest way seems to be to recreate the way LÖVE does it. Something like : state = {} state.menu = {} state.menu.load = function(this) currentstate = this end state.menu.update = function(dt) ... end state.menu.draw = function() ... end state.battle = {} state.battle.load = function(this) curr...
- Thu Apr 05, 2012 7:01 am
- Forum: Support and Development
- Topic: Music not working & cannot place squares
- Replies: 19
- Views: 13237
Re: Music not working & cannot place squares
I have tried altering the code but I also couldn't place blocks. It maybe you should talk to a more expirienced dev.Yousar wrote:Thanks Davidobot, I have noticed the mistakes you fixed and I hope I don't make that error again.
However, I still cannot place blocks, which slightly confuses me.
Do you know why?
- Thu Apr 05, 2012 6:18 am
- Forum: Support and Development
- Topic: Music not working & cannot place squares
- Replies: 19
- Views: 13237
Re: Music not working & cannot place squares
Well first here is the music.lua: (Both edited) function love.music() music = love.audio.newSource("hurricane.mp3") -- if "static" is omitted, LЦVE will stream the file from disk, good for longer music tracks love.audio.setVolume(1.0) love.audio.play(music) end And here is the ma...
- Thu Apr 05, 2012 6:11 am
- Forum: Support and Development
- Topic: Music not working & cannot place squares
- Replies: 19
- Views: 13237
Re: Music not working & cannot place squares
The problem is my music isn't working and I have made a script to place squares. But the script isn't placing the squares and since I am very (very) new to LUA, I have no idea what I'm doing wrong. Please could you point out what's wrong with the script and that'll make my day. First of don't uploa...
- Thu Apr 05, 2012 5:47 am
- Forum: Support and Development
- Topic: Gamestate problem
- Replies: 2
- Views: 3465
Gamestate problem
How do you make the game draw a whole seperate scene and then go back to the original one. Eg: In a RPG game when you encounter a monster, the game switches the scene to battle and then after the battle is over it does back to the room. Post if you want me to upload the .love of the game I am talkin...