Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(4 edits)

and yeah sometimes easier to use

@> IF : Script : $gamePlayer.regionId() == 1

than

@> Variable : 0001 PX = Player’s X

@> Variable : 0002 PY = Player’s Y

@> Get cell info: 0003 PR, Region ID ({PX}, {PY})

@> IF : PR = 1

Also it works instead of player touch events, but is there a better solutions for several action button events? (Aside from the facts they usually should have an image which requires event for each one)

What do you mean?

For example entrance to the cave with three events with stars. Can it be made in a more fancy way?

(1 edit)

When I listed events you made as row of sparks I thought about making graphics which will be same as sparks row. For example 3 sparks in a vertical row. And graphics 144x48 for each sprite.

(5 edits)

And press button with

@> If Button X Press
@> Loop
@> . If Putton X Press
@> . .
@> . Else
@> . . Break Loop
@> . End
@> . Wait : 1 Frame(s)
@> End

Loop needed for not lauch dialogue again after pressing Z button

Also I’m going to make animations through the looped parallel event (all animation frames are shown as pictures one after another after a few frames wait), as the scripts for playing videos weren’t working for iOS. What I don’t like is the size of wait time between each image can be 3-4-5 frames only, which means the amount of frames in animation can be 20-15-12 per second only.

Maybe you have a more fancy idea?

(5 edits)

I checked one method for showing images.

It can sounds hard but it works.

I just used Move Route for animating image, and prepared image before animating.

In my example 3FPS animation (It can be faster)

Demonstrated in empty project

My idea is close to it, but I used loop with conditional branch in the end of it with break loop. So when the trigger in dialogue turns on the animation isn’t breaking immediately but plays till the end (so the next animation can start where the first one ended and avoid tearing).

In your example the issue is the same as in mine: you use 20 wait to have 3 frames/sec, but as our animations have 15-20 frames per sec we have an issue that we can’t play 25 or 17 frames a sec for example, only 30, 20 or 15 (2, 3, 4 wait).

It works with [Wait : 1 frame(s)] too

That will mean 60 frames per second, and wait 2 will mean 30 fps. And we need 45 for example, that’s an issue

Also if you have discord you can send a friend request there, and move away the discussion from public comments page