Search found 874 matches

by veethree
Mon Jan 30, 2012 9:14 am
Forum: Support and Development
Topic: Breakable Ground
Replies: 7
Views: 1805

Re: Breakable Ground

Due to boredom i experimented with this stuff, Here's what i came up with. This might not be a good way to do it..but it kinda works. Right now it only creates tunnels while moving horizontally, And the player acts weird sometimes (faces down while moving up and what not). But it sort of proves that...
by veethree
Mon Jan 30, 2012 8:00 am
Forum: Support and Development
Topic: Breakable Ground
Replies: 7
Views: 1805

Re: Breakable Ground

You could make the ground from a bunch of tiles. get something similar to terraria going. EDIT: Actually i just looked a bit more into it, That might not be the best idea. Dig dug is a bit different than i remembered. haha. EDIT2: Had a different idea..How about instead of a breakable ground you cou...
by veethree
Mon Jan 30, 2012 2:04 am
Forum: Games and Creations
Topic: Space game
Replies: 3
Views: 2237

Space game

This is more of a proof of concept than a game right now, But i decided to throw it up here to get some feedback and/or tips :D The idea is you're in a spaceship, and you're navigating through like an asteroid field or something like that(i'm fully aware of that not being too original :D). The red s...
by veethree
Sun Jan 29, 2012 7:17 am
Forum: Support and Development
Topic: remove a specific item from a table
Replies: 8
Views: 3516

Re: remove a specific item from a table

We're gonna need to see some code before we can help you more, you described all the basic elements that you really NEED to do this. I figured me uploading my code won't be necessary in this case, All i really needed to know is how to make the game detect which of the items from the table the playe...
by veethree
Sun Jan 29, 2012 6:02 am
Forum: Support and Development
Topic: remove a specific item from a table
Replies: 8
Views: 3516

remove a specific item from a table

So basically my setup is i have a table, which gets filled with sub tables which hold x and y values. Using those it draws a bunch of rectangles on random locations. I have added a simple collision detection, so the game can detect when the player is over one of the objects. When that happens i want...
by veethree
Fri Jan 27, 2012 8:45 am
Forum: Support and Development
Topic: Randomly generated obstacles
Replies: 7
Views: 2331

Re: Randomly generated obstacles

OK, so you know how your player is a table full of properties, such a position, size, etc? What you want to do is make a table of tables pretty much just like it. Here's an example of how that would look: obstacles = { { -- this is obstacles[1] x = 100, y = 100, size = 30, }, { -- this is obstacles...
by veethree
Fri Jan 27, 2012 7:35 am
Forum: Support and Development
Topic: Randomly generated obstacles
Replies: 7
Views: 2331

Randomly generated obstacles

Hey guys (Sorry for posting alot, just trying to get a hang of this stuff xD) I'm trying to make a simple game where your objective is simply to dodge obstacles. What i want it to do is every few seconds it will spawn a new obsticle (just a circle/rectangle) at the top of the screen that then moves ...
by veethree
Fri Jan 27, 2012 6:28 am
Forum: Support and Development
Topic: Player movement issue
Replies: 3
Views: 1458

Re: Player movement issue

Check out love.keyboard.isDown . You'll be able to clean things up a ton. Edit: You should also look into math.min and math.max. math.min returns the smaller number, andmath.max returns the larger number, so you can wrap them around player.x to keep him in bounds. function love.load() gamestate = &...
by veethree
Fri Jan 27, 2012 6:07 am
Forum: Support and Development
Topic: Player movement issue
Replies: 3
Views: 1458

Player movement issue

Hey guys. I got a little issue with basic player movement. The player's movements in this case are restricted to the x axis (only left and right). And my issue is when you're say going left, then decide to go to the right, but you press the right arrow key before you release the left one, the player...
by veethree
Fri Jan 27, 2012 3:02 am
Forum: General
Topic: Beginner game ideas?
Replies: 12
Views: 6476

Beginner game ideas?

Hey guys. So i've been playing around with löve for a while. And i've found out that the main reason i can't really get into it is cause i can't think of ideas for games..So i decided to ask you guys :D What sort of game would be a good "first game" to write? Something that would be pretty...