Line 8: |
Line 8: |
| * Thanks for all your comments, guys :) A C version is currently not planned, because OOP is a big feature of this library, which is the reason why development can be so fast with it. But we will release the source once the projects gets mature. --[[User:Chaosteil|Chaosteil]] 14:38, 12 June 2008 (CEST) | | * Thanks for all your comments, guys :) A C version is currently not planned, because OOP is a big feature of this library, which is the reason why development can be so fast with it. But we will release the source once the projects gets mature. --[[User:Chaosteil|Chaosteil]] 14:38, 12 June 2008 (CEST) |
| * Chaosteil, can you release the source as is? Even if it isn't easy to compile, a browse through the source can help me understand the library and use it better in my app. -- [[User:PaceMaker|PaceMaker]] 06:03, 31 July 2008 (CEST) | | * Chaosteil, can you release the source as is? Even if it isn't easy to compile, a browse through the source can help me understand the library and use it better in my app. -- [[User:PaceMaker|PaceMaker]] 06:03, 31 July 2008 (CEST) |
| + | **Drop me an email and I'll give you the link ;) --[[User:Chaosteil|Chaosteil]] 23:22, 31 July 2008 (CEST) |
| | | |
| == sprite test not working == | | == sprite test not working == |
Line 33: |
Line 34: |
| ::Thanks for the quick reply :), it works perfect now, my image had a solid background, I removed a part from it to force photoshop to use alpha channel and it works now :D, thanks again : ) -- [[User:Bool|Bool]] | | ::Thanks for the quick reply :), it works perfect now, my image had a solid background, I removed a part from it to force photoshop to use alpha channel and it works now :D, thanks again : ) -- [[User:Bool|Bool]] |
| ::Could some of this information be rolled into the main article? I was getting started with libwiisprite and had problems with an 8-bit png. I didn't think to check the talk page here until I already talked to Chaosteil to get it sorted out. [[User:Thav|Thav]] | | ::Could some of this information be rolled into the main article? I was getting started with libwiisprite and had problems with an 8-bit png. I didn't think to check the talk page here until I already talked to Chaosteil to get it sorted out. [[User:Thav|Thav]] |
| + | :::8bit was not the case of this problem.. I will see what I can do about it, some faulty libpng documentation here ;/ --[[User:Chaosteil|Chaosteil]] 23:22, 31 July 2008 (CEST) |
| | | |
| == Collision Detection Woes == | | == Collision Detection Woes == |
Line 67: |
Line 69: |
| ==Problem Installing in Windows== | | ==Problem Installing in Windows== |
| When I try to install in windows by typing 'make win', I get the following error: | | When I try to install in windows by typing 'make win', I get the following error: |
− | ::Installing libwiisprite for Windows...
| + | Installing libwiisprite for Windows... |
− | ::make: copy: Command not found
| + | make: copy: Command not found |
− | ::make: *** [win] Error 127
| + | make: *** [win] Error 127 |
| There appears to be at least three problems with the makefile. The first is that 'lib' is tried to be copied twice, instead of 'lib' and 'include'. The second is that windows 'copy' can't take three parameters. The third is that 'copy' can't be found since it's really a cmd.exe function and not a copy.exe stand-alone app. | | There appears to be at least three problems with the makefile. The first is that 'lib' is tried to be copied twice, instead of 'lib' and 'include'. The second is that windows 'copy' can't take three parameters. The third is that 'copy' can't be found since it's really a cmd.exe function and not a copy.exe stand-alone app. |
| <br>-- [[User:PaceMaker|PaceMaker]] 03:57, 31 July 2008 (CEST) | | <br>-- [[User:PaceMaker|PaceMaker]] 03:57, 31 July 2008 (CEST) |
| + | :Oh... Try to use it with the linux command then.. Devkit installes cygwin, so when you want to use make, it calles the cygwin version, which obviously has cp, not copy. Should work then --[[User:Chaosteil|Chaosteil]] 23:22, 31 July 2008 (CEST) |
| | | |
| ==LibWiiSprite Coding Question== | | ==LibWiiSprite Coding Question== |
Line 85: |
Line 88: |
| | | |
| Yes, it is most definitely needed, the Image takes care of the loading, converting and storing of the bitmap, while the Sprite takes care of the alignment math and all that fancy stuff.--[[User:Henke37|henke37]] 13:06, 31 July 2008 (CEST) | | Yes, it is most definitely needed, the Image takes care of the loading, converting and storing of the bitmap, while the Sprite takes care of the alignment math and all that fancy stuff.--[[User:Henke37|henke37]] 13:06, 31 July 2008 (CEST) |
| + | :Henke got it straight to the point. Why Image is the data, the whole calculations are done with the sprite. You should better track both or you will end up with a huge mess, but it is possible to get the pointer to the image the sprite uses (GetImage), however, it is const Image*, so it would be just a pointer to peek at data. --[[User:Chaosteil|Chaosteil]] 23:22, 31 July 2008 (CEST) |