Search found 81 matches

by pacman
Sun Oct 19, 2014 11:13 am
Forum: Support and Development
Topic: Capped frame limit for no reason *sigh*
Replies: 44
Views: 25021

Re: Capped frame limit for no reason *sigh*

What can cap my frame rate if
1. I didn't do anything (ye, right :crazy:)
2. Vsync in nvidia is turned off
:C
by pacman
Sun Oct 19, 2014 8:28 am
Forum: Support and Development
Topic: Capped frame limit for no reason *sigh*
Replies: 44
Views: 25021

Capped frame limit for no reason *sigh*

Sup, yesterday I tried to code something and it worked :o After restarting computer all of a sudden I couldn't reach 125FPS it was capped at 100. I commented everything I added last time - still same problem. Downloaded version from days ago - again capped at 100. Tried run it on ancient laptop - ca...
by pacman
Wed Oct 15, 2014 12:47 pm
Forum: Support and Development
Topic: pathfinding -_-
Replies: 8
Views: 3634

Re: pathfinding -_-

Posting on forums is like casting +INT spell on yourself :awesome:
by pacman
Sun Oct 05, 2014 11:45 am
Forum: Support and Development
Topic: Haunted code, paranormal activities
Replies: 9
Views: 4254

Re: Haunted code, paranormal activities

Thank you all for explanations :nyu:
Everything is clear :)
by pacman
Sat Oct 04, 2014 10:49 am
Forum: Support and Development
Topic: Haunted code, paranormal activities
Replies: 9
Views: 4254

Re: Haunted code, paranormal activities

I understand... So I need to copy what I want to other table. Now in http://lua-users.org/wiki/CopyTable there are 2 different ways to copy table. Shallow Copy is easy and simple but Deep Copy requires some knowledge to understand :roll: function deepcopy(orig) local copy copy = {} for orig_key, ori...
by pacman
Fri Oct 03, 2014 3:56 pm
Forum: Support and Development
Topic: Haunted code, paranormal activities
Replies: 9
Views: 4254

Re: Haunted code, paranormal activities

I have discovered the source of the error: Both r_tile1 and l_tile4 have the same x and y values, and as a result, share the same tile coordinate. Since you store the distance as a value on the grid (tile = current_map[tile_y][tile_x] = r_tile1 = l_tile4), they value is overwritten from that. That'...
by pacman
Sun Sep 28, 2014 11:12 am
Forum: Support and Development
Topic: Haunted code, paranormal activities
Replies: 9
Views: 4254

Haunted code, paranormal activities

I want to look for slope tiles around the player and highlight the closest one. Everything (kinda) works when I check for slopes once - when the origin point is on the left side of the player. Left side should detect left-side slopes, and right side of the player looks for right-sided slopes. But wh...
by pacman
Mon Aug 25, 2014 12:36 pm
Forum: Games and Creations
Topic: Watch Your Balls, please check this out :)
Replies: 11
Views: 8449

Re: Watch Your Balls, please check this out :)

Astro wrote:So many iSheep. I'll check it out.
Poor hipster with no options spotted!
:awesome: Well, that was unnecessary
by pacman
Thu Aug 21, 2014 4:24 pm
Forum: Support and Development
Topic: Platforms with different speeds look jerky
Replies: 9
Views: 6684

Re: Platforms with different speeds look jerky

Did anyone wrote any tutorial/article about this topic?
There is no point in using camera that works only in certain circumstances.
Will investigate! Thank you, Watson :crazy: Game saver!
by pacman
Wed Aug 20, 2014 4:32 pm
Forum: Support and Development
Topic: Platforms with different speeds look jerky
Replies: 9
Views: 6684

Re: Platforms with different speeds look jerky

Someone kill me, please :emo: After setting every platform to the same speed it's still vibrating occasionally. Now, I think I know what causes it. Platform #1 spawns and at some point it has Y-value: 100. 3 8912656513 Platform #2 spawns and at the beggining it has Y-value: 0. 0 00000000 Now when we...