![]() |
testimage(x,y)
just like testnpc but for showimg.
You would prabably have to implement things like. image[index].x image[index].y image[index].width image[index].height image[index].type showimg index,image,x,y; imgtype index,5; Now you can check for the image with the specified type. Like if you have a bunch of images in a level and only want to detect certain one's you can change the type and check for that. etc... surely there are more things.... There could be many use's for this im sure. And several I can think of right now. NPC Code: ... I hope that conveys the idea... |
:(
|
:(
*bangs head on wall* |
I...don't get it sorry
(posting so you dont go crazy:) ) |
:D a reply@!
But im looking for comments@!# |
*waits for comments from smart people who know stuff*
*waits some more* |
Image stuff would be good.. But isnt it a little bit uselss?
|
I find it easier to make an asteroid field with showimg than just npc's...
my asteroids script could all be in one script (asteroids included) with testimage(x,y) and type. There is no accurate way to do it otherwise. well almost. But I'd rather not do that hehe. I have other things to do like school |
Yeah i think stefan should start and choose some ideas and make them happen.
|
It would be nice if Stefan set out to make the most powerful scripting engine any game has ever seen. But he didn't
He is simply out to make a fun game full of little things like golf. Not that that is bad or anything. It would be nice if we had a much more powerful scripting language. With which we can do many many more things. I mean right now it can't even do some basic snes stuff. If we could at least emulate snes quality stuff like image rotation *wink wink* man the effects would take a skyrocket up there! |
That'd be cool, but mostly, setimgrotate is a command I want to see, you can do alot of the other stuff with arrays...the width and height would be nice, though...
|
we have traveled down this road many times... imgrotation AINT GONNA WORK... I asked about this LONG AGO... GIVE IT UP
|
It's not the script language, its the problem
that many gfx cards don't support it. It would be take ~5 minutes to add image rotation, but only people with Direct3D support could see it, so you couldn't use it for important stuff. |
Quote:
|
Quote:
|
Hang on...Stefan, surely you could rotate an image 90 degrees without Direct3d, yes? It's just a matter of drawing it top-to-bottom instead of left-to-right...sure, it's a bit complicated, but I could make an NPC rotate a showimg 90 degrees practically in my sleep...
Maybe it shows the smooth rotations for D3D people and the 90 degree rotations for the unupgraded? |
Re: testimage(x,y)
Quote:
um.... let me go find the post where I POSTED ABOUT THIS FIRST >:o |
Re: Re: testimage(x,y)
Quote:
But I just thought up a use for it so blah :p I posted it again. And It came from my mind. And I scripted that example from scratch on the spot. blah blah blah. |
| All times are GMT +2. The time now is 11:36 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.