Page 1 of 1

Ross - An Alpha Showcase

Posted: Wed Oct 30, 2013 6:54 pm
by Pigeon
So, first of all, I'm only showcasing an alpha because I wanna see how my coding is going on, and I think you guys may help me with that. It's the first game that I have developed to this high of a level, and I'm kinda proud of it. See what you guys think :)

A - Left
D - Right
W - Jump

Re: Ross - An Alpha Showcase

Posted: Thu Oct 31, 2013 6:40 pm
by Mermersk
It's a really nice prototype! The collision works very well. Did you just draw the map or are you using some tile-painting-software ?

Re: Ross - An Alpha Showcase

Posted: Thu Oct 31, 2013 8:09 pm
by Pigeon
Mermersk wrote:It's a really nice prototype! The collision works very well. Did you just draw the map or are you using some tile-painting-software ?
I'm using Tiled to create the maps, then Advanced Tiled Loader to load them into Love. It's a bit like the tutorial on ExplodingRabbit, but just with my own style to it. I did the graphics myself, and the character is just a square at the moment. And thank you by the way! It means a lot that you like it!

Re: Ross - An Alpha Showcase

Posted: Thu Oct 31, 2013 10:38 pm
by veethree
Nice little demo. The collision seems on point.

I had some trouble running it though, First i tried with löveliness, Got me an error, So i downloaded the .love and it worked the first time, Tried to run it again and got the same error. So i extracted the zip and ran it by dragging the folder over the löve executable, And i got the rubber piggy.

I suspect those issues have nothing to do with your game though, I am running os x 10.9 (mavericks) and i recall seeing a post talking about löve having some compatibility issues with it.

Re: Ross - An Alpha Showcase

Posted: Thu Oct 31, 2013 11:28 pm
by DSSiege11
I'm getting an error too :(

player/SpriteAnimation.lua:81: Incorrect parameter type: expected userdata.

EDIT: I'm getting the error on Windows 7

Re: Ross - An Alpha Showcase

Posted: Fri Nov 01, 2013 3:13 am
by Lafolie
I'm getting the error on OSX 10.6.8.

Re: Ross - An Alpha Showcase

Posted: Fri Nov 01, 2013 8:17 pm
by jjmafiae
cool, i like it.

Re: Ross - An Alpha Showcase

Posted: Thu Nov 14, 2013 4:06 pm
by Pigeon
Sorry about the errors, it does happen. Just run it again and see if it works :)

Re: Ross - An Alpha Showcase

Posted: Thu Nov 14, 2013 4:34 pm
by Jeeper
Its due to you naming images/stuff with a capital letter in the code and not on the actual picture (or vice versa).

Re: Ross - An Alpha Showcase

Posted: Fri Nov 15, 2013 7:32 am
by miko
Pigeon wrote:Sorry about the errors, it does happen. Just run it again and see if it works :)
Thats not the real solution ;(
The error comes from this line:

Code: Select all

frame = math.random(1,20),
in player/coin.lua:10, and then

Code: Select all

coinSprites:start(coins[i].frame)
in main.lua.
Basically if frame number is larger than the actual number of frames (which you do not check for in player/SpriteAnmation.lua), you get nil instead of a quad.
Tha fix is either to check for number of frames, or change random value to 1 ("frame=1" in player/coin.lua)