Headbang Games's Recent Forum Activity

  • Audio playback time changes on lower fps

    I am making an in-game cut-scene that is synced to a music track, just triggering events according to audio playback time, I've noticed that when I run this scene on a weaker computer, I get a steady delay for all the triggers, plus 1-3 seconds depends on the fps (resizing the window is enough).

    Capx

    http://www.headbangames.com/bug_PlaybackTime_bug.capx

    Here is an export of the scene for testing

    http://www.headbangames.com/badpadintro

    Description of Capx

    In this test I set the minimum framerate to 300 to emulate the problem.

    Click any key or touch anywhere to switch from 60 to 300 minimum framerate and watch the audio playback time in the text object.

    Affected Browsers

    • Chrome: (YES)

    Operating System and Service Pack

    Windows 7 / 10

    Construct 2 Version ID

    r230

  • Cool I always needed that trigger, it's really weird it's not official, great job!, I'll be trying it soon!

  • The buttons are coming this summer, get your thumbs ready!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Cheers guys!

    Is it working on mac too?

  • Depends on your layout sizes and the amount of exits, maybe you can just add collision triggers, that will bring the player to in front of structure/bottom, it'll probably be more efficient for rendering too, as long as you don't actually need to cut the image or mask out a certain shape, I wouldn't go with masking.

  • Well I didn't actually mean load/save the entire data.js

    I just do a for-each on all the objects I need and save just the params I need to read back, like frame number, X,Y,size, imageurl, etc.

  • Yes of course, once you save a file it doesn't really matter what you put in it, store xml, csv, or even export an array or a dictionary to a json string.

    You got all the tools you need to do it, some official some 3rd party.

  • >

    > http://headbangames.com/swipey

    >

    cool! have you done anything with player custom sprites or sprite sheets?

    I thought about maybe letting the player upload a custom sprite as one of the obstacles/pick-able bonus, but not sure I will, I did do it before though mostly for drawing apps.

    In Swipey I am taking a scale-to-fit screenshot of the layout for the level preview and sending it with the game when you post it, that sort of the same.

    My only advice is to use something like canvas or paster to show and store imported/runtime generated images, because firstly, you can have as many instances as you want, each with a different image (cached separately), if you use a sprite object you will need to add a bunch of empty frames up front and use different frames for different images, it would be better if you could add frames at runtime, but you can't

    Secondly canvas/paster is also better because you can redraw the image at a lower resolution and crop it if necessary before saving it, users don't really know what they're doing, they can import a 22 megapixel image, it might load up on the sprite ok, but getting this extremely large dataurl and storing it wouldn't be easy and would probably crash the user's browsers.

    If you need sprite sheeting for animations, I still recommend getting each frame with canvas/paster rescale it to a maximum reasonable size and then import each frame to a pre-made sprite objects with enough frames to cover your basics.

  • Yes I do, currently steam control works mostly through steam big picture, you can use it outside of it, but it's more like a keyboard mapping to the buttons, rather than an actual gamepad, but it works, check out this thread:

    Other than that, it's a pretty good controller and I use it as a media controller too, it emulates mouse and has a virtual keyboard and it's pretty cool.

  • I've made a game with an online level creator, need some more tweaking, but works great.

    http://headbangames.com/swipey

  • Where is the like button when you really need it

  • My guess is the text object uses a different way of drawing the text, then what's on your example, try asking the team.

Headbang Games's avatar

Headbang Games

Member since 5 Dec, 2012

Twitter
Headbang Games has 1 followers

Connect with Headbang Games

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Popular Game One of your games has over 1,000 players
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies