Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / 2 problems about Matrix1 plug-in

Author
Message
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 9th Apr 2010 21:40 Edited at: 9th Apr 2010 21:43
Hi all, i have 2 problems about Matrix1 Utility Plug-ins:

1) After i had installed the new version (following the instructions) i can notice my Matrix1 commands are not lighted by the compiler then i can't use f1 to open help window on these commands too. Why? (see pic1, in this pic you can notice the command "SET SPRITE VIEW" is only lighted in "set sprite" part, the classic DB command)


2) Ok i need to show a sprite in a determinate area using SET SPRITE VIEW command. See pic2.
I try and try but nothing, i am using this command, before my "show sprite" command, later my "show sprite" command or first my "DRAW SPRITES" command but nothing! under no circumstances my "SET SPRITE VIEW" command work!! WHY??

Thank you very much!
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 9th Apr 2010 21:41
This is the pic2 of my post.
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 9th Apr 2010 23:38 Edited at: 10th Apr 2010 16:17
I haven't had that problem - but you could try, in DBPro, Tools/Rebuild Keywords.

Edit: Added missing word, puctuation and letter.
Alduce
23
Years of Service
User Offline
Joined: 26th Oct 2002
Location: Rama spaceship
Posted: 10th Apr 2010 00:54 Edited at: 10th Apr 2010 00:54
Thx Green Gandalf.

About the second problems i think the problem is about the size of my example sprite.

Probably the command work on sprites more little than the DRAW AREA. If the sprite is COMPLETLY inside the area i can see it. Else if the sprite is COMPLETLY outside the area i can't see it.

Ok, but for my example sprite? (more big that the DRAW AREA) exists some commands for make what i would??
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 12th Apr 2010 21:24
It's a bug in the command, and the help files for it too. I've made a right mess of the parameters all around on that command.

I've attached a replacement DLL to this post to fix the problem (and a few others I've noticed at the same time).

The parameter order for SET CAMERA VIEW is Left, Top, Right, Bottom.



Sorry for the inconvenience

Login to post a reply

Server time is: 2026-07-26 14:30:58
Your offset time is: 2026-07-26 14:30:58