LD entry, Codenamed P1R@T3S

Show off your games, demos and other (playable) creations.
Post Reply
User avatar
TylertheDesigner
Citizen
Posts: 80
Joined: Sat Apr 10, 2010 2:27 am

LD entry, Codenamed P1R@T3S

Post by TylertheDesigner »

I MADE A GAME WITH PIRATES IN IT!!1!
Seriously though, this is my entry for the Ludum Dare, round 17
I will try to put it on here every 12 hours or so, for those interested.

http://www.box.net/shared/7y9dcpyj8m
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: LD entry, Codenamed P1R@T3S

Post by nevon »

I wasn't able to run it. Or well, I could start it, but it crashed when I tried to start a new game (I also had to click below the text in order to activate it).

Code: Select all

nevon@loltop:~/workspace/Epic-Volley$ love ~/Desktop/LudumDare.love 
boot	[string "main.lua"]:136: attempt to call global 'newGame' (a nil value)	stack traceback:
	[string "boot.lua"]:833: in function 'error_printer'
	[string "boot.lua"]:768: in function 'newGame'
	[string "main.lua"]:136: in function 'mousepressed'
	[string "boot.lua"]:162: in function '?'
	[string "boot.lua"]:322: in function <[string "boot.lua"]:295>
	[C]: in function 'xpcall'
	[string "boot.lua"]:840: in main chunk
User avatar
TylertheDesigner
Citizen
Posts: 80
Joined: Sat Apr 10, 2010 2:27 am

Re: LD entry, Codenamed P1R@T3S

Post by TylertheDesigner »

Ah, Nevon. Thank you for being the first volunteer! I could only test it on my own system, so you just gave me valuable feedback. I appreciate it, and I'll have it fixed as soon as I wake up.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: LD entry, Codenamed P1R@T3S

Post by kikito »

I've tried it and I think it worked.

I could not guess how to move the ship. It is supposed to move around on "travel mode"?
When I write def I mean function.
User avatar
TylertheDesigner
Citizen
Posts: 80
Joined: Sat Apr 10, 2010 2:27 am

Re: LD entry, Codenamed P1R@T3S

Post by TylertheDesigner »

Ship movement is with WASD, and the Start button is off on the collision. To start you have to click a little to the bottom right. I have fixed it, and will upload an update at 7pm
User avatar
TylertheDesigner
Citizen
Posts: 80
Joined: Sat Apr 10, 2010 2:27 am

Re: LD entry, Codenamed P1R@T3S

Post by TylertheDesigner »

Version 2
http://www.box.net/shared/sukiusmn5x
Still some bugs, but I'm tryin to feautre creep for anohter few hours before I start polishing

Buy/Sell in the market
Guy to the Town menu to hire new crew and buy crew morale boosters
Ship shows you your ships stats.
User avatar
nevon
Commander of the Circuloids
Posts: 938
Joined: Thu Feb 14, 2008 8:25 pm
Location: Stockholm, Sweden
Contact:

Re: LD entry, Codenamed P1R@T3S

Post by nevon »

Still getting this when trying to run it.

Code: Select all

nevon@loltop:~/workspace/Epic-Volley$ love ~/Desktop/LudumDare
boot	[string "main.lua"]:202: attempt to call global 'newGame' (a nil value)	stack traceback:
	[string "boot.lua"]:833: in function 'error_printer'
	[string "boot.lua"]:768: in function 'newGame'
	[string "main.lua"]:202: in function 'mousepressed'
	[string "boot.lua"]:162: in function '?'
	[string "boot.lua"]:322: in function <[string "boot.lua"]:295>
	[C]: in function 'xpcall'
	[string "boot.lua"]:840: in main chunk
What version of Löve are you developing for, and what method do you use to run the game?

EDIT: Got it working by changing require("game") to require("game.lua").

I gotta say, moving around feels really weird. Perhaps you should change movement so that the ship always moves, and that you can only rotate it (and perhaps speed up/slow down).
User avatar
TylertheDesigner
Citizen
Posts: 80
Joined: Sat Apr 10, 2010 2:27 am

Re: LD entry, Codenamed P1R@T3S

Post by TylertheDesigner »

Thanks for the suggestions Nevon. As my name implies, I am but a simple designer with aspirations to learn programming. I was first introduced to Lua in January, so I have alot to learn (physics and movement is a large part of that). This is one of the main reasons I have stuck to mostly GUI based games.

I have changed the require lines and I hope that corrects the issue for yourself and others. Thanks again
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 59 guests