(tl;dr version: the game I’ve been working on for a long time suddenly is having problems on the last leg of development despite me not changing any code and I’m looking for ways to fix it, back the way it was before)
This is a really weird problem that I’ve never seen before, and it’s also really frustrating to me. It’s not exactly a FlashPunk problem per-sé and more of a general Flash problem, but I thought you guys could probably help me anyway.
So I’ve been working on a game, little-by-little, since around January or so. It’s not a very big game, but I’ve been putting in a few minutes here, a few minutes there, etc.
It’s super close to being done now, and I’m really excited to release it. I have been working on it pretty seriously over the past few weeks, but I took a break a few days ago to work on another project.
So today I decided I would try to wrap up the last bit of code if I could, and found that when I compiled and launched my game (which was working fine a few days ago afaik), it’s kinda… messed up.
My code is exactly the same, so it hasn’t been corrupted or anything. The game seems relatively functional, but a few pretty crucial objects aren’t working properly. (This includes the player character not being able to move.) The problem seems to be related to tweens. The tweens are being started but they aren’t causing any change in the objects they refer to. Some tweens are okay. It seems like maybe it’s tweens that are inside Entity
s that are having problems, but tweens in Worlds
are okay? Also, some Entity
s appear unaffected for some reason.
If something like this has ever happened to you, did you fix it? How?
Computer Changes I’ve Made Since A Few Days Ago
(that I can remember, anyway)
- updated a few programs, unrelated to Flash
- bought a drawing tablet and installed its drivers (if it’s drivers are messing with Flash, then something is seriously wrong here)
- updated Adobe AIR in order to install tablet drivers
Computer Changes I’ve Made Since Discovering This Problem
- rebooted my computer (ol’ reliable there, but didn’t work this time)
- uninstalled/reinstalled Adobe Flash Player (first checked for updates, there were none)
- deleted localstorage/sharedobject files for my game
- started a new project and copied the source code over in case my project was corrupted somehow (I’m using IntelliJ IDEA, if it matters)
- switched to FlashPunk 1.6, which I was using when I started this project, until recently switching to 1.7 and having no problems until today
- restored a backup of the project from a few days ago - this backup is potentially from before the last time I touched the code, but it was the latest backup I had, and the problem persisted
I’ve run out of ideas. It appears to me this is a Flash problem and has nothing to do with my code or FlashPunk’s, but frankly, I’m just really confused and frustrated that my game is suddenly nonfunctional after I didn’t do anything to it.
If anyone has any tips or suggestions, please let me know! I’ve put a lot of effort into this game and I’m really at a loss about what to do at this point.
I tried to be as thorough as possible in this (rather lengthy, sorry!) post, but if anyone wants more information about my game, my computer, my code, or whatever, I’d be happy to give it to you.
Thanks! I was hoping my first post wouldn’t be so desperate and depressing, but oh well…
I’ll continue to troubleshoot and post any updates here.