Tokinsom's Forum Posts

  • How do you go about making multiple save files?

    All I can think of is making multiple hashtables or arrays and then saving/loading a single one based on a global value.

    That would work just fine, but would also be a ton of work. Each tiny little thing I want to load would have to have multiple subevents to see which hashtable to get the data from. That's going to suck.

    +Start of frame

    +global value = 1

    +Hashttable 1 value at key = blah

    -destroy item because you already got it.

    That * n of save files = cumbersome.

    I get the feeling there's some way to automate which hashtable to load from, but I dunno..Like, start a loop, then compare the loop index to the hashtable number (hashtable 1, 2, or 3) then pull the data from it. It's not like they have PVs or anything though >_.

    My current project won't have much save data..Just which level you're on and such..but what about larger projects? Does anyone actually do it this way?

  • I think people will continue to use CC until C2 is almost finished or has an equal or greater amount of features than CC..Or for some, an .exe exporter :)

    I mean, C2 is greater in many ways and sure you can buy it now, but its still too early in development to do much with, so.

  • I don't understand any of this math... :(, but I wonder if it'd be possible to use an invisible sprite as an object to check for the triggering of the scrolling... Cause the scrolling I need only happens in specific places, not every screen...

    If anything you could just replicate MagiCam's grid scrolling with events. You could create "rooms" using a box object or something, then check if the player's position exceeds that of the box object's boundaries (xleft, ytop, etc) and trigger the room transition then. You could also have normal scrolling if the player is inside the box, and use the boundaries to prevent the scroll position from going outside of it.

    Sounds complicated but it's really just a bunch of ifs :)

  • Well, Here's a start

    You're gonna have to use a 'fake' timedelta to get that working right for everyone though. Not sure how well that actually works..

    edit: lol sorry that was incredibly vague. Um..Notice how he got the scrolling to work even though timescale is 0? It's because he's moving the 'camera' by a value not mutiplied by timedelta..and you probably know what that can do.

    That said, you can make a global value and, upon starting the room transition, set it to time delta. Then you can move the camera by n*global('faketimedelta') instead. Not sure how good of a solution that is but it's worked for me so far.

  • I could be wrong here but it sounds like you're doing something wrong with Magicam ^^; I used to get crashes with it every now and then but I forgot what I did wrong..Regardless, it was my own fault.

  • ~1250 to ~1660 here.

    Good deal :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I uninstalled/reinstalled Construct earlier so now all of my .caps are no longer associated with Construct. Problem is, Construct isn't appearing on the file association list. I clicked browse to search for it, but after selecting Construct the menu closed and nothing happened. I restarted my computer and reinstalled Construct yet again but that didn't help.

    Derp.

    Any ideas?

    I'm using Windows 7 btw.

  • It's the spritefont plugin. Removed it from the title screen completely and it worked for him.

    Unfortunately this is a plugin I really need, and if it's only causing problems on his PC then it has to be something else..but what?

    edit: Aha. "Set characters by string" is what was causing the crash for him. I thought that was fixed <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Still doesn't work for him. I installed the DirectX you linked me to on his computer, installed Construct + all of the plugins I used, and turned off all of his anti-virus stuff.

    The only thing that gets it to run is deleting the event sheet for the title screen, which uses the input system plugin and the spritefont plugin. I don't see why, as again, the game still runs for me and some other people I sent it to.

  • He said it was something with his anti-virus. However, his anti-virus didn't warn him about it; he just got an error like it was a problem with the game. sigh.

    In other news, I sent the .zip to my brother and he's also getting a crash. "Unexpected error" blah blah. I still don't get it. I sent him the exact same .zip that ran perfectly fine for me. My other games work on his computer as well.

    I get the feeling this is going to be happening to a lot of people. Kinda freaking out here.

    edit: deleted all the events at the title screen and it worked for him. This means the crash is due to the input system plugin or spritefont. Buuuuuut again, it still works fine for me. ugh.

  • Dude! Thanks for posting that. I saw it a long time ago but couldn't find it again.

  • "This download provides the DirectX end-user redistributable that developers can include with their product."

    Size: 95mb

    LOL hm. I think I'll go with the first one :)

    Well thanks for the link I'll see if this works.

    Also, I sent my friend a DB link to my game's .zip but he got this error:

    traduction: " windows can not access to the device, the path or exe, or specified file. You may not have appropriate permissions to access the item."

    Sounds to me like an error you would get from trying to open a file that hasn't finished downloading, or opening a shortcut to a file that no longer exists. Any ideas why he'd get that? No one else has gotten that error so far..

  • Every time I send my friends a .zip containing my game's .exe and all, there's like a 90% chance they'll get some error that prevents the game from running, or the graphics/display will be completely messed up and glitchy. This was a huge problem when I released the Minitroid demo; apparently we linked people to the wrong DirectX and some .dll was missing or something and yeah. It was pretty bad.

    To my knowledge this is due to them not having the "right" DirectX installed, which might contain a certain .dll or something, or their video drivers or w/e are outdated.

    Can anyone tell me exactly what I need to tell people to install in order to get my games to run without any problems? Links would be appreciated as well.

    Thanks.

  • I'm going to transform in to a werewolf now. We do that, right? Ok. Later!

  • 1. It's Construct Classic.

    2. You're advertising a 2D engine with 3D models.

    Juuuust saying :)