Gamestudio Links
Zorro Links
Newest Posts
blogherenowcenter
by 3s05bmmc. 06/05/24 06:08
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 742 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19057 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
target_map bug #182563
02/07/08 16:39
02/07/08 16:39
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
When I try to render a panel onto another panel's bitmap, using target_map, it changes the target panel's bitmap into some ugly looking mess.

I noticed that when close the engine then run it again, the ugly image is the same as the previous time I ran it. Why is this? Why would it even show an image that was meant to be released from memory when the engine was closed?

Re: target_map bug [Re: sheefo] #182564
02/08/08 08:55
02/08/08 08:55
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Can you give some details about under which circumstances your problem occurs, or even better, send the project to the support if it's not too big?

Re: target_map bug [Re: jcl] #182565
02/08/08 22:17
02/08/08 22:17
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
I am using A7.07, and the manual says it's only supported in A7.08. Maybe thats why?

But I have found a workaround. I render the base bitmap onto an empty panel the same size as it, then render the other stuff ontop. It looks like the error is when you try to render onto the original bitmap.

Re: target_map bug [Re: sheefo] #182566
02/11/08 06:42
02/11/08 06:42
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
It's listed for 7.08, but it was in fact already implemented in 7.07. But maybe the problem was that you were rendering the bitmap on itself? Otherwise you can send a test project to the support where this problem happens - we'll check.

Re: target_map bug [Re: jcl] #182567
02/11/08 11:01
02/11/08 11:01
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
You can find the test project here: http://www.megaupload.com/?d=YLXZF5PH

Sorry about using megaupload. It's the only one I knew how to use quickly.

Re: target_map bug [Re: sheefo] #182568
02/13/08 10:08
02/13/08 10:08
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Thanks, we'll look into this.

Re: target_map bug [Re: jcl] #182569
02/14/08 13:21
02/14/08 13:21
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
Thanks.

Re: target_map bug [Re: sheefo] #182570
02/23/08 11:38
02/23/08 11:38
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
Have you found the problem?

Re: target_map bug [Re: sheefo] #182571
03/03/08 10:26
03/03/08 10:26
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
No. Maybe I have not understood what your problem was, but I could not confirm a problem in your project.

Re: target_map bug [Re: jcl] #182572
03/06/08 19:05
03/06/08 19:05
Joined: Jul 2006
Posts: 783
London, UK
sheefo Offline OP
User
sheefo  Offline OP
User

Joined: Jul 2006
Posts: 783
London, UK
Maybe you have fixed it already, or maybe it's just my computer.
Look at the result I got, the "1" and "2" are 32x32 panels, and the large mess is suppost to be a 512x512 grass texture. The two small panels are being rendered onto the large one using the target_map pointer.



Page 1 of 2 1 2

Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1