Author Topic: Why do I have to trace images, why not just paste  (Read 11850 times)

0 Members and 1 Guest are viewing this topic.

Offline jtyler125

Why do I have to trace images, why not just paste
« on: January 31, 2007, 09:03:59 PM »
I am so dumb...I am just happy to use Sci studio...I just think it would be cool to be able to hack it to put the pasted images for tracing to stay on the pic instead of having to trace them...can someone do that?

Really Dumb,
JT


Life is getting better all the time.
Groundhog Day Competition New Year's Competition

Offline Cloudee1

Re: Why do I have to trace images, why not just paste
« Reply #1 on: February 01, 2007, 06:28:19 AM »
Well, but then you would be stuck trying to trace for the priority and control colors. It would be almost impossible to trace the edges around all of some leaves correctly.

One place you can use paste is in the view editor. You can always make views and then just place them on the picture with the scripts. That's the best way to go, since it's easier to edit views than the pics anyway.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline jtyler125

Re: Why do I have to trace images, why not just paste
« Reply #2 on: February 01, 2007, 08:24:20 PM »
I have done this but it slows the game down tremendously and it makes the cursor blink weird and I think that takes away from the game.  I know it would be difficult to trace around the tree or something but that is a chance that I would be willing to take.

Is it possible to make that happen in sci studio?
Life is getting better all the time.
Groundhog Day Competition New Year's Competition

Offline Doan Sephim

Re: Why do I have to trace images, why not just paste
« Reply #3 on: February 02, 2007, 12:19:35 AM »
If you are talking about the pic editor, it would be pretty much impossible to hack into it to make pasted pics work, because the engine redraws the room in the game based on the lines and fills etc. That is, it doesn't think of it as "one picture" but as a series of lines and fills.

To somehow make it so that when you paste it it figures out all the lines and fills in the correct order would be really a very advanced programming job - one that boggles my little brain!

Offline MusicallyInspired

Re: Why do I have to trace images, why not just paste
« Reply #4 on: February 03, 2007, 01:37:10 PM »
They do have a PCX2PIC program somewhere but I could never get it to work. Must only be for simple lines and such.
Brass Lantern Prop Competition

Offline jtyler125

Re: Why do I have to trace images, why not just paste
« Reply #5 on: February 03, 2007, 04:21:35 PM »
I still think it would be awesome to be able to have real pictures in the pic editor...but like you said you can just paste them onto the screen as a prop or actor.  Even though it makes the cursor blinky.
Life is getting better all the time.
Groundhog Day Competition New Year's Competition

Offline Cloudee1

Re: Why do I have to trace images, why not just paste
« Reply #6 on: February 03, 2007, 04:34:42 PM »
for static, non cycling, views, if you use addToPic instead of init then you won't get the blinky cursor when you mouseover those views.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline jtyler125

Re: Why do I have to trace images, why not just paste
« Reply #7 on: February 04, 2007, 08:50:06 AM »
That is pretty cool...but now if I take a picture and want to put somethings in front of the ego in terms of priority...not possible...but I guess I just have to give up on that dream...thanks Cloudee I will try what you said.

JT
Life is getting better all the time.
Groundhog Day Competition New Year's Competition

Offline Cloudee1

Re: Why do I have to trace images, why not just paste
« Reply #8 on: February 04, 2007, 06:20:55 PM »
But if you break up that picture into several views, a view of a desk, window with tree outside, potted plant, calendar, diploma, etc. then place those views onto the page you can easily set priority just as you already know how to do except with the add to pic instead of init.
Code: [Select]
(anItem:view(800)loop(1)cel(3)setPri(4)addToPic())
I would never suggest trying to make a room sized view. I've had some issues with some overly large ones displaying improperly. For instance, while you guys were working on your New Year's game I was punching up some preliminary coding for a hero's quest knockoff.  The title is a view that stretches pretty much the width of the screen. When I had it displayed as a single view it all fell apart and I had random pieces of it scattered everywhere on the screen. When I broke the view down to one word per view, and displayed four smaller views instead of one big one everything works without issue.

You can do what you want, just on a smaller scale than you are wishing for.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline troflip

Re: Why do I have to trace images, why not just paste
« Reply #9 on: February 11, 2007, 03:26:24 PM »
The "latest" (old) beta for SCI Companion has support for converting bitmap images to pic resources.

Steps:
1) create new pic (button on left of toolbar)
2) choose Tools->Convert bitmap to Pic
3) It brings up a dialog when you can browse for an image, or copy from the clipboard.  The image should appear on the left side
4) Click "convert", and the resulting SCI pic should appear on the right.  If it looks ok, then click "accept", and the appropriate drawing commands will be inserted into your pic.
5) choose file->export as resource to save it as a pic.nnn file that can be imported by SCI Studio.

But a big WARNING:  large pics can wreak havoc on your game due to memory constraints.  And while my program does a better job than pcx2pic (if you can even get that to work), the resultant pic sizes are still large.  The max size of a resource is 64KB, but I wouldn't get too close to that.  SCI Companion shows how big the result is, so you can check before clicking "accept".  You can adjust the palette used, and the number of colours and "convert" again, to try to get something that may not look quite as good, but will be smaller.  I can usually get something decent of about 40KB... although of course it depends on what the original picture looks like.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline Cloudee1

Re: Why do I have to trace images, why not just paste
« Reply #10 on: February 11, 2007, 05:26:24 PM »
40 Kb  :o

That's big.
Halloween Competition Brass Lantern Prop Competition Groundhog Day Competition

Offline jtyler125

Re: Why do I have to trace images, why not just paste
« Reply #11 on: February 15, 2007, 10:01:28 PM »
Ok Troflip is a genius...I have been playing with what he said here and this is the coolest thing ever.  I can't wait to use it to create a game.  What a huge time saver...way better than tracing images.  Awesome!!!!!!!!!!!!

Thanks,
Tro

JT
Life is getting better all the time.
Groundhog Day Competition New Year's Competition

Offline Eigen

Re: Why do I have to trace images, why not just paste
« Reply #12 on: February 16, 2007, 02:06:12 AM »
In my honest opinion, I think that self-drawn pictures are way better than some photo-like backgrounds. They have this personal style and I don't know .. something.



-Eigen
Artificial Intelligence Competition

Offline troflip

Re: Why do I have to trace images, why not just paste
« Reply #13 on: February 16, 2007, 11:01:56 PM »
I agree... but I think photo-like backgrounds can be suitable for "static" scenes, like a title page.
Check out my website: http://icefallgames.com
Groundhog Day Competition

Offline jtyler125

Re: Why do I have to trace images, why not just paste
« Reply #14 on: February 17, 2007, 10:33:48 AM »
We will see...I think there is a definite place for static pictures as a background...I have a few ideas that I am trying to work on but progress is slow...really slow.

Here is my new idea for this forum...just a suggestion of course...not sure if possible...but a place where we can all put some of our better views...such as different loops of actors, windows, doors, anything that we may want to put in a game.  Then we can just d/l the views and paste them into our games.  If everyone here does a few of these views we will always have a quick place to get a view to build a game?  Just a thought to increase output and sharing.

What do you think?

Thanks,
Jesse
Life is getting better all the time.
Groundhog Day Competition New Year's Competition


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.032 seconds with 23 queries.