#is there a way to get images to display faster?

24 messages · Page 1 of 1 (latest)

viscid raft
#

Im trying to get some code working, essentally what meant to happen is the player loses and it displays 2 images in an external javaclass GUI, before waiting a delayed second then goint to a third javaclass with a diffrent gui
The problem im having is all the GUIs seem to run at once rather than one after the other. Is there any other methods or a fix for this? its a problem and it affects my entire project as a major part.
Current is what i have semi working and working is whats meant to happen when the snake game is lost.

I have also included the methods im using to change java classes

true trailBOT
#

This post has been reserved for your question.

Hey @viscid raft! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

oblique frigate
#

You could use etag

viscid raft
#

how does that work

worldly isle
# viscid raft how does that work

I have no idea what they mean about etag.
But I have also no idea what you mean. In your title you talk about displaying faster, in your details you talk about how it bothers you that "all GUIs run simultanously".
We can't read mind. Explain your issue in one, self-consistent way that makes it so other people understand you. That's not something that someone who tries to program videogames should need to be explained, way too obvious to such a person.

viscid raft
#

check the videos, all the guis run at once but should be running seperatly

worldly isle
#

Don't tell me to redo what I've done, besides your videos do not expose anything clearly. I'm sure you spent efforts doing them but that was in vain, they serve no purpose.
So do better and explain the situation correctly

viscid raft
#

one video shows what's meant to happen and one shows what happens now. On the video thats working it all runs fine and one after the other and the one where it doesn't work shows, ya know, the spefic problem, where every gui displays at once. Did you actually watch the videos?

worldly isle
#

I did and they're not even labeled. Not your fault that they're not labeled but you chose to put them that way in discord, so, uh

#

There is also nothing obvious about these videos despite, yeah, I guess they aren't the same

viscid raft
#

if u want to see the lables just open them on a webpage

worldly isle
#

I hope you meant download them

viscid raft
#

but you gotta see the issue between the loading times on the gui compared with both videos tho?

#

doesnt download them for me

worldly isle
#

No, it's all random. You're imagining that there is something to see, I already told you people can't read mind, and only someone in your mind can see anything from that.
Anyway, you explained that you have an issue with the fact that some stuff run all at the same time.
But why is your title about how to display images faster?

viscid raft
#

because it needs to display faster so its one after the other, rather than all loading at once, even adding 5 second delay to the code just made it do the same thing all at once 5 seconds later

worldly isle
#

I'm pretty sure you're following some kind of personal logic, the problem is how personal it is

#

At best you want stuff (not images) to display slower, not faster

#

And I would expect that the delay should depend on something else having finished, so it's more a problem of waiting for something rather than being slower

viscid raft
#

well its guis with images within

#

ive added delays between them but they are unaffected

#

unless i run the image gui javaclass on its own and not being ran from a class before it

worldly isle
#

I have the impression that you need a full revamp into the event model of GUIs, but first, I personally wouldn't have time for that, two, you didn't show any useful code, which unfortunately as a full revamp is needed is likely to be all the code as you won't be able to tell the difference, and three, you're having trouble just to communicate simple things.

This is going to be an achievement. You sure you don't want to learn to be at ease with simple things first?