Search found 7 matches
- Sun Apr 13, 2014 6:16 pm
- Forum: Support and Development
- Topic: Using Hump to pause the gamestate.
- Replies: 2
- Views: 2291
Re: Using Hump to pause the gamestate.
It worked thank you
- Sun Apr 13, 2014 5:16 pm
- Forum: Support and Development
- Topic: Using Hump to pause the gamestate.
- Replies: 2
- Views: 2291
Using Hump to pause the gamestate.
im trying to pause the game state when the user presses "p". i have tried putting this in a new file: Pause = Gamestate.new() function Pause:enter(from) self.from = from -- record previous state end function Pause:draw() local W, H = love.graphics.getWidth(), love.graphics.getHeight() -- d...
- Wed Mar 12, 2014 1:49 pm
- Forum: Support and Development
- Topic: Collision with Tiled map?? Please help.
- Replies: 1
- Views: 1258
Collision with Tiled map?? Please help.
I am trying to get my character to stop falling if it lands on the solid layer. I have tried using Hardon Collider and it isnt working. I have spend hours on this but i cant seem to get it to work. Gamestate.level1 = Gamestate.new( ) local state = Gamestate.level1 loader = require("AdvTiledLoad...
- Sat Mar 08, 2014 10:18 pm
- Forum: Support and Development
- Topic: AdvTiledLoader layer collision
- Replies: 1
- Views: 1429
AdvTiledLoader layer collision
I am trying to get my character to collide with the tiled map that has been implemented into the game. for example when I jump it does fall through the solid layer. Gamestate.level1 = Gamestate.new( ) local state = Gamestate.level1 loader = require("AdvTiledLoader.Loader") HC = require(&qu...
- Wed Mar 05, 2014 8:49 pm
- Forum: Support and Development
- Topic: add gravity to my world and make an image jump.
- Replies: 6
- Views: 3899
Re: add gravity to my world and make an image jump.
@micha yeah the background and the map are moving. I tried to move the player but i need the background to scroll continuously. that why I tried it this way round. @thebass i have tried that and it doesnt work for some reason there must be a way to allow the one image to have gravity. and then in tu...
- Wed Mar 05, 2014 4:43 pm
- Forum: Support and Development
- Topic: add gravity to my world and make an image jump.
- Replies: 6
- Views: 3899
add gravity to my world and make an image jump.
my character curently runs left to right at a speed of 200. if ou hold down "right" it speed up to 400 and if you hold down ~"left is speed goes to 50. That and the background and world scrolling all work perfectly to the world.speed. I am trying to get my character to obay the laws o...
- Thu Feb 27, 2014 10:48 pm
- Forum: Support and Development
- Topic: Issue with using Hump Module and graphics.draw functions.
- Replies: 1
- Views: 1170
Issue with using Hump Module and graphics.draw functions.
i am trying to use the Hump module to change game states within my game. i am able to change the game state, however certain love.graphics are providing errors. these are love.graphics.draw(...), love.graphics.setFont(...). they all bring up an error say "Incorrect parameter type: Expected user...