Tokinsom's Forum Posts

  • 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?

  • These have probably been brought up already but here goes.

    • Improved animator. Someone posted some illustrations of a new animator they had in mind. Yeah it looked a lot like MMF's but who cares; Construct and MMF are already very similar, what's the big deal?
    • Universal Gamepad support
    • Window resizing without interpolation
    • Better sound/music management
    • (Optional?) Tile-based level editor. I would love you guys for this. I've considered switching to GM solely for it's level editor.

    -Sub-apps

    -The ability to lock and unlock single objects in the layout editor

    -Some way to cache objects to keep layout editors clean and simple, aside from throwing objects in another frame and making them global.

  • I was wondering if anyone here would be able to give me a hand with making a Metroid/Castlevania style sub-screen map. I've been wondering how to do this for the longest time, and I need to figure it out for my latest game - Minitroid.

    I'm assuming most of you guys know how these maps work. If not, well..Instead of having multiple levels like a Mario game, you have giant areas composed of multiple rooms. When you open the sub-screen (pause menu) you get a map of the entire area that looks just like this:

    The map shows your current position, along with item locations, boss locations, etc.

    At first the map is "blank" and you can only see the rooms that you have already been to, but you can find these map station things that reveal the rest of the map. If the map is really big then you can scroll around to see the rest of it.

    Aside from that, most Metroid games have a "mini-map" in the top right corner that you can see when the sub-screen is not open. It conveniently shows your current position on the map without having to open the sub-screen. You can see it here:

    Subscribe to Construct videos now

    Any help is greatly appreciated! I have tried this over and over again and have gotten nowhere - and that was in MMF2, which I'm far more familiar with than Construct. I'll be glad to credit anyone who can lend me a hand.

  • I too would like to figure these out :T I've seen a bunch of workarounds and stuff posted around here but none of them work.