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

Topics - Rik_Vargard

#1
Hello, I filled in all the info to add my game to AGS, and when I click on the "Add Game" button, something seems to load and then I have an empty page.
I tried it twice... and I don't know if it worked or not?

Any ideas?
Thx!
#2

[Enter Name] has grown up in the orphanage of Metro City, capital of planet Antoryos, and thus has been given a role to participate in society by becoming a police officer.
with police academy friend Darcy they choose to patrol at night because of the ambient created by the lights of the city.


DOWNLOADS :



#3
I have that .ogv file that's working fine in any video reader.
But when I launch it in AGS, the video part goes like twice as fast as the music, like they are unlinked.

Here's the code (I've tried it all :

PlayVideo("Music-01.ogv",eVideoSkipNotAllowed, 1);

.avi files work just fine in AGS, but I'd like to know why .ogv ones don't.

Anyone having experience in using videos in AGS?

#4
Hello,

So to be clear I've been adding walkbehinds all over my game.
> Draw the walkbehind area and set a baseline
In later rooms I've been using walkbehinds just fine.
But just not in that one, and that one only.

It's a bit late here to provide visuals, but at this point I'm just curious if some of you had experienced that and if there are circumstances that would make a walkbehind not working as it should?

Thx!
#5
Here's the problem:

The Object stays in front of the player.
BaselineOverridden = false;

I also tried
Code: ags
 oElevator04.Baseline = player.y - 1;

It only happens in this particular room.

Any ideas?

#6
Site & Forum Reports / Little Avatar problem
Mon 18/09/2023 18:59:28
Hello,
So I went to my profile to change my signature with an image that will link to my game topic.

After I did that and pressed "change", I know suddenly have a problem with my avatar, which was fine until right now.

Error message : The avatar you have selected is either too large or not an avatar.

My image is 150*150px and 10ko.

So I removed my signature to see if that was the problem but nope, the error is still there.

(and how can I delete a message I posted by error on the forums?)

What I am doing wrong here?

Thx!
#7
I asked chatGPT if it knows AGS and yes it does  (laugh)

So I asked it to write me a basic script in AGS Script for a puzzle where you have to move a box to open a door.
To move the box you must use a lever but it's broken.
To repair de lever you need a wrench but the wrench is in a safe that has a code.

So it came up with this:

Code: ags
// Declare global variables
global.hasBoxMoved = false;
global.hasLeverRepaired = false;
global.hasSafeOpened = false;

// Attach script to "Use" event of lever object
if (event_type == EventType.Use) {
    if (obj == lever) {
        if (global.hasBoxMoved) {
            player.Say("The lever is already pulled.");
        }
        else if (global.hasLeverRepaired) {
            box.Move(x, y);
            global.hasBoxMoved = true;
            player.Say("You pulled the lever and the box moved!");
        }
        else {
            player.Say("The lever is broken.");
        }
    }
}

// Attach script to "Use" event of safe object
if (event_type == EventType.Use) {
    if (obj == safe) {
        if (global.hasSafeOpened) {
            player.Say("The safe is already open.");
        }
        else {
            var code = player.Input("Enter the code:");
            if (code == "1234") {
                global.hasSafeOpened = true;
                player.Say("The safe is now open.");
                if (player.HasInvItem(wrench)) {
                    global.hasLeverRepaired = true;
                    player.RemoveInvItem(wrench);
                    player.Say("You found the wrench and repaired the lever.");
                } else {
                    player.Say("You found the wrench, but you don't have it in your inventory.");
                }
            }
            else {
                player.Say("Wrong code, try again.");
            }
        }
    }
}

// Attach script to "Look" event of door object
if (event_type == EventType.Look) {
    if (obj == door) {
        if (global.hasBoxMoved) {
            door.ChangeRoom(room_id, x, y);
            player.Say("The door is now open!");
        }
        else {
            player.Say("The door is blocked by a big wooden box.");
        }
    }
}

It does precise things that must be adapted like declaring the objects.

Does this make sense?
#8


In the future, Humankind has terraformed and colonized many planets...and is continuing to explore up to the far reaches of the galaxy.

[Enter Name] has grown up in the orphanage of Metro City, capital of planet Antoryos, and thus has been given a role to participate in society by becoming a police officer.
with police academy friend Darcy they choose to patrol at night because of the ambient created by the lights of the city.




Progress
This project is in it's very early stages (like Alpha 0.1) at this point as I'm still learning AGS and BLENDER but things are moving forward at their own pace.

My "stronger" skills : Story - Visuals - Audio ambient
My "weaker" skills (still learning) : Coding - Puzzle creation (I could need some inspiration for that when the time comes)

After some weeks wandering around in AGS and BLENDER I can say I'm excited to work on this project  :)

I really want to thank all the people that helped me so far on the AGS forums. Thanks to you I now know this modest dream of mine can become reality one day!

GAME CREDITS: (as for now)
Spoiler

MUSIC
Synthwave Game Boy by Infraction
80s Synthwave by MOKKA
Electronic by Artur Andreevich
Apollo by MOKKA
Arpy by Dan Henig

3D Models
Rik Vargard
Austin Beaulier
Nours
3DHaupt
Lee Alex Johansson
triplestriker25
Peter Primini
aitortilla01
antoniojmonteiro
tl0615
Gordon Zuchhold
Callum McMorran
Ilona Khovan
Georgia.Perry


BIG THANKS
Crimson Wizard
eriOo
arjOn
Khris
newwaveburritos
heltenjon
Stupot
Ponch
Cassiebsg
Mandle
Slasher
BarbWire
RetroLee
Cassiebsg
Matti
[close]
SMF spam blocked by CleanTalk