Search found 19 matches

by yegorf1
Thu Jan 21, 2016 1:21 pm
Forum: Games and Creations
Topic: [Game] Kick It!
Replies: 5
Views: 1590

Re: [Game] Kick It!

I think I won't sell it, but will upload to Play Store.
by yegorf1
Tue Jan 19, 2016 2:53 pm
Forum: Games and Creations
Topic: [Game] Kick It!
Replies: 5
Views: 1590

Re: [Game] Kick It!

It will be a problem to manage different resolution and I think this game doesn't need multiplayer.

I have another game, where I implemented real time networking, which you can find here, but it written in C#
by yegorf1
Tue Jan 19, 2016 8:41 am
Forum: Games and Creations
Topic: [Game] Kick It!
Replies: 5
Views: 1590

[Game] Kick It!

Hi all!

I just want to share beta of my game, which you can find here.
The goal is to kick your chips on opponent's side of the game field.

Trailer you can find here:
by yegorf1
Tue Jan 06, 2015 9:21 am
Forum: Support and Development
Topic: [SOLVED] Angry Birds Physics
Replies: 3
Views: 1323

Re: Angry Birds Physics

I solved this. My love file is really big and there are a lot of other stuff. Solution is function Catapult:pushRock() local pos = getDrawPosition(self) --rock spawn position pos.x = pos.x + 3 pos.y = pos.y - 3 --distance on both axises local x = self.target.x - pos.x local y = self.target.y - pos.y...
by yegorf1
Tue Jan 06, 2015 8:04 am
Forum: Support and Development
Topic: [SOLVED] Angry Birds Physics
Replies: 3
Views: 1323

[SOLVED] Angry Birds Physics

Hi! I tried to calculate impulse for body in order to body flew through the mouse coordinates, but my calculations were wrong. After many attempts I tried this: local x = self.target.x - self.position.x local y = self.target.y - self.position.y res.body:applyLinearImpulse(x * 10 ^ 10, y * 10 ^ 10) I...
by yegorf1
Mon Dec 16, 2013 5:59 pm
Forum: General
Topic: math.sin and math.cos error
Replies: 7
Views: 3139

math.sin and math.cos error

Hi, all I'm running love 0.8.0 and when I launched this: print('math.sin 0: ' .. math.sin(0)) print('math.sin 90: ' .. math.sin(math.pi / 2)) print('math.sin 180: ' .. math.sin(math.pi)) print('math.sin 270: ' .. math.sin(math.pi / 2 * 3)) print('math.cos 0: ' .. math.cos(0)) print('math.cos 90: ' ....
by yegorf1
Wed Nov 13, 2013 9:54 am
Forum: General
Topic: Failed to load image
Replies: 2
Views: 1001

Failed to load image

Hi, everyone! I wanted to load map from Tiled( http://www.mapeditor.org/ ) files. So, I found an example, but for me it doesn't work because my files are in another folders. So there is source of my "game": http://www.mediafire.com/download/m0zz2tyc80922o8/rabbitShoot.rar . It's falling when trying ...
by yegorf1
Thu Dec 27, 2012 2:08 pm
Forum: Libraries and Tools
Topic: Love Editor [I need help!]
Replies: 18
Views: 4364

Re: Love Editor [I need help!]

thanks google for pcall :)
by yegorf1
Thu Dec 27, 2012 1:41 pm
Forum: Libraries and Tools
Topic: Love Editor [I need help!]
Replies: 18
Views: 4364

Re: Love Editor [I need help!]

Code: Select all

ok, chunk = pcall(love.filesystem.load, "player.save" )

chunk()
what is ok and pcall ?
by yegorf1
Thu Dec 27, 2012 1:40 pm
Forum: Libraries and Tools
Topic: Love Editor [I need help!]
Replies: 18
Views: 4364

Re: Love Editor [I need help!]

I wanted do with love.filesystem Maybe this can help you. It is a small part of the "save game" algorithm in a project I'm developing: local savePlayer = nil savePlayer = "player.x = " .. player.x savePlayer = savePlayer .. "\nplayer.y = " .. player.y savePlayer = savePlayer .. "\nplayer.level = " ...