Search found 32 matches

by Мэтю
Mon Jan 20, 2014 8:18 pm
Forum: General
Topic: Collision detection without physics?
Replies: 14
Views: 25340

Collision detection without physics?

I need a help to create a system do detect collision in sprites. Example:

Walls with player, zombies
Bullet with zombies, and on collide, zombies take damage

ETC ETC

Someone have any idea about that?
Prototipo1.png
Prototipo1.png (20.09 KiB) Viewed 20234 times
My love file:
lel.love
(209.73 KiB) Downloaded 570 times
Any help is welcome :ultrahappy:
by Мэтю
Fri Jan 17, 2014 11:30 pm
Forum: General
Topic: [SOLVED]Positioning a image in another image(A weap in hand)
Replies: 11
Views: 9027

Re: [SOLVED]Positioning a image in another image(A weap in h

Instead of using: love.graphics.print("STAMINA: "..player.stamina,100,80) You can use: love.graphics.print("STAMINA: "..math.floor(player.stamina),100,80) This will return an integer instead of a double (or float). Basically, this will get rid of the .<number> Thanks for the tip...
by Мэтю
Wed Jan 08, 2014 11:48 am
Forum: General
Topic: The Global Game Jam
Replies: 23
Views: 11128

Re: The Global Game Jam

On my city and others states of Brazil will occur this event, but I don't will participate, i don't have much experience programming and I don't have a team xDD
by Мэтю
Tue Jan 07, 2014 9:22 pm
Forum: Games and Creations
Topic: squares - a casual game of dodge and collect [updated!]
Replies: 5
Views: 3432

Re: squares - a casual game of dodge and collect

Nice game, i loved the song :nyu:
by Мэтю
Tue Jan 07, 2014 8:52 pm
Forum: General
Topic: [SOLVED]Positioning a image in another image(A weap in hand)
Replies: 11
Views: 9027

Re: Positioning a image in another image (A weapon in a hand

Weapon position,player rotation and shooting solved, i'll put [SOLVED] on this post :ultrahappy: I created a simple stamina system, a simple bar of stamina and a zombie that follow the player. Now i gonna create a system that if zombie collide with player, he takes damage, and with time, new feature...
by Мэтю
Tue Jan 07, 2014 4:21 pm
Forum: General
Topic: [SOLVED]Positioning a image in another image(A weap in hand)
Replies: 11
Views: 9027

Re: Positioning a image in another image (A weapon in a hand

Solution 1: Trigonometry (if you want to do this, please tell us and we can give you some code or formulas) Solution 2: Change the image of the player, such that he is holding the bullet centered. From what I know, this is also more realistic, since the player would aim by looking over the iron sig...
by Мэтю
Tue Jan 07, 2014 3:04 pm
Forum: General
Topic: [SOLVED]Positioning a image in another image(A weap in hand)
Replies: 11
Views: 9027

Re: Positioning a image in another image (A weapon in a hand

You can draw the weapon on an image of the same size as the player (which would be mostly transparent) and set the origin coordinates to the same coordinates. If you keep the angle of both images the same, then the weapon will be perfectly aligned with the hand of the player. As micha said, create ...
by Мэтю
Tue Jan 07, 2014 12:21 am
Forum: Games and Creations
Topic: Unnamed Zombie Game v0.06
Replies: 49
Views: 28932

Re: Unnamed Zombie Game v0.05

I played the game, very nice xDDD
I see that have immortal zombies(or with much life) and the zombies occupies the same space from the player, they don't stop walking on reach the player. :rofl:
by Мэтю
Mon Jan 06, 2014 11:24 pm
Forum: General
Topic: [SOLVED]Positioning a image in another image(A weap in hand)
Replies: 11
Views: 9027

[SOLVED]Positioning a image in another image(A weap in hand)

I want to make a very simple TDS (TOP-DOWN SHOOTER), and I want to position a weapon in the hand of player: http://www.schineider.hostei.com/tts/images/playertest.png The green cross Is the point(cross!!) where the player will rotate (I arealdy solved this xDDD) The red rectangle is where I want to ...
by Мэтю
Mon Jan 06, 2014 4:58 pm
Forum: General
Topic: I'm new & need help :)
Replies: 7
Views: 2937

Re: I'm new & need help :)

You are in luck, Lua was developed by Brazilians, I don't knew that language was created by brazilians xDDD, Now i know Sockmunkee have some 0.8.0 love tutorials (Click me!, I strongly recommend those) Eamonn have some 0.8.0 lua & love tutorials (Click me!) and finally Goature have some tutoria...