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

#1
Welp, it works now. Thanks for the help!
#2
Well, I am still too stupid for this.

I now have these pieces of code in my on-key-press function:
Code: ags

        DynamicSprite *sprite = DynamicSprite.Create(320, 200, true);
        DrawingSurface *surface = sprite.GetDrawingSurface();
        surface.Clear();
        surface.DrawImage(100, 100, 145);
        
        gHotspotmarker.BackgroundGraphic = sprite.Graphic;


I only draw one sprite now, but instead of it showing on a clear plane, i just get the white Gui when i press the button.
#3
Hello,

this is my first post in the forum.
I am currently making the test game for my real project and I came upon one problem.
When you press spacebar, there should be some kind of indication for hotspots/objects/charakters.
Like some glowing orb that indicates where to click to prevent pixel hunting.
First I thought about doing a seperate Character with a sprite overlay that I premake, but if the player takes a object, the indication will still be there.
Next envisioned another object view with the overlay to the objectsprite, that i enable when I press spacebar, but the update-function is in the global script so I can't access roomobjects, can I?

Is there any way to do this?

Liebe GrüàŸe,
KorbohneD
SMF spam blocked by CleanTalk