Tokinsom's Recent Forum Activity

  • So when your player dies you're trying to delay a little bit of time then fade the screen out or restart the level ?

    Yessir. I figured my above method was simple and effective enough, but I guess not D:

  • Well basically, when my player dies, a value is constantly added to. When that value reaches certain numbers, things happen..like the screen fading to black or going to a different layout.

    It works fine when I use V-Synced Mode, but everything happens waaaay too fast when I use Unlimited Mode. I read that if something like this happens (anything running too fast when you use Unlimited mode) then Time Delta should be applied..otherwise you'll have some problems on certain computers..but I guess this situation is different?

  • So I just learned about Time Delta the other day, and good thing too. I'm having some problems with it though D:

    Basically, I've got some code that works like this:

    "Every 100 milliseconds - Add 1 to Value"

    "If value is 50 - Do this"

    "If value is 100 - Do this"

    "If value is 150 - Do this"

    and so on.

    How do I apply Time Delta to this code? I've tried, but certain things still aren't working right when I run the game using Unlimited FPS. Also, unless I misunderstood, Time Delta varies. This means the value will never actually be exactly 50,100, or 150, right?

  • WOW.

    So umm.. turns out she had put some sort of video settings as low as they will go, which totally ruined the graphics. After setting them all to the highest setting, everything worked just fine.

    Blaaah. Atleast it's fixed

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Also, I read having giant images can cause problems so I chopped up the tiles image to 1024x320 rectangles, but that didn't seem to do anything :T

    >

    The computer will treat that as a 1024x1024 texture. It would be even better, if you cut it to 512x320.

    Thanks for the advice. Any chance that might be what's distorting the image?

    What computer is he running? Any idea on video hardware etc?

    Specs are right HERE

  • All I know is her computer "is like..BRAND new".

    I should mention those aren't actually separate tiles, it's just a 1024x320 image. All of the graphics, including this image, have been scaled up 4x so I can use pixelly sprites but still have smooth movements. Also, I read having giant images can cause problems so I chopped up the tiles image to 1024x320 rectangles, but that didn't seem to do anything :T

  • <img src="http://i369.photobucket.com/albums/oo136/4Sweet2Leaf0/screen.png">

    So this is how my game looks on my computer ^

    <img src="http://i369.photobucket.com/albums/oo136/4Sweet2Leaf0/glitch.png">

    and this is how it looks on my friend's computer ^

    This is bad Does anyone know what's causing the tiles to get all distorted like that?

  • These examples are great. Thanks a lot!

  • Hey guys. Would anyone here be able to teach me a thing or two about putting "chains" inbetween 2 separate objects?

    Here's an example I whipped up..but it kinda sucks.

    <img src="http://i369.photobucket.com/albums/oo136/4Sweet2Leaf0/chainexample-1.png">

    At the top, the 2 objects are idle and the chain links are stacked inbetween them. At the bottom, the 2 objects have separated and you can see the chain links inbetween them.

    I've seen tons of games do this, but I've never found any examples on how it's done. I'll try to find a video to further demonstrate what I'm going for. Thanks for any help!

    EDIT: Ok found a video showing this off perfectly. Make sure to skip to 2:45

    Subscribe to Construct videos now

    You can see the "chain links" (those spikey balls in this case) that connect the boss to the background wall. How do they do that?! Thanks.

  • I'm using "Play music from resource" under Xaudio 2's music tab. I think the pause is due to the filesize, since the song is a .wav file, but I could be wrong. I normally use ogg but it seems ogg only works for sounds.

  • I've run into a few problems while adding music & sounds to my game..All of the audio consists of wav files. I've never messed with separate channels so I just use "Auto play resource" and "Play music from resource".

    Anyway, to the problems. Every time I play a new song the game pauses for a bit. Not only that but when this pause happens my player falls through certain platforms. How can I get rid of this pause?

    Also, even though I add "Trigger once" to the condition that plays a new song, the event will sometimes trigger twice and have 2 of the same song play at once.

    Besides that, is there any way stop a sound while it's playing?

    Thanks!

  • I can't seem to get add/remove attribute to work..are there any known bugs with it?

    Basically I want my player (using platform behavior) to either be able, or not be able to collide with certain objects depending on conditions. Is there another way of doing this besides removing attribute or changing collisions to none?

Tokinsom's avatar

Tokinsom

Member since 6 Jun, 2010

Twitter
Tokinsom has 12 followers

Connect with Tokinsom

Trophy Case

  • 15-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies