Search found 6 matches

by slavian
Sun Apr 19, 2015 8:15 am
Forum: Libraries and Tools
Topic: Help with melee attacks
Replies: 6
Views: 3911

Re: Help with melee attacks

okay, though Papuan code, but it works. Made the attack, the creation of an actor in pleer.x and player.y + 1 to the size of a 1-tile and life of 0.5 seconds. And also delay before the attack 0.5 seconds.
by slavian
Sat Apr 18, 2015 5:33 pm
Forum: Libraries and Tools
Topic: Help with melee attacks
Replies: 6
Views: 3911

Re: Help with melee attacks

A little digging in the STI. I realized that while arranges ATL.
by slavian
Sat Apr 18, 2015 4:23 pm
Forum: Libraries and Tools
Topic: Help with melee attacks
Replies: 6
Views: 3911

Re: Help with melee attacks

well, you're most likely right. I hope not to have to redo everything)
by slavian
Sat Apr 18, 2015 1:20 pm
Forum: Libraries and Tools
Topic: Help with melee attacks
Replies: 6
Views: 3911

Re: Help with melee attacks

Use AdvTiled to create the world function game.load() tileSize = 32 - loadMap(1, 15, 8) end function loadMap(level, ox, oy) map = loader.load("map_"..level..".tmx") mapw = map.width*tileSize-800 maph = map.height*tileSize-600 createPlayer(ox,oy) end function exec( s ) return load...
by slavian
Sat Apr 18, 2015 12:46 pm
Forum: Libraries and Tools
Topic: Help with melee attacks
Replies: 6
Views: 3911

Help with melee attacks

Hi all, is there any example of the melee attack from a mathematical point, without using of Physics engine, etc. Thank you. Upd added the project. At the moment, that's such nonsense. Prompt how to better implement the melee attack. Ps, a lot of code collected from various sources something himself...
by slavian
Tue Apr 07, 2015 3:49 pm
Forum: Libraries and Tools
Topic: Pixel art 2d lighting concept
Replies: 3
Views: 6859

Pixel art 2d lighting concept

Hi stumbled upon a topic about lighting, but unfortunately the version is outdated.
Do not tell me where to find a working demo?

topic viewtopic.php?f=5&t=11076

thank you!