Ashley's Recent Forum Activity

  • ashley@scirra.com and I'll take a look, thanks.

  • http://downloads.sourceforge.net/constr ... irror=osdn

    0.89 has the usual slew of bugfixes, a few new features, and the return of 10 plugins.

    The under-the-hood changes to make an SDL software runtime and Python scriptability are also being prepared, so we should have news on this front soon!

    Changelog:

    • 'Force own texture' option added to layers: changes rendering to make Erase effects work (use instead of 99% opacity)
    • Added ability to get object count on a specific layer - pass a layer parameter to TotalObjects (eg. TotalObjects("Layer 1"))
    • Fixed collision bugs involving very wide objects and issues with nonrotated objects
    • Improved stability of Create Hinge to Object in Physics movement (calling at certain times was unstable)
    • Some people reported 3DBox not appearing in the object list. This ought to be resolved.
    • RTS movement: enhanced Pathfinding settings allowing you to specify other types to navigate around other than 'Solid'
    • Double-clicking a sprite in the layout editor now edits the frame that it is showing
    • Application properties: added 'FPS in caption' option for easy performance tests
    • Array object: added compare value at x, xy, xyz conditions
    • INI object is back
    • Date object is back
    • Image object is back
    • AVI object is back
    • Card game object is back
    • Progress object is back
    • Window object is back
    • Path object is back
    • ZIP object is back
    • List object is back
  • Aah I'm just the guy who writes Construct. Someone else can if they think its important <img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" />

  • In the first file array.txt, that's how I want the array to be. I wrote that in notepad. Loading this into Construct does not changes the array values.

    That's because it's not a valid array file. The array object uses its own array files in a special binary format. This is absolutely necessary to store information such as the type of the data held in an element (string/float/integer), the dimensions of the array etc. etc.

    In the second file array2.txt, it's the result of Construct's array saving. What.

    An example of the binary format the Array object saves. It's not possible to manually write an array saved file in notepad.

    The third file is the .cap I used for testing.

    The first thing the file does is resize the array to a zero sized array. All dimensions must be 1 or more for there to be any elements. Do the multiplication: 3 x 3 x 0 = 0 elements! You probably meant 3 x 3 x 1. The array object ignores the set dimensions call because it doesnt allow you to create a zero sized array - I've changed this for 0.89 though, which will allow zero sized arrays (so you don't get confused with the wrong dimension sizes).

    In this .cap when debugging it and checking the array, I can only see the X values I choose

    Hmm, a limitation in the Array object's debugging. It's coded specifically only to show the first values on the X axis, ie. all values where Y = 0 and Z = 0. I did this because with a 100 x 100 x 100 array, you'd end up with the debugger spammed with a million entries which could be quite slow or hard to use. I'll try come up with something better.

    Compare array value at X,Y,Z

    Added for 0.89, woops!

    As for your array.txt file you want Construct to load: it's impossible to write a loader for this file! Should I interpret the first line as four numbers, 1, 1, 1, 1, or a single number, 1111? It's ambiguous and your way would be limited to single character values anyway, so this is the kind of thing you need a custom loader for.

  • Can you make an example that shows it not working properly? I know it's not perfect and needs some tweaking, but I think it's at least adequate. If you move an object and there's no obstacles involved at all, even with pathfinding on the movement should just ignore the grid and move directly to the target.

    The best thing to make movements more efficient is to increase rotation speed like you said, and reduce the 'Blocked speed', which is the speed it reduces to if it finds itself pointing in the wrong direction or unable to reach the target.

  • It might be possible to make HTML render with a transparent background, but I don't know about alpha blending with the background - it's a windows control so I assume it wouldnt cooperate with a DirectX app. But I'll give it a shot anyway.

  • The runtime already detects if DirectX 9 is not installed in the DirectX builds. If the user doesn't have DX9 the following message is displayed:

    "A required DirectX component, 'd3dx_30.dll', was not found. Please install the latest version of DirectX 9 in order to run this application.

    Click 'OK' to visit the Microsoft to install the latest updates for DirectX 9.

    Click 'Cancel' to terminate the application."

    Clicking OK opens the user's browser to here. It points to the DirectX download category because the original direct download link turned in to a 404 after a few builds, but there's a big link at the top for the latest end-user runtime.

  • 0.89 should have this sorted for you: you will be able to set Pathfinding to 'Custom' mode, where you manually specify with actions the object types to navigate around. You could use Solid for land units and make your own attribute, 'Land' say, for naval units.

  • Oh and as for compatibility, the SDL runtime will run universally so you can always opt for that if you want to make casual gaming painless. If you want the latest and greatest visual effects though, you have no choice: you have to use the DirectX runtime and your users need an up to date DirectX 9!

    An OpenGL runtime, if we made one, may be more compatible too.

  • Good point, there needs to be a change to the RTS movement to support this. I'll try get it in for the next build.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Maybe I wasn't clear enough - putting d3dx9_30.dll in the same directory as your game doesn't install DirectX 9 and wont let people with DX7/DX8 play the game <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /> you need a real DX9 install.

  • I think Chris was working on an sqllite plugin, but I guess he didn't finish it. I'll try grab him and get him to finish it, or see if I can finish it myself.

Ashley's avatar

Ashley

Early Adopter

Member since 21 May, 2007

Twitter
Ashley has 1,382,650 followers

Connect with Ashley

Trophy Case

  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • Forum Mega Brain Made 20,000 posts in the forums
  • x107
    Coach One of your tutorials has over 1,000 readers
  • x61
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • Sensei One of your tutorials has over 1,000,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
  • x35
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

32/44
How to earn trophies

Blogs