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 - Hogofogo

#1
That should work. I will try it.

Thank you
#2
Hello wise ags masters,

Question: is there a way to have "custom properties" for objects, characters, hotspots which can by dynamically changed from script? Also they need to stay even when I'm changing rooms.

Same question with background info: I'm trying to create simple interface where you use just left mouse button. You use it for walking, when you hover cursor over some object/hotspot/character cursor will change to look cursor/interact cursor/talk cursor. And behavior can change, for example first action on character can be look, second talk etc. That is already working as I played a lot with global script - repeatedly_execute,on_mouse_click, with iItem_<action> events and with my own gui. Now what I want: when I click on item in gui, cursor will change to that item (already working) and I can move that cursor over room and when I hover with that cursor over some hotspot/character/object, cursor will change to same "glowing" item, this indicate that item can be used, that some action will happen. Change cursor graphics is simple but I don't know how to do testing condition. My idea is to put in globalscript in function repeatedly_execute() something like

if (  (room == something) and (GetAtScreen(mouse.x,mouse.y).ListOfUsableItems contains player.ActiveInventory)   ) then mouse.ChangeModeGraphics(glowingItemSprite)

So how to implement "listOfUsableItems"? And this list must be possible change dynamically.

Or is there possibility to implement OnMouseOver event to each object/char/hotspot? That would make everything easier.


Any answer appreciated, thanks :)
#3
Here is my problem and how I solved it, for Nvidia users only, but I guess there is something similar for AMD.
I created game 640x480. I have wide screen monitor 1920x1080 (Nvidia 560Ti, monitor ASUS VE278).
Problem was that in fullscreen mode game was stretched to the sides, which means it's distorted. That is bad as circles are not circles anymore and all characters looks fat.
I wanted to have black bars on left and right side. I read all related forums and nothing helped, finally after many attempts when I almost got crazy I solved it by settings in NVidia drivers.
Display NVidia control panel -> Display -> Adjust desktop size and position -> Scaling ->
set
Select a scaling mode: -> Aspect ratio
AND
Perform scaling on -> GPU


Additional info:
You can try use instead setting in game setup (winsetup.exe) and check option "side borders on widescreen monitors". It didn't work for me. When I checked it, signal from graphics card came as 1024x768 and game was distorted AND with black bars all around :) This is probably because game tries to switch to same crazy resolution like 843x480 which is not supported by my monitor so it will negotiate next higher resolution - just my guess.
SMF spam blocked by CleanTalk