Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

I use it in cellar event 4 and for the spikes. Why I chose to use row events is lagging: there are parallel event to get player id and then another parallel event to check if these coordinates meet the event trigger. As result I faced an issue when the player runs he may reach the next tile after the one that should trigger (as parallel events don’t freeze the player like autorun). For example if you run into the pit on spikes location you could get one more tile forward, that is not a hole and “fall” through the floor. Can it be solved?

(3 edits)

I solved that with Move Route (Player): Wait 100 frames

Sorry for late answer.

P.S. I’m against that war too (because I’m Moldavian).

Thank you, I’ll try adding it

No problem

(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).