Search found 9 matches

by Gorus
Mon Jan 13, 2014 9:25 pm
Forum: Support and Development
Topic: White edge around rotated object
Replies: 9
Views: 2950

Re: White edge around rotated object

Please post the code you use to rotate the image.
by Gorus
Mon Jan 13, 2014 9:15 pm
Forum: Support and Development
Topic: setMode doesn't provide desired result...
Replies: 10
Views: 5966

Re: setMode doesn't provide desired result...

Are you forcefully disabling windows updates? your Windows 8 should be updated to windows 8.1. While we're at it, if you don't have a "legit" copy of windows 8, that could be the issue. Many of the cracks/activators/repacks are crap quality and no proper scene has released a trustable crac...
by Gorus
Mon Jan 13, 2014 10:15 am
Forum: Support and Development
Topic: Collision detection response issue
Replies: 8
Views: 4397

Re: Collision detection response issue

If the objects stop with a short distance before the wall, then this is probably because of a programming error: When you detect a collision, then you should not fully reverse the last step by putting the object back to the original position. Instead you should move the object to the closest positi...
by Gorus
Mon Jan 13, 2014 9:21 am
Forum: Support and Development
Topic: Collision detection response issue
Replies: 8
Views: 4397

Re: Collision detection response issue

Cool. One thing I noticed however: the player slows down as he approaches walls. Since your collision checks are frame based and dt varies each frame, the larger the dt the greater the gap between the player and the wall. This is not a big deal but if you have fast moving objects it might become mo...
by Gorus
Mon Jan 13, 2014 1:10 am
Forum: Support and Development
Topic: Alpha channel ingored
Replies: 4
Views: 2638

Re: Alpha channel ingored

You must provide some code if you want any help with such issue. Else if you are convinced that it's an engine bug, go to the bug/issue tracker and post there.
by Gorus
Mon Jan 13, 2014 1:09 am
Forum: Support and Development
Topic: setMode doesn't provide desired result...
Replies: 10
Views: 5966

Re: setMode doesn't provide desired result...

Well the code certainly looks alright, and worked on both of my 2 machines I tested it on.
Do you by any chance have 2 graphics cards? Mostly interested if you have an integrated card and an slotted card.
While we are at it, what videocard do you have, and have you updated the drivers ?
by Gorus
Sun Jan 12, 2014 2:15 pm
Forum: Support and Development
Topic: Collision detection response issue
Replies: 8
Views: 4397

Re: Collision detection response issue

Thanks for the insight, I'll have a look at that. I have however fixed all the issues by placing some checks above the velocity calculations, but I feel like there's way too much work the CPU has to do so maybe the solutions you provided will help solve that. I'll make a new post if something goes t...
by Gorus
Sun Jan 12, 2014 12:25 am
Forum: Support and Development
Topic: Collision detection response issue
Replies: 8
Views: 4397

Re: Collision detection response issue

You mean like run a check on when the friction is calculated for each direction? The problem with this kind of friction function is that even when the player is still, the xvel and yvel variables have a value, that's constantly changing from 0 to 3 or something like that, because of the delta time u...
by Gorus
Sat Jan 11, 2014 8:48 pm
Forum: Support and Development
Topic: Collision detection response issue
Replies: 8
Views: 4397

Collision detection response issue

Hello fellow coders. I have stumbled upon a problem while writing a code for my top-down tile-map game. Note that the player's movement isn't restricted to tiles, it's free movement. Firstly, to get any idea of what I'm trying to do I'll post the way I use the basic default for i,lev in ipairs(level...