R0J0hound's Recent Forum Activity

  • Visual C++ 2008 Express Edition is fine, you could also use the 2005 and 2010 versions.

    What is wrong with the toolbar? If it's the name listed that you want to change you can right click and rename it.

    The only real issue is the 2 errors. The errors are from using the express editions, which don't come with the MFC/ATL libraries. To fix it you'll have to download the windows driver kit.

    Here are two topics on the subject that should help:

    http://www.scirra.com/forum/visual-c-express_topic39215.html

    http://www.scirra.com/forum/interested-in-working-on-construct-classic_topic42474_page4.html

    cheers

  • The range of the bullet behavior can't be reset. A workaround would be to create a separate object with the bullet behavior and position the sprite to the bullet object.

  • Families are useful in this situation. Use three families "enemy", "friendly" and a third family like "Blue" that includes both the "enemy" and "friendly" families.

    If you pick a single "Blue" instance you can find if the instance is in "enemy" or "friendly" with:

    + Enemy: Unique ID is Blue.UID

    or

    + Friendly: Unique ID is Blue.UID

    In the same way, you can find if the instance is a particular object type with:

    + Sprite: Unique ID is Blue.UID

    For turns based on a character's speed, a way to do it is for each object to have a variable that increases with the character's speed stat. When the variable reaches a certain value the character is given a number to queue it, the first will get 1, the second 2 and so on. Then each character is picked by that number for the corresponding turn, and at the end of the turn they will start the process over.

    Hope that makes some sense, I tend to be not very good with explanations sometimes.

    Here is an example that shows some of these ideas:

    http://dl.dropbox.com/u/5426011/examples6/turnBased.cap

    Feel free to use it however you like.

  • Rename 3dobject so that it's name doesn't start with a number. Python doesn't work with names that start with numbers.

  • Yes, the needed files should be the same.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • In short search and replace uses regular expressions for the search string. Feature? Which is cool except when searching for special characters like '?'.

    find("123?", "?") causes the preview to be grey, because "?" is not a valid regular expression. It is fixed by using "\?" instead:

    find("123?", "\?")

    I think that search and replace should be just simple searches and replaces, which is what's expected when using them.

    This site:

    http://80.68.89.23/2006/Jan/20/escape/

    has a solution to escape all the special characters.

  • You can implement it with events. Whenever you change some text, set redraw to true.

    http://dl.dropbox.com/u/5426011/c2/spritefont.capx

  • You can do that with the path and file objects.

    ex:

    + File: File Path.Desktop & "let-me-in.txt" exists

    I don't know about the "square" one, files don't have dimensions.

  • The write txt isn't working because it is being started every frame.

    In the "global events" event sheet on event 22 disable this action:

    Chatbox: Set text to TextManipulator.GetRight(TextManipulator.GetLength-3)

    and add a subevent to event 22:

    + MouseKeyboard: On key Space pressed

    -> Chatbox: Write text TextManipulator.GetRight(TextManipulator.GetLength-3) at 1 letter per 1 milliseconds

    Now drag event 24 right above event 20.

    For the critical hit you could try something like this:

    if random(101) less than or equal to Luck

    then critical hit

    A luck of 0 will never cause a critical hit.

    A luck of 10 will be a %10 chance of a critical hit.

    A luck of 100 will always be a critical hit.

  • Here is an example that makes a sprite a 11x11 gird of it's image over it's area:

    http://dl.dropbox.com/u/5426011/examples6/uvtiled.cap

    If you want it to cover the screen just make the sprite the size of the screen.

  • There has to be at least one instance of a object in a layout for it to be visible in the event sheet. Give the pacman sprite the attribute "Destroy on startup" and just copy/paste it to any layouts you want to use it.

    At this point you have to manually create the pacman with events.

  • You can use Dependency Walker to find out what dlls are needed.

    jangsy5 out of those files only

    XAPOFX1_1.dll and d3dx9_39.dll are needed.

    For Construct.exe you will also need the latest vc2005runtime update, or the latest versions of MFC80.dll, MSVCR80.dll and MSVCP80.dll.

    Any other dlls needed should already be included in standard windows installations.

R0J0hound's avatar

R0J0hound

Member since 15 Jun, 2009

Twitter
R0J0hound has 155 followers

Connect with R0J0hound