Blue Box!

Show off your games, demos and other (playable) creations.
Post Reply
Puzzelism
Prole
Posts: 16
Joined: Wed Mar 06, 2013 2:00 am

Blue Box!

Post by Puzzelism »

Hey fellow Lövers, Heh lovers.
Anyways im making this project with my friend, we named the game blue box. so far we have established the fundamentals for game development withing this .love file, but we need ideas, and gameplay concepts, and or ways to make the script better.

THE GAME IS NOT NEARLY FINISHED,

it has only been in development for 2 days now, and we really need ideas, i was thinking something on the lines of a glactica type game, except obviously instead of space ships it would be basic enemies or such.

IF YOU HAVE ANY IDEAS,

please post them below, I'll put you're name in a credits menu within the menu screen.

ALSO

if you would be so kindly as to give me hinters and or the actually script or rescources i would need to make your ideas work that would be great. Im kind of new to Löve so it would be awesome to get some help!

DOWNLOAD
Attachments
BlueBox.love
(455.64 KiB) Downloaded 203 times
Last edited by Puzzelism on Sat Mar 16, 2013 10:50 pm, edited 3 times in total.
One cannot simply code love.. Oh wait with LÖVE you can..
User avatar
Syca
Prole
Posts: 39
Joined: Wed Mar 06, 2013 12:12 am
Location: A room in a house

Re: Blue Box!

Post by Syca »

I like the menu screen!
But I would make the bullets and player faster than they are. Specially the bullets, I think the player moves faster than them.
Also have the bullets come from the middle of the player instead of the top left corner
If you don't know how to do this you would change this line

Code: Select all

table.insert(bullet, {width = 5, height = 5, x = player.x, y = player.y, dir = dir})
to something like

Code: Select all

table.insert(bullet, {width = 5, height = 5, x = player.x+(player.width/2), y = player.y+(player.height/2), dir = dir})
But it's a great start!
-hear about bug
-fail to reproduce
-mark as feature✓
Puzzelism
Prole
Posts: 16
Joined: Wed Mar 06, 2013 2:00 am

Re: Blue Box!

Post by Puzzelism »

Thanks, yeah the title was a big part of a "first impression" i guess you could call it. about the bullets being in the middle of the player thats what i was trying to do with the player.x and player.y commands but now that i think about it dividing by two would work great!
About the speed of player and bullet, the bullet speed was just to be able to see the bullet for testing purposes only. The player speed on the other hand was just what i thought was a good speed!

Thanks for your feedback and enjoy your spot on the credits screen!
One cannot simply code love.. Oh wait with LÖVE you can..
scutheotaku
Party member
Posts: 235
Joined: Sat Dec 15, 2012 6:54 am

Re: Blue Box!

Post by scutheotaku »

While this is really early, this seems like a really good start! I love the menu screen! It definitely makes a good first impression, like you said :)

When running your LOVE file (it looks like you changed the file since Syca commented) I did get two errors:

Code: Select all

Could not open file rescources/title.png. Does not exist.
Could not open file rescources/pixel.ttf. Does not exist.
These are easy to fix though. The problem is that "title.png" is actually "Title.png" (with the first letter be capitalized), and "pixel.ttf" is "Pixel.ttf." Filenames in Windows are not case-senstive, so this would not cause a problem when you run it there (e.g. with your .bat), but filenames ARE case-sensitive when inside a ZIP archive. So, to fix it, I just changed the appropriate filenames, and it worked :)

Oh, and a quick tip: table.insert is slow, so you usually want to avoid using it while "action" is happening. You're currently using it to spawn bullets:

Code: Select all

table.insert(bullet, {width = 5, height = 5, x = player.x+(player.width/2), y = player.y+(player.height/2), dir = dir})
But this would be much faster:

Code: Select all

bullet[#bullet+1] = {width = 5, height = 5, x = player.x+(player.width/2), y = player.y+(player.height/2), dir = dir}

-- table.insert(myTable, foo) 
-- ...has the same result as... 
-- myTable[#myTable + 1] = foo
--also, just so you know, #myTable returns the number of entries in the table myTable.
Keep up the good work!

PS: If you give more info on what type of theme/feel you're going for, we might be able to come up with some cool ideas for you :)
Puzzelism
Prole
Posts: 16
Joined: Wed Mar 06, 2013 2:00 am

Re: Blue Box!

Post by Puzzelism »

Thanks for your response!

the theme i was going for was sort of a blocky style shoot em up with different waves and stuff, but that could change in the near future. The title.png and stuff like that was changed in the updated download link, sorry about that should have test ran it first. Also, the reason i put the tables like that was because thats the way i was taught so that's the easier way for me!

Thanks for your suggestions, and also enjoy your comfy new position in the credits!
One cannot simply code love.. Oh wait with LÖVE you can..
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest