Search found 7 matches

by Z_ReC
Sat Feb 13, 2016 11:26 am
Forum: Games and Creations
Topic: [GAME] My first game in LÖVE : TetraMino
Replies: 6
Views: 3407

Re: [GAME] My first game in LÖVE : TetraMino

Hey, not bad for a first project. Not bad at all. There are several things that I noticed - no quit item from the title screen - game over screen doesn't make any sense especially since it's shown after my score so just make the score screen the game over screen Looking at the code, I would advise ...
by Z_ReC
Sat Feb 13, 2016 8:01 am
Forum: Games and Creations
Topic: [GAME] My first game in LÖVE : TetraMino
Replies: 6
Views: 3407

Re: [GAME] My first game in LÖVE : TetraMino

josefnpat wrote:Can't say no to a tetris clone!

You mention it's Open Source: what license is it under? Also you should post the code on github/bitbucket for tasty PRs!

I never put code in a platform like github, but... there's always a first time :awesome:

https://goo.gl/n1IqTJ
by Z_ReC
Sat Feb 13, 2016 6:28 am
Forum: Games and Creations
Topic: [GAME] My first game in LÖVE : TetraMino
Replies: 6
Views: 3407

[GAME] My first game in LÖVE : TetraMino

HI FORUM !!!! :awesome: My name is Leonardo ( nick ZReC ) and speak spanish... ( Sorry for my bad English ) I have created LÖVE GAME, called " TetraMino " ( LÖVE port of Tetris ) The game is Open Source. Thank you all for help!!!! :ultrahappy: Download and play!!! ( Report Bugs please! ) ...
by Z_ReC
Mon Nov 16, 2015 7:17 am
Forum: Support and Development
Topic: Constant speed in the X axis of a body
Replies: 11
Views: 6452

Re: Constant speed in the X axis of a body

First: Thanks to all who helped! :crazy: Second: switch from the love.physics, it is impossible to get a constant velocity in love.physics without screwing something up Not really, he just needs to do a few things every frame: get current velocity vector (:getLinearVelocity()) normalize and scale it...
by Z_ReC
Sun Nov 15, 2015 8:05 am
Forum: Support and Development
Topic: Constant speed in the X axis of a body
Replies: 11
Views: 6452

Re: Constant speed in the X axis of a body

If you don't want your body to respond to collisions but move at a constant rate you can make it a "kinematic" body and set its velocity. Kinematic bodies push other objects but do not respond to collisions themselves. it can be improved? Thanks! :crazy: love.update(dt) local lvx, lvy = o...
by Z_ReC
Sun Nov 15, 2015 5:32 am
Forum: Support and Development
Topic: Constant speed in the X axis of a body
Replies: 11
Views: 6452

Re: Constant speed in the X axis of a body

Beelz wrote:Not getting into collisions... This will move you along at a constant rate:

Code: Select all

love.update(dt)
   object.x = object.x + distancePerSecond * dt
   object.y = 500
end
try your code, this is the result.

Image

it can be improved? Thanks! :crazy:
by Z_ReC
Sat Nov 14, 2015 3:57 am
Forum: Support and Development
Topic: Constant speed in the X axis of a body
Replies: 11
Views: 6452

Constant speed in the X axis of a body

Hello everyone!

Please help request! :3
As the title says, i need a object having a constant speed in the X axis!

I leave an attachment example.
Constant speed cube would have to be 480, but no.

I hope you help me! :awesome: