How do i stop lag from an event that has ended...

Get help using Construct 2

Post » Thu Apr 04, 2013 10:07 am

Wow.. i just had the weirdest bug.. my player jumped and landed on one of the light stones and fell into it.. i tried a few more times then i fell through it and fell to the bottom of the layout that had solid blocks all the way down xD luckily i set bound to layout xD
B
3
Posts: 13
Reputation: 326

Post » Thu Apr 04, 2013 10:22 am

There is a bug with the solids that allows you (the player) to fall through at the layout border, does anyone know how i can fix this?
B
3
Posts: 13
Reputation: 326

Post » Thu Apr 04, 2013 10:25 am

[QUOTE=Shadowfox9356493] There is a bug with the solids that allows you (the player) to fall through at the layout border, does anyone know how i can fix this? [/QUOTE]

Like we've said, post either a .capx of your problem or screenshots of the events, otherwise we really can't help. :)
B
24
S
8
G
7
Posts: 756
Reputation: 7,202

Post » Thu Apr 04, 2013 10:36 am

I made a quick demo for you to show us what's happening, but you were too fast.

https://dl.dropbox.com/u/85412219/forumposts/Shadow.capx

Are you mixing "Solid" with "Physics?" They aren't really compatible. Notice in my demo, (which used the Scirra example that comes with Construct2) nothing is "Solid" they are all just using physics behavior.Paradox2013-04-04 10:41:56
B
201
S
52
G
30
Posts: 897
Reputation: 36,621

Post » Fri Apr 05, 2013 1:40 pm

My game has no physics at all.. but im going to have it so the player cannot reach the layout border, therefor preventing this solids error..
what is the most efficient (least laggy) way to make an object travel downwards?

If there is a good way i can then allow my lighting system to be consistent...
B
3
Posts: 13
Reputation: 326

Post » Fri Apr 05, 2013 5:18 pm

So you're actually lighting the terrain? I thought your were lighting moving objects.
is the terrain changing, or could you have it draw everything in a group once at the beginning, then shut that group off? (make group inactive)

the only problem I could imagine with the solids would be the object maybe stepping too far inside before the collision was detected, but I don't know for sure. I would need to experiment, but I am headed out the door, I'll try it tonight.
B
201
S
52
G
30
Posts: 897
Reputation: 36,621

Post » Sat Apr 06, 2013 3:55 pm

Hold on.. I've got the 'stone' as separate objects with different shades and an event to delete the previous and spawn the new.. I'll try and make it so it changes the 'stone' to a specific frame that has the shade that i want.. and hopefully it will be less (or no longer) laggy :DShadowfox93564932013-04-06 15:56:26
B
3
Posts: 13
Reputation: 326

Post » Sun Apr 07, 2013 6:27 pm

Frames is probably how I would have done it, you could then have day and night cycles with an event changing all frame 3s to frame 4s at a certain time.

I can't seem to duplicate the solids not working right, can you make an example capx that does the same thing?
B
201
S
52
G
30
Posts: 897
Reputation: 36,621

Post » Mon Apr 08, 2013 2:49 am

Yes, however i don't want all the stone to change to that brightness because some stone are underneath others and i don't want those ones to be lit.. i guess ill just have to go with a lit and non lit system, instead of decreasing in brightness.. this i am able to do and make consistent (hopefully) and ill complete this at a later stage, in the meantime ill work on my cave gen. system, but let me know if there are any other ways you might know how to do this decreasing brightness for the stone of the terrain..

However i will have a day/night cycle by setting an instance variable to the lit object so it is dark at the night cycle and normal in the day cycle..

This also means ill have to change every single object and add a darker version of that, and I've got like 60+ objects xD (not all of these are in one layout)

I'm going to have to do this for the monsters too but considering i haven't even made the sprites for my monsters yet, i wont have to edit the same thing twice, this is going to take ages, but its going to look great once finished :D
B
3
Posts: 13
Reputation: 326

Previous

Return to How do I....?

Who is online

Users browsing this forum: Justin1967, qaisarehman, Yahoo [Bot] and 31 guests