Need help on making my animated player do other thing!!!

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
TheSwedishPeanut
Prole
Posts: 2
Joined: Fri Jun 28, 2013 4:52 pm

Need help on making my animated player do other thing!!!

Post by TheSwedishPeanut »

Hi!
Any function that need to use (key) doesn't work after i added the animation when walking! I really need to get help because I can't countinue on my RPG game until I figured out this!

This is my animated player code:

http://pastebin.com/kWr6J3k6

This is my bullet code:

http://pastebin.com/rYXKVYE4

This is the main.lua code:

http://pastebin.com/NbDY5J09
Last edited by TheSwedishPeanut on Fri Jun 28, 2013 7:04 pm, edited 1 time in total.
User avatar
micha
Inner party member
Posts: 1083
Joined: Wed Sep 26, 2012 5:13 pm

Re: Need help on making my animated player shoot bullets!

Post by micha »

Hi and welcome to the forum,

you can do two things to make it easier for us to help you.
1. Make a .love-file and post it here.
2. Say more precisely, what you want to achieve/what your problem is.
lachlaan
Prole
Posts: 30
Joined: Sun Jun 30, 2013 7:23 pm

Re: Need help on making my animated player do other thing!!!

Post by lachlaan »

If you're talking about your player.animreset function, then it might just be a matter of you not actually calling the function in the first place, perhaps.
TheSwedishPeanut
Prole
Posts: 2
Joined: Fri Jun 28, 2013 4:52 pm

Re: Need help on making my animated player do other thing!!!

Post by TheSwedishPeanut »

Im trying to get the player to jump and shoot. I can't upload my file now because im on a vacation
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests