deviever's Recent Forum Activity

  • Okay. So for some reason when I move the tilemap to -16,-16, which is where I had it so I could use it to create a boundary around the edge of the layout, everything gets wonky, including the collision polygons.

    I moved it back to 0,0, and now it's fine. :/

  • In game everything is offset by one pixel down and to the right, but in the editor it looks fine.

    Obviously I can just work around this by manuall making objects in the editor offset, but I'd rather have it just work. :/

    Here's the file > mediafire.com/download/1b3g9dibj6bd11a/TILEMAPOFFSET.capx

    Thanks in advance.

    P.S. Oh, sorry the project is a bit of a mess. The objects and tilemap in question are on Layer 3.

    Also it seems the player character is a pixel off the ground, even when I move the tilemap into the right position. ;-;

  • Hello there. My name is Devi Ever and I create pixel art! I look forward to providing you with any pixel related services you might be in need of, whether it's an avatar, small indie game, or larger project!

    My current rate is $15 an hour.

    I work fast and am very communicative through out the creative process. It's important that I create something that both you and I will feel proud to show the world!

    Contact me via email using this link : tinyurl.com/devieveremail

    Check out my portfolio here : deviever.com

    Some highlights of my work :

    <img src="http://i.imgur.com/TeF08Yg.gif" border="0" />

    <img src="http://i.imgur.com/0HtoobG.gif" border="0" />

    <img src="http://i.imgur.com/c7htPsD.png" border="0" />

    <img src="http://i.imgur.com/wPe3D53.png" border="0" />

    <img src="http://i.imgur.com/SI7tSW2.png" border="0" />

    <img src="http://i.imgur.com/palqSCx.png" border="0" />

    <img src="http://i.imgur.com/46OLA8J.png" border="0" />

    <img src="http://i.imgur.com/Ctn3xve.gif" border="0" />

    <img src="http://i.imgur.com/wKq4g0Z.png" border="0" />

    <img src="http://i.imgur.com/6OA5KpE.png" border="0" />

    <img src="http://i.imgur.com/ECjQx48.png" border="0" />

    <img src="http://i.imgur.com/OCJfr1l.png" border="0" />

  • So I tried a few things, but nothing was working well... then it finally hit me!

    I looked at the FPS dip that was causing the problems (surprisingly started as low as 55 fps) ... and implemented a very minor time scale slowdown (0.9) when the game went below 55 fps.

    It fixed everything! While I appreciate what C2 does to try and make a game run smoothly when FPS drops, it's going to look choppy regardless, so I'd rather it be a tad slower and work well then choppy and be wonky at different frame rates. :3

    I know it's a bit of a hack, but it works well for my purposes and fits the retro nature of the game! :D

  • I think I may have found a more specific answer to my problems here : scirra.com/forum/deltatime-and-framerate_topic49729.html

  • I have not tried the game but, If you are using bullet behavior for the knives it uses delta time to calculate pixels moved per tick, so a lower frame rate will result it it moving more pixels each tick, if that is more than the width of the wall then it could glide right through without a collision being detected.

    You can counter this by either making the sprite hitbox larger, slowing the knives down or making the wall thicker... a combination of all three would probably be best...

    Thanks!

    That definitely explains part of the problem, but the main character is also being affected when they fall.

    So I'm guessing it's the same kind of calculation problem?

    Unfortunately making walls thicker / hitboxes larger is going to create more problems then they'll solve, especially since I intended on having the game contain precision based fighting / puzzle mechanics.

    Is there no way to lock in a certain FPS?

    I find it kinda odd that there'd be such a game breaking mechanic built into the engine.

    I was very excited at the prospect of having browser based games, and LP'ers these days are an important part of getting the word out about games, but if having them record a game will ultimately change the way the game behaves... well, it obviously makes for a pretty bad situation. <img src="smileys/smiley19.gif" border="0" align="middle" />

    More than anything, I want a level of consistency and reliable expectations across platforms in terms of collision behavior. I don't mind the FPS dipping down on slower setups and the game being a bit choppy, but if the game acts completely differently / becomes unplayable... well, I'm sure you can understand my concern.

  • If it would help, I could record video... ha ha, after all, recording video is how I realized there is a problem!

  • Thanks for the response!

    The knives sticking in the walls are a designed part of the game. The collision polygons have all been set correctly, and I'm aware that when things are moving quickly they will simply skip a bunch of pixels (and thus will not detect collision if it's going fast enough).

    What it "feels" like is happening, is that when the recording programs are on, the game is "skipping steps"... so that where normally a knife would collide with a wall and thus triggering its speed to 0 (the way I get them to stick), it instead flies right through the wall.

    Either that, or the weird performance issues make it such that the speed of everything is increased in a way it normally wouldn't be.... if no one else is having the same issues, I'll do some debugging to get back to everyone with more concrete performance figures.

    The same thing happens with sprites that have the platformer behavior.

    For instance, if the main character is falling fast enough and the recording programs are on, thus making everything jerky (inconsistent fps?) where the character would normally collide with the ground and stop, they'll just fall straight through.

    The same thing happens with the ninja characters that are flying towards you... when you throw a knife at them (which is also going pretty fast), they would normally collide with no problem... instead they fly past each other with no hint of a collision what-so-ever.

    Maybe this is what you were saying, about the FPS affecting such things, but I was under the impression that a changing FPS would simply mean the program would run slower... not affect the physics / collision of the game.

    I hope that makes sense, and thanks again!

  • Edit 3 : Even after coming up with a bit of a hack to solve this, I'm still dealing with game breaking behavior due to spikes / lag in FPS. ;-;

    Edit 2 : My final solution >>> So I tried a few things, but nothing was working well... then it finally hit me!

    I looked at the FPS dip that was causing the problems (surprisingly started as low as 55 fps) ... and implemented a very minor time scale slowdown (0.9) when the game went below 55 fps.

    It fixed everything! While I appreciate what C2 does to try and make a game run smoothly when FPS drops, it's going to look choppy regardless, so I'd rather it be a tad slower and work well then choppy and be wonky at different frame rates. :3

    I know it's a bit of a hack, but it works well for my purposes and fits the retro nature of the game! :D

    Edit : I think I found a decent answer to my problem here : scirra.com/forum/deltatime-and-framerate_topic49729.html[/b]

    I am incredibly new and wasn't sure what to search to see if this has been brought up before.

    I'm creating an action platformer that relies on quick movements and knives that stick into walls.

    The current online demo can be found here : deviever.com

    The thing is, I have noticed that if I have a program, like bandicam or xsplit recording while I am playing the game online in browser, specifically in Fire Fox (I haven't tried other browsers yet... the sprites collisions work MUCH differently, often times falling through walls, flying through walls, etc. etc.

    The game definitely seems to be running a little more slowly with those programs on, and I'd be totally okay with that, but on top of the slow down / jerkiness is this weird collision behavior. <img src="smileys/smiley19.gif" border="0" align="middle" />

    Anyhow. Thank you advance! C2 has been an amazing inspiration for me as a budding developer, and I appreciate any words of wisdom / advice ya'll have to offer!

    <img src="smileys/smiley4.gif" border="0" align="middle" />

  • Thanks guys. Yeah. The wizard does not like knives at all. :3

  • Hi. I'm Devi Ever. I spent the past decade running a fairly successful guitar pedal business. A few months ago I sold it to pursue creating video games full time. At first I tried my hand at Game Maker with a little success, but then I discovered C2 a week ago and everything's changed... for the better. I have never been as excited about creating video games as I am using C2.... just fantastic! :D

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • <img src="http://d3j5vwomefv46c.cloudfront.net/photos/large/834561426.gif" border="0" />

    Playable demo if this updates all the time here : deviever.com

deviever's avatar

deviever

Member since 20 Jan, 2014

None one is following deviever yet!

Connect with deviever

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies