[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4697: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4699: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4700: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4701: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
indielib.com • View topic - Indielib CrossPlatform - Development Thread

indielib.com

IndieLib Forum
It is currently Tue Oct 27, 2020 11:12 pm

All times are UTC




Post new topic Reply to topic  [ 241 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17  Next
Author Message
PostPosted: Sun Jun 16, 2013 11:32 am 
Offline
Site Admin

Joined: Thu Jul 16, 2009 1:52 pm
Posts: 250
Location: London, UK
Do you have any test code for it? How I would run the code and see if size changes?


Top
 Profile  
 
PostPosted: Sun Jun 16, 2013 11:37 am 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ


Top
 Profile  
 
PostPosted: Sun Jun 16, 2013 12:02 pm 
Offline
Site Admin

Joined: Thu Jul 16, 2009 1:52 pm
Posts: 250
Location: London, UK


Top
 Profile  
 
PostPosted: Sun Jun 16, 2013 1:04 pm 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark
Applied the fix (uploaded to github), but it still dosn't work, - what about the value, does this also need to be an object? the Ind_image is currently a pointer - xcode complains about a private destructor if I try to dereference it :|

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ


Top
 Profile  
 
PostPosted: Sun Jun 16, 2013 4:01 pm 
Offline
Site Admin

Joined: Thu Jul 16, 2009 1:52 pm
Posts: 250
Location: London, UK
Hi, pushed some changes to the repo. Can you see if it works for you? I see log lines for images read from container, so I think its ok.


Top
 Profile  
 
PostPosted: Sun Jun 16, 2013 4:28 pm 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark
It dosn't.. tried debugging, - the parameters is ok every time. but the insert stil leaves the container empty. Are you sure that a pointer is ok as a value ?

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ


Top
 Profile  
 
PostPosted: Thu Jun 20, 2013 6:52 pm 
Offline
Site Admin

Joined: Thu Jul 16, 2009 1:52 pm
Posts: 250
Location: London, UK


Top
 Profile  
 
PostPosted: Sat Jun 22, 2013 7:24 am 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ


Top
 Profile  
 
PostPosted: Sun Jun 23, 2013 12:47 pm 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark
After further investigation it seems (see the code + debug screenshoot) that:

1) The objects are indeed added to the map.
2) The size of the map are afterwards reported as '0' ???

What am I missing, - shouldn't the value be '23' like in output log :?


Attachments:
Screen Shoot_code.jpg
Screen Shoot_code.jpg [ 34.31 KiB | Viewed 13474 times ]
Screen Shoot_debug.jpg
Screen Shoot_debug.jpg [ 122.28 KiB | Viewed 13474 times ]

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ
Top
 Profile  
 
PostPosted: Sun Jun 23, 2013 2:19 pm 
Offline
Site Admin

Joined: Thu Jul 16, 2009 1:52 pm
Posts: 250
Location: London, UK


Top
 Profile  
 
PostPosted: Sun Jun 23, 2013 5:19 pm 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark


Attachments:
Screen Shot 2013-06-23 at 7.11.34 PM.png
Screen Shot 2013-06-23 at 7.11.34 PM.png [ 157.62 KiB | Viewed 13456 times ]

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ
Top
 Profile  
 
PostPosted: Sun Jun 23, 2013 5:21 pm 
Offline
Site Admin

Joined: Thu Jul 16, 2009 1:52 pm
Posts: 250
Location: London, UK
You can use gdb inside xcode console. Thats what i use. I generally dont use the quick look pane, just print what i want after a breakpoint.


Top
 Profile  
 
PostPosted: Mon Jun 24, 2013 6:06 pm 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark
Regarding Spriter,
so far I have used a solution of surfaces + direct blitting. Now I need to handle image hotspots / pivotpoint. Have been looking at the IND_Surface and the Direct blitting method on the render, none so far seems to support this. Found support in the IND_Entity class, - but my questions is : do I really need to make use of the IND_Entity2d class instead of the IND_Surface class? or can I continue my direct blitting Journey ? and how do I handle setting the pivot pionts with direct blitting? :?

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ


Top
 Profile  
 
PostPosted: Mon Jun 24, 2013 7:02 pm 
Offline
Site Admin

Joined: Thu Jul 16, 2009 1:52 pm
Posts: 250
Location: London, UK


Top
 Profile  
 
PostPosted: Mon Jun 24, 2013 7:12 pm 
Offline
Site Admin
User avatar

Joined: Sun Jan 02, 2011 2:06 pm
Posts: 222
Location: Denmark
I think I would go for the direct blitting a bit further, - refactor to Entities if it's needed... anyway why is pAxisCalX, and pAxisCalY int? each value needed is in the range 0 -> 1 ... this is seen in IND_entity where these are correctly floats ( set sethotspot ).

_________________
Cross-platform repository: https://github.com/DarthMike/indielib-crossplatform
Cross-platform roadmap: http://www.indielib.com/wiki/index.php? ... eloper_FAQ


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 241 posts ]  Go to page Previous  1 ... 11, 12, 13, 14, 15, 16, 17  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group