Page 1 of 2

Help

Posted: Mon 11 Jul, 2005 8:31 pm
by Spooner
OK I have read the read me and this makes no sense to me. I don't even know where to start but I think this could work really well for Metal Gear Solid.

A list of my questions.
1. Where do I draw my sprites and how do I get it to my calc for xlib?

2. Where do I draw a map and how do I get it to my calc for xlib?

3. How do I use real?

4. And once this is up do you have to set boundaries so that it does not go into an area you do not want it to go into.


If someone wants to help me through this to make my own example I should beable to understand it enough to do it on my own. I have already made some small sprites in gif animator I just dont know what to do next.

I am sorry for having the make a topic in here. I wasn't sure where I should have put this here or help. Thanks for the great app.


Spooner

Posted: Mon 11 Jul, 2005 9:23 pm
by crzyrbl
did you chex out the example program that came with it? it helped me alot....

Posted: Mon 11 Jul, 2005 10:45 pm
by Spooner
No not yet. I am assuming you can see the source on that one right. I will try to download it tonight

Posted: Tue 12 Jul, 2005 1:05 am
by crzyrbl
good luck!
here's where it is if you nd it...
http://www.ticalc.org/archives/files/fi ... 35907.html

Posted: Tue 12 Jul, 2005 4:24 pm
by Spooner
Downloaded it and still cofused. I have never used the real( function so thats why I am confused.


Help

Posted: Tue 12 Jul, 2005 6:16 pm
by crzyrbl
the real function is really used to convert imaginary numbers to real numbers. since no one really uses it that much, xLib overwrites it to make a useful basic programming tool.

As for USING this overwritten real( function, that's up to you to read his example prgm and readme to figure out cuz im not very good at explaining :D

Posted: Tue 12 Jul, 2005 7:01 pm
by merthsoft
It doesn't convert imaginary numbers, it take the real part of an imaginary number, and it still works, even after xLib is installed...
Ok, the sprites you store in a picture, and the map is stored in a matrix, with the correct number matching the 8x8 sprite (the first one is in the top left corner, and is number 0, then from left to right it it 1 2 3 4 etc. and then you go down to the next row, and it starts at 12, then left to right 13 14 15 etc., just like reading)... You then use the real( token as the read me explains (real( is in the math menu, MATH:CPX:2:real( )...

Posted: Tue 12 Jul, 2005 7:37 pm
by crzyrbl
Merthsoft wrote:It doesn't convert imaginary numbers, it take the real part of an imaginary number, and it still works, even after xLib is installed...
Oh? :puzzled: still works after installation does it? try real(2+3I and tell me if you get 2

Posted: Tue 12 Jul, 2005 7:37 pm
by basjuh
could it be possible to somehow store the matrix in the archive cause those things are huge..

Posted: Tue 12 Jul, 2005 7:39 pm
by merthsoft
crzyrbl wrote:
Merthsoft wrote:It doesn't convert imaginary numbers, it take the real part of an imaginary number, and it still works, even after xLib is installed...
Oh? :puzzled: still works after installation does it? try real(2+3I and tell me if you get 2
Oh, umm, sorry, my bad... Just don't do math with it installed :)
basjuh wrote:could it be possible to somehow store the matrix in the archive cause those things are huge..
Just don't use such a big matrix...

Posted: Tue 12 Jul, 2005 7:41 pm
by basjuh
but then you would be limited to well 16x16 rooms if you have a large main program.. and i need a quite big map, but thats impossible i guess..

Posted: Tue 12 Jul, 2005 7:45 pm
by merthsoft
basjuh wrote:but then you would be limited to well 16x16 rooms if you have a large main program.. and i need a quite big map, but thats impossible i guess..
I use 16x24, just use multiple maps...

Posted: Tue 12 Jul, 2005 7:46 pm
by crzyrbl
just create prgms that make the maps then use zflash or flashgordon to archive to ones not being used

Posted: Wed 13 Jul, 2005 4:58 pm
by tr1p1ea
Sorry if things are hard to understand ... to use tilemaps and sprites etc in BASIC you still have to know the theory of how they work (kinda).

I will be including a tutorial which will show you step-by-step how to make a simple tilemap moving engine with a sprite and collisions. But that wont be for another few versions.

Posted: Wed 13 Jul, 2005 9:42 pm
by dysfunction
Perhaps I could help with that, if I have time... I think I have a solid grasp of the theory behind spriting.