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

#1
Hello, I'm looking for totally easiest to implement combat system for a beginner AGS user like me. I haven't seen any tutorials on this matter, and seen just some veeery old posts

Example sytem breakdown:

Two HP meters (opponent & player)

1. Use knife on opponent, walk to opponent, starting player turn
2. random player chance to hit (0-10),
3. apply random damage to creature (1-10),
4. automatic opponent turn,
5. random opponent chance to hit
6. apply random damage to opponent
After change to hp 0 player/opponent sprite to "dead"


Is it doable, and how difficult would be to implement it? :)

Also: are there maybe any code fragments free to use that could facilitate the process for the begginer? :)

Thank you in advence!




#2
Beginners' Technical Questions / Font size
Tue 07/05/2024 20:07:18
Hi, I've set game resolution to quite high, and dialogue became barely visible, is there a way to adjust the font size? (I've searched for the answer, but without luck..)
#3
Without making it too complicated, what are go-to, easy & good looking settinegs for background resolution and in game resolution to look good on modern monitors?
#4
I thought I'll make a new topic, to be less confusing.

So I've followed tutorial, made event: talk to character, and made examlpe dialogue:


Code: ags
  
[member=0][/member]S  // Dialog startup entry point
return
[member=0][/member]1
cEgo: What's up?
return
[member=0][/member]2
JC: IDK
return

+ @1 is option text "Hi"
  @2 is option text "Hello"



I think I've done everythig as in the tutorial:

(https://www.youtube.com/watch?v=-BVSvB-w2CU&list=PL21DB402CB4DAEAEF&index=32&ab_channel=densming)

however I'm recieving only a message "Got nothing to say" when clicking JC character

#5
Beginners' Technical Questions / Parse error
Fri 26/04/2024 11:56:22
Hi! I'm trying to play a sound, I've imported it to: Audio/Sounds and I've added to room script line:


Code: ags
// room script file

aSound1.Play();

function hLadder_AnyClick(Hotspot *theHotspot, CursorMode mode)
{
cEgo.Say("These are falling apart..shame..");
}

function hHotspot2_AnyClick(Hotspot *theHotspot, CursorMode mode)
{
cEgo.Say("Some old mining machinery. Dead since ages");
}

function oObject0_Look(Object *theObject, CursorMode mode)
{
cEgo.Say("What's that?");
}


(I've pasted whole room code)

Hovever I'm recieving an Parse error: unexpected 'aSound1' line 3

What am I doing wrong? :/


#6
Hi, new user here 🙂
Could you tell me how to resize player character? It's way too small after I've changed background image (it's higher res than starting template image) Thanks!
SMF spam blocked by CleanTalk