wgfunstorm's Recent Forum Activity

  • I've been meaning to make an enum plugin. I really miss them from other languages.

    I end up having a lot of global variables such as UPGRADE_MOVESPEED, UPGRADE_SCOREMULT, etc so that I can then do things like upgradeData.At(UPGRADE_MOVESPEED, UPGRADE_PRICE) without having to remember which entry in the array the upgrade I want is at.

    There's many more examples of cases where I find this approach is useful but I end up with 834239012093 global variables that I treat as const's cluttering up my variable list.

    The plugin would let you do something like this:

    • action -> create enum "UPGRADES"
    • action -> add "PRICE" to enum "UPGRADES"
    • and then you can use expression UPGRADES.PRICE

    Any thoughts / advice before I start this in the next few days?

  • Oh and one more thing, how do you suggest creating a popup that can be used across multiple layouts? Specifically I have an 'options' popup that I want the player to be able to access from any layout but with the layers method I would have to put the layer in each layout so for that I'm doing the spawning method by embedding an 'options' event sheet into each layout.

  • During gameplay, I want to briefly show menus that partially cover the game window, that the player can interact with, then close, and resume gameplay. (so having them on separate layouts is not an option)

    There's 2 ways I can think of doing them:

    1) Create popup in editor on a layer and turn visibility on/off

    Pro: easy to set up in the editor

    Con: items in the popup will still get updated even if they are not visible and take up memory (performance)

    2) Spawn & destroy popup as needed using system -> create object

    Pro/Con: basically the opposite of layers... annoying to create because the popups consist of lots of pieces so lots of 'create object' actions are needed but probably better performance wise

    So far I've been using the layer method, but now that I'm up to 6 fairly graphical popup layers that are invisible most of the time and want to add another 2 I'm starting to wonder if there's a better way.

    Your thoughts?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In webdesign, I don't think it's purely to do with pre-loading images. There's more than 1 way to do that, but with this method you also get other benefits eg

    "The conclusion is the same: Reducing the number of HTTP requests has the biggest impact on reducing response time and is often the easiest performance improvement to make."

    yuiblog.com/blog/2006/11/28/performance-research-part-1

  • I wasn't sure how best to explain this so I just recorded it.

    Looks like a minor bug to me:

    Subscribe to Construct videos now

    There are no other groups with the same name in the project.

  • Cool, I was mostly just curious. I agree it's not a big deal. Thanks!

  • I noticed that when I export the project, all animation images are exported as separate files.

    I was under the impression that generally it is better to combine separate files into 1 sprite sheet where possible, especially for web content to reduce file size and HTTP requests. For example Google does this

    <img src="http://www.google.co.uk/images/nav_logo99.png" border="0" />

    So I was just curious as to why C2 doesn't do this. Is there a reason separate files are better for html5 games? Is this a planned feature?

  • Awesome, thanks guys!

  • Is there an easy way to find all references of a variable in a project?

    Right now I'm just opening up the XML and using notepad to search.

    Search didn't turn up anything.

  • That's exactly what I need, thanks! Didn't find it with a search earlier so I assumed it didn't exist. Same thing for the reload from disk feature, I was just using the folder icon to reload.

    Productivity *= 5! <img src="smileys/smiley20.gif" border="0" align="middle" />

  • This is super annoying right now... I have a load of images to import and all I want is a simple square collision but C2 insists on being clever and creating a complicated shape based on transparency. It even does it to each frame in an animation, and re-does it if you re-import any image.

    Imagine doing this with some 50+ times. And that's just today... I'll have lots more to do before the game is done.

    ARGHHHJHDAS:HD*(@#Qy4eher!@#)*&SDH <img src="smileys/smiley11.gif" border="0" align="middle" />

    Can we get:

    1) An option to turn off automatic collision box cleverness (just give me a square that matches the image dimensions)

    2) An option to re-load an image without changing collision box

    3) An option to copy a collision box from one frame in an animation to the others (like you can do with image points for example)

    Please? Pretty please? I'd be infinitely grateful for this late christmas gift! <img src="smileys/smiley1.gif" border="0" align="middle" />

  • They've redacted their outright support but they have angered a lot of people over it and a lot of people are moving their domains as they don't consider GoDaddys response to be sincere.

    Sorry to derail this thread further but... no they didn't. They said they did. But they didn't actually.

    reddit.com/r/technology/comments/npair/godaddy_has_not_withdrawn_its_official

    On topic: I also don't know of any free domains that only include your name. I think the average price is usually 7-10$ per year for a .com or similar.

    What kind of website are you trying to make KBD? Like a blog or ...? What's a website that's similar to what you want?

wgfunstorm's avatar

wgfunstorm

Member since 30 Nov, 2011

None one is following wgfunstorm yet!

Connect with wgfunstorm

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Email Verified

Progress

15/44
How to earn trophies