Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Bindings - other languages
»
Java
»
Update window?
Print
Pages: [
1
]
Author
Topic: Update window? (Read 8528 times)
0 Members and 1 Guest are viewing this topic.
white2demon
Newbie
Posts: 5
Update window?
«
on:
January 22, 2015, 07:50:55 pm »
How to update the window in JSFML???
Logged
Hapax
Hero Member
Posts: 3379
My number of posts is shown in hexadecimal.
Re: Update window?
«
Reply #1 on:
January 22, 2015, 10:05:40 pm »
https://github.com/pdinklag/JSFML/wiki/Windows
I found this thanks to the liesard's reply to
your other message
which suggested that you should try to figure things out for yourself. Therefore, I don't think anything more specific should be needed.
Logged
Selba Ward
-SFML drawables
Cheese Map
-Drawable Layered Tile Map
Kairos
-Timing Library
Grambol
*
Hapaxia Links
*
Jesper Juhl
Hero Member
Posts: 1405
Re: Update window?
«
Reply #2 on:
January 23, 2015, 01:19:10 pm »
I have rarely seen posts where this document has been more relevant:
How To Ask Questions The Smart Way
.
Please read it in full - twice.
Logged
white2demon
Newbie
Posts: 5
Re: Update window?
«
Reply #3 on:
January 23, 2015, 03:21:14 pm »
If I write here , so I don't understand? (I apologize in advance , I am Russian and have problems with English). Could you give the code exactly? It is necessary to redraw the window. As add new objects
Logged
Hapax
Hero Member
Posts: 3379
My number of posts is shown in hexadecimal.
Re: Update window?
«
Reply #4 on:
January 23, 2015, 10:36:18 pm »
Sorry. I don't Java.
Logged
Selba Ward
-SFML drawables
Cheese Map
-Drawable Layered Tile Map
Kairos
-Timing Library
Grambol
*
Hapaxia Links
*
white2demon
Newbie
Posts: 5
Re: Update window?
«
Reply #5 on:
January 24, 2015, 05:14:28 pm »
How to redraw the Window? (Repaint)
Logged
math1992
Jr. Member
Posts: 77
Re: Update window?
«
Reply #6 on:
January 24, 2015, 06:22:26 pm »
Simply use the link Hapax gave you:
//Fill the window with red
window.
clear
(
Color
.
RED
)
;
//Display (Redraw the window)
window.
display
(
)
;
Logged
liesard
Newbie
Posts: 8
Re: Update window?
«
Reply #7 on:
January 26, 2015, 12:27:21 am »
Also, you can totally check out this thing that I wrote:
https://liesard.wordpress.com/2015/01/11/basic-jsfml-setup/
(Shameless self-promotion, I know
)
Just keep in mind that the forum is not here to teach you how to program, but rather to solve problems specific to your need. For example, gravity and collision in a game. Something like that.
Logged
Print
Pages: [
1
]
SFML community forums
»
Bindings - other languages
»
Java
»
Update window?