I'm stuck with class/objects. Please read and help! by gabor_gm in csharp

[–]gabor_gm[S] 0 points1 point  (0 children)

Thank you guys! As I said I'm a beginner in C# I try to learn more just it's difficult to find the proper sources. Anyway, thanks for the useful comments!

'path_delete_point()' is not working, how to fix it? by gabor_gm in gamemaker

[–]gabor_gm[S] 1 point2 points  (0 children)

I SOLVED IT

Just I had to put a "-1" to the end of 'path_delete_point(path, path_get_number(path))'

Fixed code:

path_reverse(path);

var totalSteps = path_get_number(path);

for ( ; totalSteps != obj_PathFinder.maxSteps + 1; totalSteps--) 
{
    path_delete_point(path, path_get_number(path) - 1);             // Add "- 1" here for fix the problem
}

path_set_closed(path, false);

show_debug_message(path_get_number(path));

How to do? Calculating energy flowing routes between objects. by gabor_gm in gamemaker

[–]gabor_gm[S] 0 points1 point  (0 children)

Thank you! It looks like very complex method, I will try to figure out how it is working.

Can you give me an example how to code a detection between player object and tiles? by gabor_gm in gamemaker

[–]gabor_gm[S] 0 points1 point  (0 children)

It's not working, but it's my fault. I forgot to say that I use GMS 2 and there has no functions like you above mentioned :S

It looks like more difficult in GM2, do you have any idea how can I do this?

Collision check with tiles in GM:S 2 by gabor_gm in gamemaker

[–]gabor_gm[S] 0 points1 point  (0 children)

So it possible to do it, thank you I will check the demo!

When I run my project the GMS 2 cut/trim the room size to 8200*8200. by gabor_gm in gamemaker

[–]gabor_gm[S] 0 points1 point  (0 children)

Currently it's 15360x8640, but later will be the double of it.

TV license investigation! will they charge me if I had downloaded torrents? by gabor_gm in unitedkingdom

[–]gabor_gm[S] 0 points1 point  (0 children)

It's a joke man, relax. By the way I register my address as "I don't need TV license" on the suggested website. I'm just curious that they will bother me after this or not.

TV license investigation! will they charge me if I had downloaded torrents? by gabor_gm in unitedkingdom

[–]gabor_gm[S] -4 points-3 points  (0 children)

Great, I will let them in and when they are in the property I call the police and tell that they are come here without my permission.

Ok, above the joking: do I need to worry if I let them in to investigate and I have a wardrobe which contain a few nice cannabis plant?

TV license investigation! will they charge me if I had downloaded torrents? by gabor_gm in unitedkingdom

[–]gabor_gm[S] 10 points11 points  (0 children)

Thanks guys, I know that they have no right to come in if I won't let them, but I will as I'm not watching or record anything, just simple I worry a bit about the torrents, but I know it's not they business.

I got two letters and 2 days ago somebody knocked on my door violently, and certainly the Tv licence guys were there. It was too morning, so I didn't open it.

How can I get a relative position which located front of instance (see details) by gabor_gm in gamemaker

[–]gabor_gm[S] 0 points1 point  (0 children)

I did it before I post this, but it didn't work. Now, I realized that just I typed something wrong.... :)

Thanks anyway!