Menu

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.

Show posts Menu

Messages - Yuri Patrick

#1
Engine Development / TouchScreen Support
Tue 03/03/2015 04:27:16
I am very curious, over the last two years I have finally gotten into the world of touchscreen. My Desktop PC has two touchscreens and windows 8, my Surface Pro 3 is touch and Windows 8.1. The only thing left in my house that is NOT touch capable is my Macintosh. However, Apple is talking about having a touch capable iMac in the works, so it seems that it would behoove our creators and gamers to make AGS touch capable.

I have seen a few threads on touchscreen capabilities, but it seems to be just plugins at the moment. Are there any plans to make AGS touch compliant from the core out? Or is this just a pipe dream? From my understanding, once you get past the drivers, which is what Windows and OS X are for, then you can just address the touchscreen as if it were an extension to the mouse. I could be wrong, but it seems like it should be a fairly simple subroutine to add to the code. Not that I can code anymore. :(

Anyway, I was just wondering.
#2
Well, I'll go try and find a copy of 1.19... And since patience is supposedly a virtue, I'll wait for Aja to reply to the thread before I nail him on email and/or pm. ;)
#3
I'm only doing what you suggested Khris. And since you are here, how the devil to I declare a string variable anymore? AGS keeps telling me that I can't give a initial value and that I need to use StrCopy. But I look up StrCopy and the demo example has the variable being initially defined. :(
#4
Here, here, Jordan. I agree whole heartedly. I even got to Aja's site this morning and couldn't find anything there either. :( Actually, credits wasn't even mentioned on AJA's site. :(

Well, perhaps there is some way that I can save the day. AGS usually gives us blatant hints when we are using predefined functions. Sooo... Perhaps that will work to our advantage. :)
#5
ARGH! Alright. I managed to get the 2.0 plugin installed, finally. Feel kinda dumb now. Also... I managed to track the creator back to their home page but cannot get in touch with them. I think that their page has gone stale as the contact us form is broken and so is the registration page for their forums. :(

So, I'm starting to wish I knew how to program in C++ and that there was more info on this plugin. I found a rather weak tutorial on our forums about 2.0, finally. *SIGH* If only I knew C++, then I could do all of this myself. :(
#6
Yes. The problem with your statement is that as I said at the beginning, I did search for a newer version and I found 2.0. But it's a plugin, instead of a mod, without any instructions at all. :(
#7
Alright. I got credits to work finally. But now I have a new issue. And hopefully someone is familiar with this plugin...

I can get my credits to do the standard scrolling movie style, I can even get the right font and stop them where I want them to start. However, no matter what I do, they start at the bottom of the screen. Hopefully someone can help me figure out how to get them to start at a different Y location.

I have tried
Code: ags
credits[0].StartY = 100;
and it still won't start at Y 100. It insists on starting at the bottom of the screen. Help please. :)
#8
Alright. I got it. In the General Settings, under Backwards compatibility, you have to set "Enforce new-style audio scripting" and "Enforce new-style strings" to false. "Enforce object-based scripting" doesn't even fix it, and that can stay true.

And now it works. :)
#9
OH! I didn't even think of that. Thanks. :) And as for where I got it, I got it at http://americangirlscouts.org/agsresources/AGS%20resources/plugins/agsCreditz.zip

I tried what you said about making it allow old-style scripting, but it still won't compile. Exact same error. I'll go through the demo's settings and try to find out which one is the one that will make this work.

If I still can't get it to work, is there a updated version of StrCopy? I tried String.Copy() and it totally freaked. ;)
#10
Beginners' Technical Questions / Credits 1.17
Tue 24/09/2013 01:21:22
I didn't want to be asking for help again so soon, but I can't get Credits 1.17 script to work. When I import it, everything goes fine. When I run the demo everything is fine. Yet, when I try to compile my game after importing the credits scm file, it tells me:

QuoteCredits.asc(80): Error (line 80): Undefined token 'StrCopy'

Anyone know how to fix this?

And before anyone asks, I've already tried to Credits 2.0 plugin, but can't remember how to install a plugin nor can I find any decent information on how to work Credits 2.0. The .chm help file that comes with 2.0 is utterly useless. There is nothing in it. Just blank sections. Soooo....?
#11
Does anyone still have the C# wrapper? I tried all three of the links that I saw going to the file and they are all dead links. Please someone still have this. :)
#12
Hey, Crimson. Long time no see. I checked out the link that Ice gave me, but all the links to the wrapper are dead. And if they are not, then I was looking at the wrong links and wouldn't mind some suggestions here about where to get a C# wrapper. Thanks. :)
#13
Alright. I did a new search in google and found a section in the AGS documentation pages that covers C# plugins and it says that C# only works for the Editor, not the engine at this time. Still. Please tell me that I can use C# finally to write a plugin that says hello world with an ingame trigger...

Like the plugin can use a click on a rock as a trigger to say hello world ingame?
#14
Beginners' Technical Questions / C# Plugins
Mon 26/08/2013 15:57:30
Wow it's been a long time. I can't find my old AGS C# wrapper for writing plugins or any of the old tutorials I use to have on writing plugins. Does anyone know where any of that is? I did a search for the C# wrapper and the forums kept throwing blanks back at me.

And the tutorials, well, I'm not finding those either anymore. :( There use to be a nice one that taught you a hello world plugin in C# and now I can't find it anymore. :(
#15
Grr! I can't find any links that work anymore for this, Wyz. Do you even still have the source for the plugin? I wanted to use it for a template to my own networking protocol.
#16
I know that this topic is horribly old, but I am still interested in trying to get some MMO technology going here inside of AGS.

Does anyone still have a copy of the source code for the TCP/IP Plugin itself? I use to have it, it use to be all over the place, and now it is very difficult to find. If you still have the source code to the plugin itself, would you please post a link or email it to me?
#17
Nice, Wyz.

The server I was thinking about using was a MUD server. SImple telnet protocol. I just have to figure out how to get AGS to read what comes up from the server and translate it into rooms and such. ;)
#18
Thanks, cat.

Never thought of trying to run my game outside of the editor. Perhaps its just a issue that was deemed minor enough to let go for a while. Or never showed up during debugging. *shrug*
#19
Hrm. That's frustrating since 2 overlaps 1. I'll have to work on this some more. So, as long as 2 is touching any other walkable area, 1, 3, 4, etc, it will not work. But as long as 2 is separated, even by a thin line, it will work then...?

Didn't notice that. It's been a while since I coded in any language. :(
#20
Hrm. Think I might have just found my problem. BRB.

I can't delete posts of my own. How rude. ;)

Anyway, didn't fix it. I thought maybe if I split the last line of code and bracketed it, it might work right, but no dice.

Gotta run, but gonna keep eyeballing this thread and working on my problem. :)

---

ACK! I just got done filling in all of the walkable areas in my room and now my crocodiles are swimming all over the screen. One even swam off the screen never to return. (ROTFL!) How can I confine them to one specific walkable area?
SMF spam blocked by CleanTalk