Jayjay's Forum Posts

  • Well, a punishing way could be to have a global array that only stores if each level has been visited, then if it has it removes all bonuses.

    Otherwise, the global array object will need to store every coin for every level, then remove them as the player collects them.

    Hmm, or you can use the INI object to store this to a save file, that works too.

  • Welcome to the forums! <img src="smileys/smiley1.gif" border="0" align="middle">

    First I'd suggest grabbing my examples kit, it probably has some examples of platform movement as well as other things I've made, from here: http://ihadhope.blogspot.ca/2013/05/construct-classic-r2-examples-kit.html

    Secondly, R2 is the right version to use, R1.2 is the last "official" release, while R2 has some fixes.

    Not sure why it falls through, did you set solid to the floor, or just the player?

    Also, try running R2 as an administrator, and make sure your DirectX 9 is updated (search DirectX Web Setup from Microsoft), and maybe try installing Microsoft Visual C++ Runtime 2008 (also free)

  • The edit box doesn't allow that to be changed sadly, it's a control that exists outside of the graphics/game engine.

    You could use events to forward key input to a hidden editbox, then display the text on your own custom edit box made from sprites and text objects.

    Hope that helps!

  • Set your variable to the edit box text value, eg:

    Set MyVal = Box.Text

  • absolu Ah this is an effect for Construct Classic, the old open source tool before Construct 2 was made. C2 uses HTML5 and CC only uses DirectX 9, so the effect won't translate over properly as-is either <img src="smileys/smiley6.gif" border="0" align="middle" />

  • Hmm, some behaviors have a "Set ignore control" action I think, what situation are you hoping to use this in?

  • railslave, this sounds like something to do with DirectX, can you type up the names of missing DLL files?

  • Well, the grenade does aim towards the angle between where it is spawned and the mouse, so that part looks like it works okay.

    Do you mean you want it to have more of an upward angle (eg: lob it in the air then it falls?), if so then you might want to base the throw strength based on the distance between the grenade and mouse as well: distance(grenade.x, grenade.y, mouse.x, mouse.y) * POWER

    Then lower the value of power.

  • Sounds you like you might just need to update your graphics drivers and install Visual C++ runtime 2008 (or 2010, don't remember), and update your Direct X 9 version to get it to work again. Is it a fresh install of Windows 7?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hopefully this is what you're looking for: https://dl.dropboxusercontent.com/u/4714446/TextFollowSprite.cap

    If you want a text object to follow a sprite, you need to have it on the same layer (one that scrolls), as setting scroll rate to 0,0 is designed for objects that do not scroll.

  • Packt Publishing is having a 50% off sale this weekend on all eBooks, you can take advantage of the promotion by using promo code BIG50 at the checkout.

    More information on my website here: http://ihadhope.blogspot.ca/2013/09/packt-publishing-50-ebooks-this-weekend.html

  • Construct Classic R2 is the newest version, R1-2 is the version just before it.

  • This article should have the information you're looking for (registration is free to view the articles): Construct Game Development - Platformer Revisited, A 2D Shooter

  • Asmodeus Can you upload a capx or screenshot or otherwise describe what you want to do? Odds are it can be restructured to avoid this bug.

    Also, unless you're performing heavy logic inside your loop of creation, you'll probably find that GPU is where your game will bottleneck, rather than CPU usage.

    Construct Classic is based on C++, and the events perform much faster than the (optional) Python implementation (to give you an idea of the speed of cycles).

    Edit: Also, a whole sheet of events (or sheets if others are imported), will be run through to constitute one "tick" in the game.