Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Doan Sephim

Pages: 1 [2] 3 4 ... 36
16
But are they vectors? :3
They are vectors! Karl kindly offered to learn to use SCI Companion to spare me the trouble of tracing the images :)

17
Hey everyone, just wanted to post a quick update here. The Kickstarter was successful and even the stretch goal was reached, so now Brandon and I will be updating the artwork and music assets for Book 1. I say Brandon and I, but a friend of mine, Karl Dupere-Richer is also helping with a lot of the backgrounds for Book 1, two of which I attached to this post. In those pictures, you can see his reworking of the Dock house and the Scientist's house, both of which are beautiful upgrades, but also fit into the world much better.

I've also posted a couple of new backgrounds I've worked on since the KS finished. I'm currently working on getting the rooms up and running with puzzles, text, and animations.

All in all, things are going well. Slowly, of course...but I do a little bit of work each day and over time it adds up!

18
SCI Syntax Help / Re: SCI0 - Pic Size Maximum?
« on: January 09, 2022, 03:19:46 PM »
So if someone were to play the game on era-appropriate hardware, it would cause a slower load time for that screen?
Absolutely certainly.
Kawa, would you happen to know what size threshold there would be before the size of a room begins causing undo stress on an old system? I ask because some of the new pieces we're working on for the update for Betrayed Alliance Book 1 are hitting around 24KB or so.

19
Thanks. I found something like this from an old post from 2012. It's not Sierra Script, but it looks roughly like what you're talking about

Code: [Select]
== $0002 OnControl(ocPRIORITY (send pEvent:x) (send pEvent:y)) I'm still trying to get it sorted, but is this the right direction to head?

EDIT:

I think I've got it working properly, thanks to your advice and the aforementioned quote from gumby.
I'm using this and it seems to get the job done:
Code: [Select]
(if (== (OnControl ocSPECIAL (pEvent x?) (pEvent y?)) ctlFUCHSIA)

20
SCI Syntax Help / SCI0 - How to check if right-click on a control color?
« on: January 04, 2022, 02:04:29 PM »
I've actually never done this before. I've only verified for clicking within a box or on a view's box dimensions.
I tried something like:
Code: [Select]
(method (handleEvent pEvent)
(super handleEvent: pEvent)
(if (== (pEvent type?) evMOUSEBUTTON)
(if (& (pEvent modifiers?) emRIGHT_BUTTON)
(if (== pEvent ctlFUCHSIA)

But that doesn't return true

I also tried
Code: [Select]
(if (pEvent onControl: ctlFUCHSIA)and
Code: [Select]
(if (== (pEvent onControl: ctlFUCHSIA) TRUE)But both crash the game because I clearly don't know the proper syntax for this.

I know a lot of this is common knowledge for people who have looked through decompiled scripts, but every time I've tried that, I end up more confused than ever!

21
SCI Syntax Help / Re: SCI0 - Pic Size Maximum?
« on: December 10, 2021, 12:56:18 PM »
So if someone were to play the game on era-appropriate hardware, it would cause a slower load time for that screen?
Absolutely certainly.
That's good to know. For this reason I will definitely want to sketch over it to keep the file size down. Thanks for that info!

22
SCI Syntax Help / Re: SCI0 - Pic Size Maximum?
« on: December 10, 2021, 12:28:37 PM »
(All of this will also affect load and offscreen-drawing time which might not seem quite so bad on a modern system but oh boy.)
So if someone were to play the game on era-appropriate hardware, it would cause a slower load time for that screen?

23
SCI Syntax Help / Re: SCI0 - Pic Size Maximum?
« on: December 10, 2021, 10:08:09 AM »
It looks like you might be losing some detail with the flowers in the grass. Are the original photoshops the same resolution as the game? If so, I wonder if it's that "smooth" option that's causing the loss? You might try switching the option in the converter to Solid colors.

Also a hybrid of bmp conversion and tracing might be the best option here. The conversion handles solid colors very inefficiently in my experience, so you could try going back and deleting all the 100s of lines it produces for that solid dark green patch and then use the fill tool. Just a suggestion.

The new reworked background looks great BTW!

Thanks! I think the loss of details was really from me saving this screenshot with paint into aJPEG - the actual PIC resource looks really nice. I just took that screenshot to illustrate the conversion tool I was using (and I wasn't super careful about the settings for that reason too)

Yes, I agree that the conversion is very inefficient, but if it doesn't go over the max, is it really a problem? I'm asking sincerely, because I don't actually know if it matters much or not

24
SCI Syntax Help / Re: SCI0 - Pic Size Maximum?
« on: December 10, 2021, 09:31:31 AM »
Just out of curiosity, how do you convert a photoshop image into SCI0 format?
Not by using the built-in "trace a bitmap" function I'd wager, that's a good way to fly too close to the 64k limit.

No, what you'll want to do is redraw the entire damn thing, using the *other* trace function. The one where you get a translucent copy as a guide. I'm not explaining this well.
I used the conversion tool in SCI COmpanion, not the trace over tool. If the pics go over the limit though, I will definitely use the tracing tool

25
SCI Syntax Help / SCI0 - Pic Size Maximum?
« on: December 09, 2021, 09:15:52 PM »
A friend of mine did a rework of an image for Betrayed Alliance Book 1, but he's using Photoshop. When I converted the image into SCI0, its size clocked in at 43 MB.

I wonder, is there a maximum size for these resources and if, so, how close am I to it (as I'll still need to add Priority and Control lines).

26
SCI Syntax Help / Re: xStep, yStep and the edge of the screen
« on: December 04, 2021, 08:13:20 PM »
I'll have to look into that code when I get a chance. I haven't checked other xStep numbers with the running animation yet, but I have tested it with other views. Sometimes it works and sometimes not.

Also, the running animation will work if I set the posn to a particular location, which might've been enough to fix the problem, but sometimes it will change if I run into a white control line at some point in the background, then it throws things off

27
SCI Syntax Help / Re: xStep, yStep and the edge of the screen
« on: December 04, 2021, 12:08:04 PM »
Is the issue with keyboard controls or mouse controls?
Keyboard controls

28
SCI Syntax Help / xStep, yStep and the edge of the screen
« on: December 03, 2021, 09:26:44 PM »
I'm having an issue with actors moving at certain x or y steps not hitting edge of screens or triggering thin control lines.

Most of this I can work around without too much difficulty, but my character running speed is xStep 5 and the fact that the character isn't triggering the edge of screen room change is becoming a problem.

Has anyone else had this issue and/or know an easy solution?

I am a little confused on how I didn't have this issue with Betrayed Alliance Book 1, which uses the same character sprite and xStep running speed.  :o

29
SCI Syntax Help / Re: [Solved] changeState question
« on: December 01, 2021, 04:50:27 PM »
I've had to do that before, which is the only reason I knew. FYI, you can cancel it outside the script as well if needed: (scriptName cycles: 0)
That's good info to know. Thank you

30
SCI Syntax Help / Re: changeState question
« on: December 01, 2021, 04:03:27 PM »
Is (= cycles 0) not working? I just tested that I was able to cancel a cycles-based state change from within a script's (doit) by setting to 0.
Nice! That seems to work perfectly. I knew it would be something simple! and I don't know how I didn't think of that

Pages: 1 [2] 3 4 ... 36

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

Page created in 0.161 seconds with 21 queries.