Jump to content

CoderDunn

Active Members
  • Posts

    336
  • Joined

  • Last visited

Everything posted by CoderDunn

  1. what I think you should do is put the old draw sprite function in this plugin and name it DrawTile() and DrawTileEX() or the like. If you are using the sprite class, that shouldn't be used to draw a tiled background. This would add more compatibility. Hallman
  2. ok. It has to be something with the rotation or scaling since those are the only things you changed in this function right? Also, I prefer the old way of scaling by inputing the destination size. It's easier to make it the size you want. Hallman
  3. The _A2DDrawSpriteEx() function doesn't work correctly ... it cuts a few pixels off the right of the sprite. The exact same coordinates work perfectly on the first version of your plugin but doesn't work with this version. Here is an example: Hallman
  4. This helps alot thanks. I don't need the source for A2D. It's more complicated than I want to mess with. If it works why change it? Hallman
  5. wow ... thank you so much! Could you post a few steps about compiling a plugin with visual C++ 8? I don't know what to do and I want to learn how to compile a AutoIt plugin. Thanks! Hallman
  6. here ... http://www.autoitscript.com/forum/index.ph...mp;#entry318331 It's the Window Script function. When you make and run a new window script with my program ... it generates a new script based on the window script and runs it. Easy multi threading and it's faster. Hallman
  7. I made something like this but instead of having the AutoIt script interpret it ... I made the It generate another AutoIt script based on the code and run it. It will run faster than having a script interpret a script. Just a suggestion. Hallman
  8. Yeah thats what I was going to do with the trans. I hope you figure out the rotation, as this plugin could become very usefull for people. I'm off to North Dakota tomorrow ... wont be back till sunday. Thanks for all your hard work. Hallman
  9. ok. I cant figure out the hex of the alpha channel ... guess I'll have to make the background white. Iv'e been working with directX 8 for a while and I think in the book I have there is an example of how to rotate sprites. I bet directX 8 isn't completly different that 9.
  10. Now ... if only we could draw 3d objects with this Also, is it possible to rotate sprites? EDIT: sry to keep bugging u but how do i get this sprite to have a transparent background? It has a alpha channel but it shows up as light blue. Thanks, Hallman sprite (Mario_Stand.png):
  11. oh I see. Cant find the example sorry ... there are a bunch included with the DirectX 9 SDK have a look there ...
  12. ok i have some C# examples ... you want to have a look at them? EDIT changed your example a bit so it will still show part of the ship if it moves off the window
  13. ok thanks yet again. One last thing ... iv'e seen GUI controls made with directX ... is that to complicated? Because it would be an easy way for people to make custom skins (I think). But this might not work with AutoIt I don't know. Thanks for all your help.
  14. ah I see. Can I make a tiled background with the draw sprite function? I'm just wondering if the transparency will work right if the sprites are top of one another because if you move the ship over the text you can see a black box around the ship.
  15. whoa your fast. Thanks! Hallman
  16. Oh please don't stop now! You should add support for muiltiple sprites in the same file (parameters for the x and y of the sprite location in the file), and sprite animation since directX has built in functions to handle those (I think)
  17. ok thanks! Hallman
  18. question ... what are using to compile this plugin? I'm trying to learch C++ but I dont know a good compiler ... Thanks, Hallman
  19. wow this is awsome. Iv'e been playing around with DirectX 8 in VB 6 for a while but if I can do this in AutoIt, screw VB! Thank you soooo much! I can't wait until this is more functional. Hallman
  20. no problem. Yeah I think that would be a small but good change. I'll update it in a bit gonna let my bro play on computer right now. EDIT: done, changed the comments at the top of the script a bit. See first post
  21. It shouldn't break it ... I anticipated this so thats what line 313 is for (If $Split_Size >= 20000 Then) If the split size is less, it goes to the Else (FileWrite($Open_Cur_File, FileRead($Open_File, $Split_Size))). It should work fine. (Make sure you download the latest upload where I fixed a small related bug) EDIT: I just tested it ... works ...
  22. Thats great but it would be nice if you gave the origional creators credit You should use "Tidy AutoIt Source" in SciTe (Ctrl + T)
  23. np. Updated first post (fixed a few typos and fixed a small bug with the join function on top of what you did)
  24. ok thanks. Updated first post. Hallman
  25. Must of done something ... maybe u can figure it out as I didn't write that part of it ... help is apreciated oops forgot to do this ... EDIT: fixed it see first post The modified code was mostly just to make the join function more progress friendly and I changed the read 4095 bytes every loop to 20000 so it runs a little faster. Hallman
×
×
  • Create New...