Jayjay's Recent Forum Activity

  • Sorry KPS I'm not too sure how to help in this situation.

    However, this is the Construct Classic area, so you might find better help in the Construct 2 "How Do I?" section: https://www.scirra.com/forum/how-do-i_forum45.html

    And if you can provide an example source file (.capx) of what you're trying to do then it'll be easier for others to help you out <img src="smileys/smiley1.gif" border="0" align="middle">

  • I remember the layout object didn't work so great/might have been buggy, can you give an example cap file?

  • SquareMation Okay C2 will use this syntax:

    +Always

    ->Set playerhealthbar.width to

    clamp(playerhealthbar.width - 1, (player.health / 100) * playerhealthbar.maxwidth, playerhealthbar.maxwidth)

    This is due to variables in CC working as "Object.Value('VariableName')" and C2 is just "Object.VariableName"

    Make sure to add Health as variable to player, and MaxWidth as variable to health bar object <img src="smileys/smiley1.gif" border="0" align="middle" />

  • SquareMation Ah are you trying to use it in C2?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The global object is used to have objects transfer between all layouts, unless they are destroyed, and only happens at run-time.

    It sounds like you just want to copy and paste the object (unless you paste as clone, it will still be the same sprite name) and you can even do this within the same layout <img src="smileys/smiley1.gif" border="0" align="middle" />

    As for porting to C2, the events and interface will be similar but you'll need to remake it sadly. Graphics should be easy to copy and paste between them though, and hopefully all the features should be about the same (there's some things C2 does very differently, or that C2 has and CC doesn't, or that CC has and C2 doesn't eg: 3D box and 3D model objects).

  • I love that boss <img src="smileys/smiley4.gif" border="0" align="middle" />

  • LEdikZ Noga Ah I saw this thread a little late, but here's the cap files reuploaded in one zip file Dynamic Lights PS0 and PS2.zip

  • XManBG Ah yeah, I see what you mean. In CC it was also a problem of needing to pre-create the frames sadly.

    However, I think I remember reading that in C2 the program recognizes duplicate frames and stores only one, so you might be able to use less VRAM by storing blank frames of 2^ textures( eg: 256x256, maybe 512x512's won't hurt performance too bad), and then it loads that frame once to fill all the animation.

    I'm not entirely sure that will benefit you as I've never tried it, but hopefully it does <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Urled ah I see what you mean now, well that's definitely looking great! <img src="smileys/smiley4.gif" border="0" align="middle" />

  • XManBG Are you using Construct 2? If so then you'll need to load your Sprite images from a web server, or look for a plugin to load files from the disk sadly <img src="smileys/smiley6.gif" border="0" align="middle" />

  • Sorry to hear about the loss <img src="smileys/smiley6.gif" border="0" align="middle" /> I once had a crappy wi-fi connection wipe out quite a few games and source files when I accidentally used cut+paste instead of copy, wasn't fun

    You can in CC <img src="smileys/smiley4.gif" border="0" align="middle" />

    + System: Start of layout

    -> Canvas: Update collision mask

    Trick here would be to paste your car sprite into the canvas, update collision mask, then clear the canvas to transparent again

  • TRANDO101 it should be fine to use whatever name you like in your games as long as you prove you're the owner of the license, I used my full name to register but sometimes still use "Jayjay" as my game dev name.

Jayjay's avatar

Jayjay

Member since 18 Mar, 2008

Twitter
Jayjay has 2 followers

Connect with Jayjay

Trophy Case

  • 16-Year Club
  • Email Verified

Progress

17/44
How to earn trophies