TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rick van Leeuwen
NA
37
14.4k
Simple highscore
Oct 26 2011 5:03 PM
Hello,
i have a simple pong game.
i inserted a counting which does +1 when the ball hits the paddle. and i show this on screen. this works
i also already have code that exits the game when the ball misses the paddle
But now i want to save highscore.
This is precisely what i want:
- when game is over, save highscore
- only overwrite it when it's higher than the previous
- load it when game starts
just very simple, only a number. No table or best 10 or something, just 1 number that only overwrites when its higher the the previous.
thanks in advance
Rick
Reply
Answers (
7
)
Vector at bottom right of screen (error)
Need help to a Minecraft/ java execute program