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.

3 Dimensional Chat / still need help textureing a matrix

Author
Message
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 2nd Nov 2003 18:09
i still cant do it iv tryed but it keeps saying load image expects strig can any one help solve this problum plz here is how the code looks.

im new to games creation so plz help if you can
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 2nd Nov 2003 18:25
You have to create the matrix before you set the matrix tile. Make sure pave07 is in the same directory as your code.

RPGamer

Current Project: Eternal Destiny WEBSITE SOON!
"Thats not a bug! Its a feature!" - _ESC
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 2nd Nov 2003 19:13
Also LOAD IMAGE needs the image number you want to load into, e.g.

LOAD IMAGE "whatever.jpg",1

In DBPRO editor, hit F1 when cursor is in load image text and you get online help that tells you the syntax.

Boo!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 2nd Nov 2003 19:21
rem sync
sync on :hide mouse

rem texture
load image "pave07.bmp",1

rem make matrix
make matrix 1,5000,5000,70,70
randomize matrix 1,300.0

`texture matrix
set matrix tile 1,70,70,1

Try that

RPGamer

Current Project: Eternal Destiny WEBSITE SOON!
"Thats not a bug! Its a feature!" - _ESC
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 2nd Nov 2003 20:01
it dosent work it keeps saying paraeter mismatch. load image expects string, integer what dose this mean

im new to games creation so plz help if you can
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 2nd Nov 2003 20:37
It means that the command LOAD IMAGE needs two values after it

1. STRING, this is a string of text enclosed in quotes, e.g. "pave07.bmp" or it could be string variable,e.g. filename$ that holds the filename of the texture

2. INTEGER, this is a whole number, like 1,2 or 99

If you don't know this you are going to struggle bad!

Boo!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 2nd Nov 2003 21:17
Is pave07 in the same directory as your code.

RPGamer

Current Project: Eternal Destiny WEBSITE SOON!
"Thats not a bug! Its a feature!" - _ESC
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 3rd Nov 2003 13:00
yes

im new to games creation so plz help if you can
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 3rd Nov 2003 13:14
spooky could u give an exaple of what u said

im new to games creation so plz help if you can
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 3rd Nov 2003 14:10
You are going to be the death of us!

Make sure graphic file is in same folder as your .dba and .dbpro file. In my example it is called pave07.bmp



Boo!
redeye
21
Years of Service
User Offline
Joined: 30th Oct 2003
Location:
Posted: 3rd Nov 2003 15:28
thanx ill it works

im new to games creation so plz help if you can

Login to post a reply

Server time is: 2025-06-27 12:15:03
Your offset time is: 2025-06-27 12:15:03